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.Builder
addAllAssignedGroups(Iterable<String> values)
Output only.Asset.Builder
addAllSources(Iterable<String> values)
Output only.Asset.Builder
addAssignedGroups(String value)
Output only.Asset.Builder
addAssignedGroupsBytes(com.google.protobuf.ByteString value)
Output only.Asset.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Asset.Builder
addSources(String value)
Output only.Asset.Builder
addSourcesBytes(com.google.protobuf.ByteString value)
Output only.Asset
build()
Asset
buildPartial()
Asset.Builder
clear()
Asset.Builder
clearAssetDetails()
Asset.Builder
clearAssignedGroups()
Output only.Asset.Builder
clearAttributes()
Asset.Builder
clearCreateTime()
Output only.Asset.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Asset.Builder
clearInsightList()
Output only.Asset.Builder
clearLabels()
Asset.Builder
clearMachineDetails()
Output only.Asset.Builder
clearName()
Output only.Asset.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Asset.Builder
clearPerformanceData()
Output only.Asset.Builder
clearSources()
Output only.Asset.Builder
clearUpdateTime()
Output only.Asset.Builder
clone()
boolean
containsAttributes(String key)
Generic asset attributes.boolean
containsLabels(String key)
Labels as key value pairs.Asset.AssetDetailsCase
getAssetDetailsCase()
String
getAssignedGroups(int index)
Output only.com.google.protobuf.ByteString
getAssignedGroupsBytes(int index)
Output only.int
getAssignedGroupsCount()
Output only.com.google.protobuf.ProtocolStringList
getAssignedGroupsList()
Output only.Map<String,String>
getAttributes()
Deprecated.int
getAttributesCount()
Generic asset attributes.Map<String,String>
getAttributesMap()
Generic asset attributes.String
getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.String
getAttributesOrThrow(String key)
Generic asset attributes.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Asset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
InsightList
getInsightList()
Output only.InsightList.Builder
getInsightListBuilder()
Output only.InsightListOrBuilder
getInsightListOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairs.Map<String,String>
getLabelsMap()
Labels as key value pairs.String
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.String
getLabelsOrThrow(String key)
Labels as key value pairs.MachineDetails
getMachineDetails()
Output only.MachineDetails.Builder
getMachineDetailsBuilder()
Output only.MachineDetailsOrBuilder
getMachineDetailsOrBuilder()
Output only.Map<String,String>
getMutableAttributes()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.AssetPerformanceData
getPerformanceData()
Output only.AssetPerformanceData.Builder
getPerformanceDataBuilder()
Output only.AssetPerformanceDataOrBuilder
getPerformanceDataOrBuilder()
Output only.String
getSources(int index)
Output only.com.google.protobuf.ByteString
getSourcesBytes(int index)
Output only.int
getSourcesCount()
Output only.com.google.protobuf.ProtocolStringList
getSourcesList()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasInsightList()
Output only.boolean
hasMachineDetails()
Output only.boolean
hasPerformanceData()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Asset.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Asset.Builder
mergeFrom(Asset other)
Asset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Asset.Builder
mergeFrom(com.google.protobuf.Message other)
Asset.Builder
mergeInsightList(InsightList value)
Output only.Asset.Builder
mergeMachineDetails(MachineDetails value)
Output only.Asset.Builder
mergePerformanceData(AssetPerformanceData value)
Output only.Asset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Asset.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Asset.Builder
putAllAttributes(Map<String,String> values)
Generic asset attributes.Asset.Builder
putAllLabels(Map<String,String> values)
Labels as key value pairs.Asset.Builder
putAttributes(String key, String value)
Generic asset attributes.Asset.Builder
putLabels(String key, String value)
Labels as key value pairs.Asset.Builder
removeAttributes(String key)
Generic asset attributes.Asset.Builder
removeLabels(String key)
Labels as key value pairs.Asset.Builder
setAssignedGroups(int index, String value)
Output only.Asset.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Asset.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Asset.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Asset.Builder
setInsightList(InsightList value)
Output only.Asset.Builder
setInsightList(InsightList.Builder builderForValue)
Output only.Asset.Builder
setMachineDetails(MachineDetails value)
Output only.Asset.Builder
setMachineDetails(MachineDetails.Builder builderForValue)
Output only.Asset.Builder
setName(String value)
Output only.Asset.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Asset.Builder
setPerformanceData(AssetPerformanceData value)
Output only.Asset.Builder
setPerformanceData(AssetPerformanceData.Builder builderForValue)
Output only.Asset.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Asset.Builder
setSources(int index, String value)
Output only.Asset.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Asset.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Asset.Builder
setUpdateTime(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clear
public Asset.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
getDefaultInstanceForType
public Asset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Asset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Asset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Asset.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setField
public Asset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearField
public Asset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
clearOneof
public Asset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
setRepeatedField
public Asset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
addRepeatedField
public Asset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
-
mergeFrom
public Asset.Builder mergeFrom(Asset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Asset.Builder>
- Throws:
IOException
-
getAssetDetailsCase
public Asset.AssetDetailsCase getAssetDetailsCase()
- Specified by:
getAssetDetailsCase
in 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:
getName
in 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:
getNameBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceAssetOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:AssetOrBuilder
Labels as key value pairs.
map<string, string> labels = 4;
- Specified by:
getLabelsCount
in interfaceAssetOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;
- Specified by:
containsLabels
in interfaceAssetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAssetOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;
- Specified by:
getLabelsMap
in interfaceAssetOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;
- Specified by:
getLabelsOrDefault
in interfaceAssetOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;
- Specified by:
getLabelsOrThrow
in 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:AssetOrBuilder
Generic asset attributes.
map<string, string> attributes = 5;
- Specified by:
getAttributesCount
in interfaceAssetOrBuilder
-
containsAttributes
public boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 5;
- Specified by:
containsAttributes
in interfaceAssetOrBuilder
-
getAttributes
@Deprecated public Map<String,String> getAttributes()
Deprecated.UsegetAttributesMap()
instead.- Specified by:
getAttributes
in interfaceAssetOrBuilder
-
getAttributesMap
public Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 5;
- Specified by:
getAttributesMap
in interfaceAssetOrBuilder
-
getAttributesOrDefault
public String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 5;
- Specified by:
getAttributesOrDefault
in interfaceAssetOrBuilder
-
getAttributesOrThrow
public String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 5;
- Specified by:
getAttributesOrThrow
in 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:
hasMachineDetails
in 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:
getMachineDetails
in 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:
getMachineDetailsOrBuilder
in 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:
hasInsightList
in 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:
getInsightList
in 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:
getInsightListOrBuilder
in 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:
hasPerformanceData
in 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:
getPerformanceData
in 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:
getPerformanceDataOrBuilder
in 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:
getSourcesList
in 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:
getSourcesCount
in 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:
getSources
in 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:
getSourcesBytes
in 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:
getAssignedGroupsList
in 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:
getAssignedGroupsCount
in 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:
getAssignedGroups
in 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:
getAssignedGroupsBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
mergeUnknownFields
public final Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>
-
-