public static final class AttachedResource.Builder extends GeneratedMessageV3.Builder<AttachedResource.Builder> implements AttachedResourceOrBuilder
Attached resource representation, which is defined by the corresponding service provider. It represents an attached resource's payload.Protobuf type
google.cloud.asset.v1.AttachedResource
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AttachedResource build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AttachedResource buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AttachedResource.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AttachedResource.Builder>
public AttachedResource.Builder mergeFrom(AttachedResource other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public AttachedResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AttachedResource.Builder>
IOException
public String getAssetType()
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
getAssetType
in interface AttachedResourceOrBuilder
public ByteString getAssetTypeBytes()
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
getAssetTypeBytes
in interface AttachedResourceOrBuilder
public AttachedResource.Builder setAssetType(String value)
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
value
- The assetType to set.public AttachedResource.Builder clearAssetType()
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
public AttachedResource.Builder setAssetTypeBytes(ByteString value)
The type of this attached resource. Example: `osconfig.googleapis.com/Inventory` You can find the supported attached asset types of each resource in this table: `https://cloud.google.com/asset-inventory/docs/supported-asset-types#searchable_asset_types`
string asset_type = 1;
value
- The bytes for assetType to set.public List<VersionedResource> getVersionedResourcesList()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
getVersionedResourcesList
in interface AttachedResourceOrBuilder
public int getVersionedResourcesCount()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
getVersionedResourcesCount
in interface AttachedResourceOrBuilder
public VersionedResource getVersionedResources(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
getVersionedResources
in interface AttachedResourceOrBuilder
public AttachedResource.Builder setVersionedResources(int index, VersionedResource value)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder setVersionedResources(int index, VersionedResource.Builder builderForValue)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder addVersionedResources(VersionedResource value)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder addVersionedResources(int index, VersionedResource value)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder addVersionedResources(VersionedResource.Builder builderForValue)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder addVersionedResources(int index, VersionedResource.Builder builderForValue)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder addAllVersionedResources(Iterable<? extends VersionedResource> values)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder clearVersionedResources()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public AttachedResource.Builder removeVersionedResources(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public VersionedResource.Builder getVersionedResourcesBuilder(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public VersionedResourceOrBuilder getVersionedResourcesOrBuilder(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
getVersionedResourcesOrBuilder
in interface AttachedResourceOrBuilder
public List<? extends VersionedResourceOrBuilder> getVersionedResourcesOrBuilderList()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
getVersionedResourcesOrBuilderList
in interface AttachedResourceOrBuilder
public VersionedResource.Builder addVersionedResourcesBuilder()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public VersionedResource.Builder addVersionedResourcesBuilder(int index)
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public List<VersionedResource.Builder> getVersionedResourcesBuilderList()
Versioned resource representations of this attached resource. This is repeated because there could be multiple versions of the attached resource representations during version migration.
repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
public final AttachedResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
public final AttachedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AttachedResource.Builder>
Copyright © 2022 Google LLC. All rights reserved.