Class Asset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
com.google.cloud.migrationcenter.v1.Asset.Builder
- All Implemented Interfaces:
AssetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Asset
public static final class Asset.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
implements AssetOrBuilder
An asset represents a resource in your environment. Asset types include virtual machines and databases.Protobuf type
google.cloud.migrationcenter.v1.Asset-
Method Summary
Modifier and TypeMethodDescriptionaddAllAssignedGroups(Iterable<String> values) Output only.addAllSources(Iterable<String> values) Output only.addAssignedGroups(String value) Output only.addAssignedGroupsBytes(com.google.protobuf.ByteString value) Output only.addSources(String value) Output only.addSourcesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.booleancontainsAttributes(String key) Generic asset attributes.booleancontainsLabels(String key) Labels as key value pairs.getAssignedGroups(int index) Output only.com.google.protobuf.ByteStringgetAssignedGroupsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Deprecated.intGeneric asset attributes.Generic asset attributes.getAttributesOrDefault(String key, String defaultValue) Generic asset attributes.Generic asset attributes.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Output only.Output only.Output only.Deprecated.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.getSources(int index) Output only.com.google.protobuf.ByteStringgetSourcesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInsightList(InsightList value) Output only.Output only.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllAttributes(Map<String, String> values) Generic asset attributes.putAllLabels(Map<String, String> values) Labels as key value pairs.putAttributes(String key, String value) Generic asset attributes.Labels as key value pairs.removeAttributes(String key) Generic asset attributes.removeLabels(String key) Labels as key value pairs.setAssignedGroups(int index, String value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setInsightList(InsightList value) Output only.setInsightList(InsightList.Builder builderForValue) Output only.setMachineDetails(MachineDetails value) Output only.setMachineDetails(MachineDetails.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setPerformanceData(AssetPerformanceData.Builder builderForValue) Output only.setSources(int index, String value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>- Throws:
IOException
-
getAssetDetailsCase
- Specified by:
getAssetDetailsCasein interfaceAssetOrBuilder
-
clearAssetDetails
-
getName
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceAssetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceAssetOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceAssetOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceAssetOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceAssetOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceAssetOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceAssetOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceAssetOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:AssetOrBuilderLabels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsCountin interfaceAssetOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceAssetOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceAssetOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceAssetOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceAssetOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceAssetOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs.
map<string, string> labels = 4; -
putAllLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getAttributesCount
public int getAttributesCount()Description copied from interface:AssetOrBuilderGeneric asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesCountin interfaceAssetOrBuilder
-
containsAttributes
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
containsAttributesin interfaceAssetOrBuilder
-
getAttributes
Deprecated.UsegetAttributesMap()instead.- Specified by:
getAttributesin interfaceAssetOrBuilder
-
getAttributesMap
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesMapin interfaceAssetOrBuilder
-
getAttributesOrDefault
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesOrDefaultin interfaceAssetOrBuilder
-
getAttributesOrThrow
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesOrThrowin interfaceAssetOrBuilder
-
clearAttributes
-
removeAttributes
Generic asset attributes.
map<string, string> attributes = 5; -
getMutableAttributes
Deprecated.Use alternate mutation accessors instead. -
putAttributes
Generic asset attributes.
map<string, string> attributes = 5; -
putAllAttributes
Generic asset attributes.
map<string, string> attributes = 5; -
hasMachineDetails
public boolean hasMachineDetails()Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMachineDetailsin interfaceAssetOrBuilder- Returns:
- Whether the machineDetails field is set.
-
getMachineDetails
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMachineDetailsin interfaceAssetOrBuilder- Returns:
- The machineDetails.
-
setMachineDetails
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setMachineDetails
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeMachineDetails
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearMachineDetails
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineDetailsBuilder
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMachineDetailsOrBuilder
Output only. Asset information specific for virtual and physical machines.
.google.cloud.migrationcenter.v1.MachineDetails machine_details = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMachineDetailsOrBuilderin interfaceAssetOrBuilder
-
hasInsightList
public boolean hasInsightList()Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasInsightListin interfaceAssetOrBuilder- Returns:
- Whether the insightList field is set.
-
getInsightList
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInsightListin interfaceAssetOrBuilder- Returns:
- The insightList.
-
setInsightList
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setInsightList
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeInsightList
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearInsightList
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInsightListBuilder
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInsightListOrBuilder
Output only. The list of insights associated with the asset.
.google.cloud.migrationcenter.v1.InsightList insight_list = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInsightListOrBuilderin interfaceAssetOrBuilder
-
hasPerformanceData
public boolean hasPerformanceData()Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPerformanceDatain interfaceAssetOrBuilder- Returns:
- Whether the performanceData field is set.
-
getPerformanceData
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceDatain interfaceAssetOrBuilder- Returns:
- The performanceData.
-
setPerformanceData
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPerformanceData
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergePerformanceData
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearPerformanceData
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPerformanceDataBuilder
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPerformanceDataOrBuilder
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceDataOrBuilderin interfaceAssetOrBuilder
-
getSourcesList
public com.google.protobuf.ProtocolStringList getSourcesList()Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getSourcesListin interfaceAssetOrBuilder- Returns:
- A list containing the sources.
-
getSourcesCount
public int getSourcesCount()Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getSourcesCountin interfaceAssetOrBuilder- Returns:
- The count of sources.
-
getSources
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getSourcesin interfaceAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sources at the given index.
-
getSourcesBytes
public com.google.protobuf.ByteString getSourcesBytes(int index) Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getSourcesBytesin interfaceAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sources at the given index.
-
setSources
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The sources to set.- Returns:
- This builder for chaining.
-
addSources
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The sources to add.- Returns:
- This builder for chaining.
-
addAllSources
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The sources to add.- Returns:
- This builder for chaining.
-
clearSources
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addSourcesBytes
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the sources to add.- Returns:
- This builder for chaining.
-
getAssignedGroupsList
public com.google.protobuf.ProtocolStringList getAssignedGroupsList()Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAssignedGroupsListin interfaceAssetOrBuilder- Returns:
- A list containing the assignedGroups.
-
getAssignedGroupsCount
public int getAssignedGroupsCount()Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAssignedGroupsCountin interfaceAssetOrBuilder- Returns:
- The count of assignedGroups.
-
getAssignedGroups
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAssignedGroupsin interfaceAssetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The assignedGroups at the given index.
-
getAssignedGroupsBytes
public com.google.protobuf.ByteString getAssignedGroupsBytes(int index) Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getAssignedGroupsBytesin interfaceAssetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the assignedGroups at the given index.
-
setAssignedGroups
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The assignedGroups to set.- Returns:
- This builder for chaining.
-
addAssignedGroups
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The assignedGroups to add.- Returns:
- This builder for chaining.
-
addAllAssignedGroups
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
values- The assignedGroups to add.- Returns:
- This builder for chaining.
-
clearAssignedGroups
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addAssignedGroupsBytes
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the assignedGroups to add.- Returns:
- This builder for chaining.
-