Class Profile (0.1.0)

public final class Profile extends GeneratedMessageV3 implements ProfileOrBuilder

A profile containing information about a model deployment.

Protobuf type google.cloud.gkerecommender.v1.Profile

Implements

ProfileOrBuilder

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

PERFORMANCE_STATS_FIELD_NUMBER

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()
Returns
Type Description
Profile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Profile.Builder newBuilder()
Returns
Type Description
Profile.Builder

newBuilder(Profile prototype)

public static Profile.Builder newBuilder(Profile prototype)
Parameter
Name Description
prototype Profile
Returns
Type Description
Profile.Builder

parseDelimitedFrom(InputStream input)

public static Profile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Profile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Profile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Profile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Profile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Profile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Profile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Profile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Profile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Profile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Profile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Profile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Profile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Profile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Profile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Profile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Profile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Profile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Profile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Profile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Profile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Profile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Profile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Profile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Profile> parser()
Returns
Type Description
Parser<Profile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
Profile

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

Returns
Type Description
ModelServerInfo

The modelServerInfo.

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

Returns
Type Description
ModelServerInfoOrBuilder

getParserForType()

public Parser<Profile> getParserForType()
Returns
Type Description
Parser<Profile>
Overrides

getPerformanceStats(int index)

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
Returns
Type Description
PerformanceStats

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

Returns
Type Description
int

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

Returns
Type Description
List<PerformanceStats>

getPerformanceStatsOrBuilder(int index)

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
Returns
Type Description
PerformanceStatsOrBuilder

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

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

Returns
Type Description
ResourcesUsed

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

Returns
Type Description
ResourcesUsedOrBuilder

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

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Profile.Builder newBuilderForType()
Returns
Type Description
Profile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Profile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Profile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Profile.Builder toBuilder()
Returns
Type Description
Profile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException