Interface AssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset,Asset.Builder
@Generated
public interface AssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsAttributes(String key) Generic asset attributes.booleancontainsLabels(String key) Labels as key value pairs.getAssignedGroups(int index) Output only.com.google.protobuf.ByteStringgetAssignedGroupsBytes(int index) Output only.intOutput only.Output only.Deprecated.intGeneric asset attributes.Generic asset attributes.getAttributesOrDefault(String key, String defaultValue) Generic asset attributes.Generic asset attributes.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.Output only.Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.getSources(int index) Output only.com.google.protobuf.ByteStringgetSourcesBytes(int index) Output only.intOutput only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The full name of the asset.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The timestamp when the asset was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The timestamp when the asset was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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]; -
getLabelsCount
int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 4; -
containsLabels
Labels as key value pairs.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 4; -
getAttributesCount
int getAttributesCount()Generic asset attributes.
map<string, string> attributes = 5; -
containsAttributes
Generic asset attributes.
map<string, string> attributes = 5; -
getAttributes
Deprecated.UsegetAttributesMap()instead. -
getAttributesMap
Generic asset attributes.
map<string, string> attributes = 5; -
getAttributesOrDefault
Generic asset attributes.
map<string, string> attributes = 5; -
getAttributesOrThrow
Generic asset attributes.
map<string, string> attributes = 5; -
hasMachineDetails
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];- Returns:
- Whether the machineDetails field is set.
-
getMachineDetails
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];- Returns:
- The machineDetails.
-
getMachineDetailsOrBuilder
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]; -
hasInsightList
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];- Returns:
- Whether the insightList field is set.
-
getInsightList
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];- Returns:
- The insightList.
-
getInsightListOrBuilder
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]; -
hasPerformanceData
boolean hasPerformanceData()Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the performanceData field is set.
-
getPerformanceData
AssetPerformanceData getPerformanceData()Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The performanceData.
-
getPerformanceDataOrBuilder
AssetPerformanceDataOrBuilder getPerformanceDataOrBuilder()Output only. Performance data for the asset.
.google.cloud.migrationcenter.v1.AssetPerformanceData performance_data = 21 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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) = { ... }- Returns:
- A list containing the sources.
-
getSourcesCount
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) = { ... }- Returns:
- The count of sources.
-
getSources
Output only. The list of sources contributing to the asset.
repeated string sources = 22 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The sources at the given index.
-
getSourcesBytes
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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sources at the given index.
-
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) = { ... }- Returns:
- A list containing the assignedGroups.
-
getAssignedGroupsCount
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) = { ... }- Returns:
- The count of assignedGroups.
-
getAssignedGroups
Output only. The list of groups that the asset is assigned to.
repeated string assigned_groups = 23 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
index- The index of the element to return.- Returns:
- The assignedGroups at the given index.
-
getAssignedGroupsBytes
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) = { ... }- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the assignedGroups at the given index.
-
getAssetDetailsCase
Asset.AssetDetailsCase getAssetDetailsCase()
-