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 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

      boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() 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.
      Use getAttributesMap() 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()