public final class Profile extends GeneratedMessage implements ProfileOrBuilder
A profile containing information about a model deployment.
Protobuf type google.cloud.gkerecommender.v1.Profile
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACCELERATOR_TYPE_FIELD_NUMBER
public static final int ACCELERATOR_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INSTANCE_TYPE_FIELD_NUMBER
public static final int INSTANCE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MODEL_SERVER_INFO_FIELD_NUMBER
public static final int MODEL_SERVER_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PERFORMANCE_STATS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RESOURCES_USED_FIELD_NUMBER
public static final int RESOURCES_USED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TPU_TOPOLOGY_FIELD_NUMBER
public static final int TPU_TOPOLOGY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Profile getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Profile.Builder newBuilder()
newBuilder(Profile prototype)
public static Profile.Builder newBuilder(Profile prototype)
| Parameter |
| Name |
Description |
prototype |
Profile
|
public static Profile parseDelimitedFrom(InputStream input)
public static Profile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Profile parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Profile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Profile parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Profile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Profile parseFrom(CodedInputStream input)
public static Profile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Profile parseFrom(InputStream input)
public static Profile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Profile parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Profile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Profile> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAcceleratorType()
public String getAcceleratorType()
Output only. The accelerator type. Expected format: nvidia-h100-80gb.
string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The acceleratorType.
|
getAcceleratorTypeBytes()
public ByteString getAcceleratorTypeBytes()
Output only. The accelerator type. Expected format: nvidia-h100-80gb.
string accelerator_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for acceleratorType.
|
getDefaultInstanceForType()
public Profile getDefaultInstanceForType()
getInstanceType()
public String getInstanceType()
Output only. The instance type. Expected format: a2-highgpu-1g.
string instance_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The instanceType.
|
getInstanceTypeBytes()
public ByteString getInstanceTypeBytes()
Output only. The instance type. Expected format: a2-highgpu-1g.
string instance_type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for instanceType.
|
getModelServerInfo()
public ModelServerInfo getModelServerInfo()
Output only. The model server configuration. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getModelServerInfoOrBuilder()
public ModelServerInfoOrBuilder getModelServerInfoOrBuilder()
Output only. The model server configuration. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<Profile> getParserForType()
Overrides
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];
| Parameter |
| Name |
Description |
index |
int
|
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];
| Returns |
| Type |
Description |
int |
|
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];
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];
| Parameter |
| Name |
Description |
index |
int
|
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];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.gkerecommender.v1.PerformanceStatsOrBuilder> |
|
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];
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];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTpuTopology()
public String getTpuTopology()
Output only. The TPU topology (if applicable).
string tpu_topology = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The tpuTopology.
|
getTpuTopologyBytes()
public ByteString getTpuTopologyBytes()
Output only. The TPU topology (if applicable).
string tpu_topology = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for tpuTopology.
|
hasModelServerInfo()
public boolean hasModelServerInfo()
Output only. The model server configuration. Use
GkeInferenceQuickstart.FetchProfiles
to find valid configurations.
.google.cloud.gkerecommender.v1.ModelServerInfo model_server_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the modelServerInfo field is set.
|
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];
| Returns |
| Type |
Description |
boolean |
Whether the resourcesUsed field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Profile.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Profile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Profile.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides