Send feedback
Class Profile (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class Profile extends GeneratedMessageV3 implements ProfileOrBuilder
A profile containing information about a model deployment.
Protobuf type google.cloud.gkerecommender.v1.Profile
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Profile . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Profile . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Profile . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-17 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-17 UTC."],[],[]]