Class Profile

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkerecommender.v1.Profile
All Implemented Interfaces:
ProfileOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Profile extends com.google.protobuf.GeneratedMessage implements ProfileOrBuilder
 A profile containing information about a model deployment.
 
Protobuf type google.cloud.gkerecommender.v1.Profile
See Also:
  • Field Details

    • MODEL_SERVER_INFO_FIELD_NUMBER

      public static final int MODEL_SERVER_INFO_FIELD_NUMBER
      See Also:
    • ACCELERATOR_TYPE_FIELD_NUMBER

      public static final int ACCELERATOR_TYPE_FIELD_NUMBER
      See Also:
    • TPU_TOPOLOGY_FIELD_NUMBER

      public static final int TPU_TOPOLOGY_FIELD_NUMBER
      See Also:
    • INSTANCE_TYPE_FIELD_NUMBER

      public static final int INSTANCE_TYPE_FIELD_NUMBER
      See Also:
    • RESOURCES_USED_FIELD_NUMBER

      public static final int RESOURCES_USED_FIELD_NUMBER
      See Also:
    • PERFORMANCE_STATS_FIELD_NUMBER

      public static final int PERFORMANCE_STATS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasModelServerInfo

      public boolean hasModelServerInfo()
       Output only. The model server configuration. Use
       [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find valid configurations.
       
      .google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasModelServerInfo in interface ProfileOrBuilder
      Returns:
      Whether the modelServerInfo field is set.
    • getModelServerInfo

      public ModelServerInfo getModelServerInfo()
       Output only. The model server configuration. Use
       [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find valid configurations.
       
      .google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModelServerInfo in interface ProfileOrBuilder
      Returns:
      The modelServerInfo.
    • getModelServerInfoOrBuilder

      public ModelServerInfoOrBuilder getModelServerInfoOrBuilder()
       Output only. The model server configuration. Use
       [GkeInferenceQuickstart.FetchProfiles][google.cloud.gkerecommender.v1.GkeInferenceQuickstart.FetchProfiles]
       to find valid configurations.
       
      .google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModelServerInfoOrBuilder in interface ProfileOrBuilder
    • getAcceleratorType

      public String getAcceleratorType()
       Output only. The accelerator type. Expected format: `nvidia-h100-80gb`.
       
      string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAcceleratorType in interface ProfileOrBuilder
      Returns:
      The acceleratorType.
    • getAcceleratorTypeBytes

      public com.google.protobuf.ByteString getAcceleratorTypeBytes()
       Output only. The accelerator type. Expected format: `nvidia-h100-80gb`.
       
      string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAcceleratorTypeBytes in interface ProfileOrBuilder
      Returns:
      The bytes for acceleratorType.
    • getTpuTopology

      public String getTpuTopology()
       Output only. The TPU topology (if applicable).
       
      string tpu_topology = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTpuTopology in interface ProfileOrBuilder
      Returns:
      The tpuTopology.
    • getTpuTopologyBytes

      public com.google.protobuf.ByteString getTpuTopologyBytes()
       Output only. The TPU topology (if applicable).
       
      string tpu_topology = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTpuTopologyBytes in interface ProfileOrBuilder
      Returns:
      The bytes for tpuTopology.
    • getInstanceType

      public String getInstanceType()
       Output only. The instance type. Expected format: `a2-highgpu-1g`.
       
      string instance_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstanceType in interface ProfileOrBuilder
      Returns:
      The instanceType.
    • getInstanceTypeBytes

      public com.google.protobuf.ByteString getInstanceTypeBytes()
       Output only. The instance type. Expected format: `a2-highgpu-1g`.
       
      string instance_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInstanceTypeBytes in interface ProfileOrBuilder
      Returns:
      The bytes for instanceType.
    • hasResourcesUsed

      public boolean hasResourcesUsed()
       Output only. The resources used by the model deployment.
       
      .google.cloud.gkerecommender.v1.ResourcesUsed resources_used = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasResourcesUsed in interface ProfileOrBuilder
      Returns:
      Whether the resourcesUsed field is set.
    • getResourcesUsed

      public ResourcesUsed getResourcesUsed()
       Output only. The resources used by the model deployment.
       
      .google.cloud.gkerecommender.v1.ResourcesUsed resources_used = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourcesUsed in interface ProfileOrBuilder
      Returns:
      The resourcesUsed.
    • getResourcesUsedOrBuilder

      public ResourcesUsedOrBuilder getResourcesUsedOrBuilder()
       Output only. The resources used by the model deployment.
       
      .google.cloud.gkerecommender.v1.ResourcesUsed resources_used = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourcesUsedOrBuilder in interface ProfileOrBuilder
    • getPerformanceStatsList

      public List<PerformanceStats> getPerformanceStatsList()
       Output only. The performance statistics for this profile.
       
      repeated .google.cloud.gkerecommender.v1.PerformanceStats performance_stats = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceStatsList in interface ProfileOrBuilder
    • getPerformanceStatsOrBuilderList

      public List<? extends PerformanceStatsOrBuilder> getPerformanceStatsOrBuilderList()
       Output only. The performance statistics for this profile.
       
      repeated .google.cloud.gkerecommender.v1.PerformanceStats performance_stats = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceStatsOrBuilderList in interface ProfileOrBuilder
    • getPerformanceStatsCount

      public int getPerformanceStatsCount()
       Output only. The performance statistics for this profile.
       
      repeated .google.cloud.gkerecommender.v1.PerformanceStats performance_stats = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceStatsCount in interface ProfileOrBuilder
    • getPerformanceStats

      public PerformanceStats getPerformanceStats(int index)
       Output only. The performance statistics for this profile.
       
      repeated .google.cloud.gkerecommender.v1.PerformanceStats performance_stats = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceStats in interface ProfileOrBuilder
    • getPerformanceStatsOrBuilder

      public PerformanceStatsOrBuilder getPerformanceStatsOrBuilder(int index)
       Output only. The performance statistics for this profile.
       
      repeated .google.cloud.gkerecommender.v1.PerformanceStats performance_stats = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceStatsOrBuilder in interface ProfileOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Profile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Profile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Profile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Profile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Profile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Profile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Profile parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Profile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Profile parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Profile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Profile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Profile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Profile.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Profile.Builder newBuilder()
    • newBuilder

      public static Profile.Builder newBuilder(Profile prototype)
    • toBuilder

      public Profile.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Profile.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Profile getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Profile> parser()
    • getParserForType

      public com.google.protobuf.Parser<Profile> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Profile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder