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 type
google.cloud.migrationcenter.v1.Asset| Modifier and Type | Method and 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.Builder builderForValue)
Output only.
|
Asset.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Asset.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Asset.Builder |
setInsightList(InsightList.Builder builderForValue)
Output only.
|
Asset.Builder |
setInsightList(InsightList value)
Output only.
|
Asset.Builder |
setMachineDetails(MachineDetails.Builder builderForValue)
Output only.
|
Asset.Builder |
setMachineDetails(MachineDetails value)
Output only.
|
Asset.Builder |
setName(String value)
Output only.
|
Asset.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Asset.Builder |
setPerformanceData(AssetPerformanceData.Builder builderForValue)
Output only.
|
Asset.Builder |
setPerformanceData(AssetPerformanceData value)
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.Builder builderForValue)
Output only.
|
Asset.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Asset build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Asset buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Asset.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.Builder>public Asset.Builder mergeFrom(Asset other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public Asset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Asset.Builder>IOExceptionpublic Asset.AssetDetailsCase getAssetDetailsCase()
getAssetDetailsCase in interface AssetOrBuilderpublic Asset.Builder clearAssetDetails()
public String getName()
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AssetOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface AssetOrBuilderpublic Asset.Builder setName(String value)
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public Asset.Builder clearName()
Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];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];value - The bytes for name to set.public boolean hasCreateTime()
Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface AssetOrBuilderpublic 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];
getCreateTime in interface AssetOrBuilderpublic 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];
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];
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];
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];
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];
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];
getCreateTimeOrBuilder in interface AssetOrBuilderpublic boolean hasUpdateTime()
Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface AssetOrBuilderpublic 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];
getUpdateTime in interface AssetOrBuilderpublic 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];
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];
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];
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];
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];
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];
getUpdateTimeOrBuilder in interface AssetOrBuilderpublic int getLabelsCount()
AssetOrBuilderLabels as key value pairs.
map<string, string> labels = 4;getLabelsCount in interface AssetOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;containsLabels in interface AssetOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface AssetOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;getLabelsMap in interface AssetOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;getLabelsOrDefault in interface AssetOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;getLabelsOrThrow in interface AssetOrBuilderpublic Asset.Builder clearLabels()
public Asset.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;@Deprecated public Map<String,String> getMutableLabels()
public Asset.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 4;public Asset.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 4;public int getAttributesCount()
AssetOrBuilderGeneric asset attributes.
map<string, string> attributes = 5;getAttributesCount in interface AssetOrBuilderpublic boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 5;containsAttributes in interface AssetOrBuilder@Deprecated public Map<String,String> getAttributes()
getAttributesMap() instead.getAttributes in interface AssetOrBuilderpublic Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 5;getAttributesMap in interface AssetOrBuilderpublic String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 5;getAttributesOrDefault in interface AssetOrBuilderpublic String getAttributesOrThrow(String key)
Generic asset attributes.
map<string, string> attributes = 5;getAttributesOrThrow in interface AssetOrBuilderpublic Asset.Builder clearAttributes()
public Asset.Builder removeAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 5;@Deprecated public Map<String,String> getMutableAttributes()
public Asset.Builder putAttributes(String key, String value)
Generic asset attributes.
map<string, string> attributes = 5;public Asset.Builder putAllAttributes(Map<String,String> values)
Generic asset attributes.
map<string, string> attributes = 5;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];
hasMachineDetails in interface AssetOrBuilderpublic 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];
getMachineDetails in interface AssetOrBuilderpublic 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];
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];
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];
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];
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];
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];
getMachineDetailsOrBuilder in interface AssetOrBuilderpublic 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];
hasInsightList in interface AssetOrBuilderpublic 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];
getInsightList in interface AssetOrBuilderpublic 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];
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];
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];
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];
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];
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];
getInsightListOrBuilder in interface AssetOrBuilderpublic boolean hasPerformanceData()
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPerformanceData in interface AssetOrBuilderpublic AssetPerformanceData getPerformanceData()
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPerformanceData in interface AssetOrBuilderpublic 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];
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];
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];
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];
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];
public AssetPerformanceDataOrBuilder getPerformanceDataOrBuilder()
Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPerformanceDataOrBuilder in interface AssetOrBuilderpublic 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) = { ... }
getSourcesList in interface AssetOrBuilderpublic 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) = { ... }
getSourcesCount in interface AssetOrBuilderpublic 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) = { ... }
getSources in interface AssetOrBuilderindex - The index of the element to return.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) = { ... }
getSourcesBytes in interface AssetOrBuilderindex - The index of the value to return.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) = { ... }
index - The index to set the value at.value - The sources to set.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) = { ... }
value - The sources to add.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) = { ... }
values - The sources to add.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) = { ... }
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) = { ... }
value - The bytes of the sources to add.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) = { ... }
getAssignedGroupsList in interface AssetOrBuilderpublic 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) = { ... }
getAssignedGroupsCount in interface AssetOrBuilderpublic 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) = { ... }
getAssignedGroups in interface AssetOrBuilderindex - The index of the element to return.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) = { ... }
getAssignedGroupsBytes in interface AssetOrBuilderindex - The index of the value to return.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) = { ... }
index - The index to set the value at.value - The assignedGroups to set.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) = { ... }
value - The assignedGroups to add.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) = { ... }
values - The assignedGroups to add.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) = { ... }
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) = { ... }
value - The bytes of the assignedGroups to add.public final Asset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>public final Asset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.Builder>Copyright © 2024 Google LLC. All rights reserved.