Interface AssetOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Asset,Asset.Builder
public interface AssetOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.List<String>getAssignedGroupsList()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.TimestampOrBuildergetCreateTimeOrBuilder()Output only.InsightListgetInsightList()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.MachineDetailsOrBuildergetMachineDetailsOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.AssetPerformanceDatagetPerformanceData()Output only.AssetPerformanceDataOrBuildergetPerformanceDataOrBuilder()Output only.StringgetSources(int index)Output only.com.google.protobuf.ByteStringgetSourcesBytes(int index)Output only.intgetSourcesCount()Output only.List<String>getSourcesList()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasInsightList()Output only.booleanhasMachineDetails()Output only.booleanhasPerformanceData()Output only.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 4;
-
getAttributesCount
int getAttributesCount()
Generic asset attributes.
map<string, string> attributes = 5;
-
containsAttributes
boolean containsAttributes(String key)
Generic asset attributes.
map<string, string> attributes = 5;
-
getAttributes
@Deprecated Map<String,String> getAttributes()
Deprecated.UsegetAttributesMap()instead.
-
getAttributesMap
Map<String,String> getAttributesMap()
Generic asset attributes.
map<string, string> attributes = 5;
-
getAttributesOrDefault
String getAttributesOrDefault(String key, String defaultValue)
Generic asset attributes.
map<string, string> attributes = 5;
-
getAttributesOrThrow
String getAttributesOrThrow(String key)
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
List<String> 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
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) = { ... }- 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
List<String> 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
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) = { ... }- 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()
-
-