public final class Asset extends GeneratedMessageV3 implements AssetOrBuilder
An asset in Google Cloud. An asset can be any resource in the Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), a resource outside the Google Cloud resource hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.Protobuf type
google.cloud.asset.v1p7beta1.Asset
Modifier and Type | Class and Description |
---|---|
static class |
Asset.AccessContextPolicyCase |
static class |
Asset.Builder
An asset in Google Cloud.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_LEVEL_FIELD_NUMBER |
static int |
ACCESS_POLICY_FIELD_NUMBER |
static int |
ANCESTORS_FIELD_NUMBER |
static int |
ASSET_TYPE_FIELD_NUMBER |
static int |
IAM_POLICY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
ORG_POLICY_FIELD_NUMBER |
static int |
RELATED_ASSETS_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
SERVICE_PERIMETER_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Asset.AccessContextPolicyCase |
getAccessContextPolicyCase() |
com.google.identity.accesscontextmanager.v1.AccessLevel |
getAccessLevel()
Please also refer to the [access level user
guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
|
com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder |
getAccessLevelOrBuilder()
Please also refer to the [access level user
guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
|
com.google.identity.accesscontextmanager.v1.AccessPolicy |
getAccessPolicy()
Please also refer to the [access policy user
guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
|
com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder |
getAccessPolicyOrBuilder()
Please also refer to the [access policy user
guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
|
String |
getAncestors(int index)
The ancestry path of an asset in Google Cloud [resource
hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
represented as a list of relative resource names.
|
ByteString |
getAncestorsBytes(int index)
The ancestry path of an asset in Google Cloud [resource
hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
represented as a list of relative resource names.
|
int |
getAncestorsCount()
The ancestry path of an asset in Google Cloud [resource
hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
represented as a list of relative resource names.
|
ProtocolStringList |
getAncestorsList()
The ancestry path of an asset in Google Cloud [resource
hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
represented as a list of relative resource names.
|
String |
getAssetType()
The type of the asset.
|
ByteString |
getAssetTypeBytes()
The type of the asset.
|
static Asset |
getDefaultInstance() |
Asset |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
com.google.iam.v1.Policy |
getIamPolicy()
A representation of the Cloud IAM policy set on a Google Cloud resource.
|
com.google.iam.v1.PolicyOrBuilder |
getIamPolicyOrBuilder()
A representation of the Cloud IAM policy set on a Google Cloud resource.
|
String |
getName()
The full name of the asset.
|
ByteString |
getNameBytes()
The full name of the asset.
|
com.google.cloud.orgpolicy.v1.Policy |
getOrgPolicy(int index)
A representation of an [organization
policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
|
int |
getOrgPolicyCount()
A representation of an [organization
policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
|
List<com.google.cloud.orgpolicy.v1.Policy> |
getOrgPolicyList()
A representation of an [organization
policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
|
com.google.cloud.orgpolicy.v1.PolicyOrBuilder |
getOrgPolicyOrBuilder(int index)
A representation of an [organization
policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
|
List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder> |
getOrgPolicyOrBuilderList()
A representation of an [organization
policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
|
Parser<Asset> |
getParserForType() |
RelatedAssets |
getRelatedAssets()
The related assets of the asset of one relationship type.
|
RelatedAssetsOrBuilder |
getRelatedAssetsOrBuilder()
The related assets of the asset of one relationship type.
|
Resource |
getResource()
A representation of the resource.
|
ResourceOrBuilder |
getResourceOrBuilder()
A representation of the resource.
|
int |
getSerializedSize() |
com.google.identity.accesscontextmanager.v1.ServicePerimeter |
getServicePerimeter()
Please also refer to the [service perimeter user
guide](https://cloud.google.com/vpc-service-controls/docs/overview).
|
com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder |
getServicePerimeterOrBuilder()
Please also refer to the [service perimeter user
guide](https://cloud.google.com/vpc-service-controls/docs/overview).
|
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getUpdateTime()
The last update timestamp of an asset.
|
TimestampOrBuilder |
getUpdateTimeOrBuilder()
The last update timestamp of an asset.
|
boolean |
hasAccessLevel()
Please also refer to the [access level user
guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
|
boolean |
hasAccessPolicy()
Please also refer to the [access policy user
guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
|
int |
hashCode() |
boolean |
hasIamPolicy()
A representation of the Cloud IAM policy set on a Google Cloud resource.
|
boolean |
hasRelatedAssets()
The related assets of the asset of one relationship type.
|
boolean |
hasResource()
A representation of the resource.
|
boolean |
hasServicePerimeter()
Please also refer to the [service perimeter user
guide](https://cloud.google.com/vpc-service-controls/docs/overview).
|
boolean |
hasUpdateTime()
The last update timestamp of an asset.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Asset.Builder |
newBuilder() |
static Asset.Builder |
newBuilder(Asset prototype) |
Asset.Builder |
newBuilderForType() |
protected Asset.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Asset |
parseDelimitedFrom(InputStream input) |
static Asset |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(byte[] data) |
static Asset |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(ByteBuffer data) |
static Asset |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(ByteString data) |
static Asset |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(CodedInputStream input) |
static Asset |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Asset |
parseFrom(InputStream input) |
static Asset |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Asset> |
parser() |
Asset.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int ASSET_TYPE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
public static final int IAM_POLICY_FIELD_NUMBER
public static final int ORG_POLICY_FIELD_NUMBER
public static final int ACCESS_POLICY_FIELD_NUMBER
public static final int ACCESS_LEVEL_FIELD_NUMBER
public static final int SERVICE_PERIMETER_FIELD_NUMBER
public static final int RELATED_ASSETS_FIELD_NUMBER
public static final int ANCESTORS_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Asset.AccessContextPolicyCase getAccessContextPolicyCase()
getAccessContextPolicyCase
in interface AssetOrBuilder
public boolean hasUpdateTime()
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11;
hasUpdateTime
in interface AssetOrBuilder
public Timestamp getUpdateTime()
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11;
getUpdateTime
in interface AssetOrBuilder
public TimestampOrBuilder getUpdateTimeOrBuilder()
The last update timestamp of an asset. update_time is updated when create/update/delete operation is performed.
.google.protobuf.Timestamp update_time = 11;
getUpdateTimeOrBuilder
in interface AssetOrBuilder
public String getName()
The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
getName
in interface AssetOrBuilder
public ByteString getNameBytes()
The full name of the asset. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.
string name = 1;
getNameBytes
in interface AssetOrBuilder
public String getAssetType()
The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;
getAssetType
in interface AssetOrBuilder
public ByteString getAssetTypeBytes()
The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.
string asset_type = 2;
getAssetTypeBytes
in interface AssetOrBuilder
public boolean hasResource()
A representation of the resource.
.google.cloud.asset.v1p7beta1.Resource resource = 3;
hasResource
in interface AssetOrBuilder
public Resource getResource()
A representation of the resource.
.google.cloud.asset.v1p7beta1.Resource resource = 3;
getResource
in interface AssetOrBuilder
public ResourceOrBuilder getResourceOrBuilder()
A representation of the resource.
.google.cloud.asset.v1p7beta1.Resource resource = 3;
getResourceOrBuilder
in interface AssetOrBuilder
public boolean hasIamPolicy()
A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/docs/policies#inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4;
hasIamPolicy
in interface AssetOrBuilder
public com.google.iam.v1.Policy getIamPolicy()
A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/docs/policies#inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4;
getIamPolicy
in interface AssetOrBuilder
public com.google.iam.v1.PolicyOrBuilder getIamPolicyOrBuilder()
A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies inherit their granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/docs/policies#inheritance) for more information.
.google.iam.v1.Policy iam_policy = 4;
getIamPolicyOrBuilder
in interface AssetOrBuilder
public List<com.google.cloud.orgpolicy.v1.Policy> getOrgPolicyList()
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
getOrgPolicyList
in interface AssetOrBuilder
public List<? extends com.google.cloud.orgpolicy.v1.PolicyOrBuilder> getOrgPolicyOrBuilderList()
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
getOrgPolicyOrBuilderList
in interface AssetOrBuilder
public int getOrgPolicyCount()
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
getOrgPolicyCount
in interface AssetOrBuilder
public com.google.cloud.orgpolicy.v1.Policy getOrgPolicy(int index)
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
getOrgPolicy
in interface AssetOrBuilder
public com.google.cloud.orgpolicy.v1.PolicyOrBuilder getOrgPolicyOrBuilder(int index)
A representation of an [organization policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy). There can be more than one organization policy with different constraints set on a given resource.
repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
getOrgPolicyOrBuilder
in interface AssetOrBuilder
public boolean hasAccessPolicy()
Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
hasAccessPolicy
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.AccessPolicy getAccessPolicy()
Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
getAccessPolicy
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder getAccessPolicyOrBuilder()
Please also refer to the [access policy user guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
.google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
getAccessPolicyOrBuilder
in interface AssetOrBuilder
public boolean hasAccessLevel()
Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
hasAccessLevel
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.AccessLevel getAccessLevel()
Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
getAccessLevel
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.AccessLevelOrBuilder getAccessLevelOrBuilder()
Please also refer to the [access level user guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
.google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
getAccessLevelOrBuilder
in interface AssetOrBuilder
public boolean hasServicePerimeter()
Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
hasServicePerimeter
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.ServicePerimeter getServicePerimeter()
Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
getServicePerimeter
in interface AssetOrBuilder
public com.google.identity.accesscontextmanager.v1.ServicePerimeterOrBuilder getServicePerimeterOrBuilder()
Please also refer to the [service perimeter user guide](https://cloud.google.com/vpc-service-controls/docs/overview).
.google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
getServicePerimeterOrBuilder
in interface AssetOrBuilder
public boolean hasRelatedAssets()
The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
hasRelatedAssets
in interface AssetOrBuilder
public RelatedAssets getRelatedAssets()
The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
getRelatedAssets
in interface AssetOrBuilder
public RelatedAssetsOrBuilder getRelatedAssetsOrBuilder()
The related assets of the asset of one relationship type. One asset only represents one type of relationship.
.google.cloud.asset.v1p7beta1.RelatedAssets related_assets = 13;
getRelatedAssetsOrBuilder
in interface AssetOrBuilder
public ProtocolStringList getAncestorsList()
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;
getAncestorsList
in interface AssetOrBuilder
public int getAncestorsCount()
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;
getAncestorsCount
in interface AssetOrBuilder
public String getAncestors(int index)
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;
getAncestors
in interface AssetOrBuilder
index
- The index of the element to return.public ByteString getAncestorsBytes(int index)
The ancestry path of an asset in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the asset is a project, folder, or organization, the ancestry path starts from the asset itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
repeated string ancestors = 10;
getAncestorsBytes
in interface AssetOrBuilder
index
- The index of the value to return.public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Asset parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Asset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Asset parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Asset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Asset parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Asset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Asset parseFrom(InputStream input) throws IOException
IOException
public static Asset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Asset parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Asset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Asset parseFrom(CodedInputStream input) throws IOException
IOException
public static Asset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Asset.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Asset.Builder newBuilder()
public static Asset.Builder newBuilder(Asset prototype)
public Asset.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Asset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Asset getDefaultInstance()
public Parser<Asset> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Asset getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.