Class Asset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Asset.Builder> implements AssetOrBuilder
An asset represents a resource in your environment. Asset types include virtual machines and databases.
Protobuf typegoogle.cloud.migrationcenter.v1.Asset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Asset.BuilderaddAllAssignedGroups(Iterable<String> values)Output only.Asset.BuilderaddAllSources(Iterable<String> values)Output only.Asset.BuilderaddAssignedGroups(String value)Output only.Asset.BuilderaddAssignedGroupsBytes(com.google.protobuf.ByteString value)Output only.Asset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Asset.BuilderaddSources(String value)Output only.Asset.BuilderaddSourcesBytes(com.google.protobuf.ByteString value)Output only.Assetbuild()AssetbuildPartial()Asset.Builderclear()Asset.BuilderclearAssetDetails()Asset.BuilderclearAssignedGroups()Output only.Asset.BuilderclearAttributes()Asset.BuilderclearCreateTime()Output only.Asset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Asset.BuilderclearInsightList()Output only.Asset.BuilderclearLabels()Asset.BuilderclearMachineDetails()Output only.Asset.BuilderclearName()Output only.Asset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Asset.BuilderclearPerformanceData()Output only.Asset.BuilderclearSources()Output only.Asset.BuilderclearUpdateTime()Output only.Asset.Builderclone()booleancontainsAttributes(String key)Generic asset attributes.booleancontainsLabels(String key)Labels as key value pairs.Asset.AssetDetailsCasegetAssetDetailsCase()StringgetAssignedGroups(int index)Output only.com.google.protobuf.ByteStringgetAssignedGroupsBytes(int index)Output only.intgetAssignedGroupsCount()Output only.com.google.protobuf.ProtocolStringListgetAssignedGroupsList()Output only.Map<String,String>getAttributes()Deprecated.intgetAttributesCount()Generic asset attributes.Map<String,String>getAttributesMap()Generic asset attributes.StringgetAttributesOrDefault(String key, String defaultValue)Generic asset attributes.StringgetAttributesOrThrow(String key)Generic asset attributes.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.AssetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InsightListgetInsightList()Output only.InsightList.BuildergetInsightListBuilder()Output only.InsightListOrBuildergetInsightListOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairs.Map<String,String>getLabelsMap()Labels as key value pairs.StringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairs.StringgetLabelsOrThrow(String key)Labels as key value pairs.MachineDetailsgetMachineDetails()Output only.MachineDetails.BuildergetMachineDetailsBuilder()Output only.MachineDetailsOrBuildergetMachineDetailsOrBuilder()Output only.Map<String,String>getMutableAttributes()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.AssetPerformanceDatagetPerformanceData()Output only.AssetPerformanceData.BuildergetPerformanceDataBuilder()Output only.AssetPerformanceDataOrBuildergetPerformanceDataOrBuilder()Output only.StringgetSources(int index)Output only.com.google.protobuf.ByteStringgetSourcesBytes(int index)Output only.intgetSourcesCount()Output only.com.google.protobuf.ProtocolStringListgetSourcesList()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasInsightList()Output only.booleanhasMachineDetails()Output only.booleanhasPerformanceData()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Asset.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Asset.BuildermergeFrom(Asset other)Asset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Asset.BuildermergeFrom(com.google.protobuf.Message other)Asset.BuildermergeInsightList(InsightList value)Output only.Asset.BuildermergeMachineDetails(MachineDetails value)Output only.Asset.BuildermergePerformanceData(AssetPerformanceData value)Output only.Asset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Asset.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Asset.BuilderputAllAttributes(Map<String,String> values)Generic asset attributes.Asset.BuilderputAllLabels(Map<String,String> values)Labels as key value pairs.Asset.BuilderputAttributes(String key, String value)Generic asset attributes.Asset.BuilderputLabels(String key, String value)Labels as key value pairs.Asset.BuilderremoveAttributes(String key)Generic asset attributes.Asset.BuilderremoveLabels(String key)Labels as key value pairs.Asset.BuildersetAssignedGroups(int index, String value)Output only.Asset.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Asset.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Asset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Asset.BuildersetInsightList(InsightList value)Output only.Asset.BuildersetInsightList(InsightList.Builder builderForValue)Output only.Asset.BuildersetMachineDetails(MachineDetails value)Output only.Asset.BuildersetMachineDetails(MachineDetails.Builder builderForValue)Output only.Asset.BuildersetName(String value)Output only.Asset.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Asset.BuildersetPerformanceData(AssetPerformanceData value)Output only.Asset.BuildersetPerformanceData(AssetPerformanceData.Builder builderForValue)Output only.Asset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Asset.BuildersetSources(int index, String value)Output only.Asset.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Asset.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Asset.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clear
public Asset.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Asset.Builder>
-
getDefaultInstanceForType
public Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Asset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Asset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Asset.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setField
public Asset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearField
public Asset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearOneof
public Asset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setRepeatedField
public Asset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
addRepeatedField
public Asset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public Asset.AssetDetailsCase getAssetDetailsCase()
- Specified by:
getAssetDetailsCasein interfaceAssetOrBuilder
-
clearAssetDetails
public Asset.Builder clearAssetDetails()
-
getName
public String 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
public Asset.Builder setName(String value)
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
public Asset.Builder clearName()
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public Asset.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public Asset.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Asset.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Asset.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Asset.Builder 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
public Asset.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Asset.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Asset.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Asset.Builder 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
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
containsLabelsin interfaceAssetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceAssetOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsMapin interfaceAssetOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrDefaultin interfaceAssetOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;- Specified by:
getLabelsOrThrowin interfaceAssetOrBuilder
-
clearLabels
public Asset.Builder clearLabels()
-
removeLabels
public Asset.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Asset.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 4;
-
putAllLabels
public Asset.Builder putAllLabels(Map<String,String> values)
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
public boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
containsAttributesin interfaceAssetOrBuilder
-
getAttributes
@Deprecated public Map<String,String> getAttributes()
Deprecated.UsegetAttributesMap()instead.- Specified by:
getAttributesin interfaceAssetOrBuilder
-
getAttributesMap
public Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesMapin interfaceAssetOrBuilder
-
getAttributesOrDefault
public String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesOrDefaultin interfaceAssetOrBuilder
-
getAttributesOrThrow
public String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 5;- Specified by:
getAttributesOrThrowin interfaceAssetOrBuilder
-
clearAttributes
public Asset.Builder clearAttributes()
-
removeAttributes
public Asset.Builder removeAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 5;
-
getMutableAttributes
@Deprecated public Map<String,String> getMutableAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putAttributes
public Asset.Builder putAttributes(String key, String value)
Generic asset attributes.
map<string, string> attributes = 5;
-
putAllAttributes
public Asset.Builder putAllAttributes(Map<String,String> values)
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
public MachineDetails 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
public Asset.Builder setMachineDetails(MachineDetails value)
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
public Asset.Builder setMachineDetails(MachineDetails.Builder builderForValue)
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
public Asset.Builder mergeMachineDetails(MachineDetails value)
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
public Asset.Builder 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
public MachineDetails.Builder 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
public MachineDetailsOrBuilder 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
public InsightList 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
public Asset.Builder setInsightList(InsightList value)
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
public Asset.Builder setInsightList(InsightList.Builder builderForValue)
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
public Asset.Builder mergeInsightList(InsightList value)
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
public Asset.Builder 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
public InsightList.Builder 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
public InsightListOrBuilder 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
public AssetPerformanceData 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
public Asset.Builder setPerformanceData(AssetPerformanceData value)
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setPerformanceData
public Asset.Builder setPerformanceData(AssetPerformanceData.Builder builderForValue)
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergePerformanceData
public Asset.Builder mergePerformanceData(AssetPerformanceData value)
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearPerformanceData
public Asset.Builder clearPerformanceData()
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPerformanceDataBuilder
public AssetPerformanceData.Builder getPerformanceDataBuilder()
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPerformanceDataOrBuilder
public AssetPerformanceDataOrBuilder 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
public String getSources(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:
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
public Asset.Builder setSources(int index, String value)
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
public Asset.Builder addSources(String value)
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
public Asset.Builder addAllSources(Iterable<String> values)
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
public Asset.Builder 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
public Asset.Builder addSourcesBytes(com.google.protobuf.ByteString value)
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
public String getAssignedGroups(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:
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
public Asset.Builder setAssignedGroups(int index, String value)
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
public Asset.Builder addAssignedGroups(String value)
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
public Asset.Builder addAllAssignedGroups(Iterable<String> values)
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
public Asset.Builder 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
public Asset.Builder addAssignedGroupsBytes(com.google.protobuf.ByteString value)
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.
-
setUnknownFields
public final Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeUnknownFields
public final Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
-