Class RecommendSpecRequest (3.74.0)

public final class RecommendSpecRequest extends GeneratedMessageV3 implements RecommendSpecRequestOrBuilder

Request message for ModelService.RecommendSpec.

Protobuf type google.cloud.aiplatform.v1beta1.RecommendSpecRequest

Static Fields

CHECK_MACHINE_AVAILABILITY_FIELD_NUMBER

public static final int CHECK_MACHINE_AVAILABILITY_FIELD_NUMBER
Field Value
Type Description
int

CHECK_USER_QUOTA_FIELD_NUMBER

public static final int CHECK_USER_QUOTA_FIELD_NUMBER
Field Value
Type Description
int

GCS_URI_FIELD_NUMBER

public static final int GCS_URI_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecommendSpecRequest getDefaultInstance()
Returns
Type Description
RecommendSpecRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RecommendSpecRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCheckMachineAvailability()

public boolean getCheckMachineAvailability()

Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available.

bool check_machine_availability = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The checkMachineAvailability.

getCheckUserQuota()

public boolean getCheckUserQuota()

Optional. If true, check user quota for the recommended regions. Returns all the machine spec in regions they are available, and also the user quota state for each machine type in each region.

bool check_user_quota = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The checkUserQuota.

getDefaultInstanceForType()

public RecommendSpecRequest getDefaultInstanceForType()
Returns
Type Description
RecommendSpecRequest

getGcsUri()

public String getGcsUri()

Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).

string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The gcsUri.

getGcsUriBytes()

public ByteString getGcsUriBytes()

Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).

string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for gcsUri.

getParent()

public String getParent()

Required. The resource name of the Location from which to recommend specs. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the Location from which to recommend specs. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.

string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 RecommendSpecRequest.Builder newBuilderForType()
Returns
Type Description
RecommendSpecRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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