Class RagEmbeddingModelConfig.VertexPredictionEndpoint (3.50.0)

public static final class RagEmbeddingModelConfig.VertexPredictionEndpoint extends GeneratedMessageV3 implements RagEmbeddingModelConfig.VertexPredictionEndpointOrBuilder

Config representing a model hosted on Vertex Prediction Endpoint.

Protobuf type google.cloud.aiplatform.v1beta1.RagEmbeddingModelConfig.VertexPredictionEndpoint

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RagEmbeddingModelConfig.VertexPredictionEndpoint

Static Fields

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

MODEL_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER
Field Value
Type Description
int

MODEL_VERSION_ID_FIELD_NUMBER

public static final int MODEL_VERSION_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RagEmbeddingModelConfig.VertexPredictionEndpoint getDefaultInstance()
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint

getDescriptor()

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

newBuilder()

public static RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder newBuilder()
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder

newBuilder(RagEmbeddingModelConfig.VertexPredictionEndpoint prototype)

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

parseDelimitedFrom(InputStream input)

public static RagEmbeddingModelConfig.VertexPredictionEndpoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RagEmbeddingModelConfig.VertexPredictionEndpoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RagEmbeddingModelConfig.VertexPredictionEndpoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RagEmbeddingModelConfig.VertexPredictionEndpoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RagEmbeddingModelConfig.VertexPredictionEndpoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RagEmbeddingModelConfig.VertexPredictionEndpoint> parser()
Returns
Type Description
Parser<VertexPredictionEndpoint>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RagEmbeddingModelConfig.VertexPredictionEndpoint getDefaultInstanceForType()
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint

getEndpoint()

public String getEndpoint()

Required. The endpoint resource name. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} or projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Required. The endpoint resource name. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} or projects/{project}/locations/{location}/endpoints/{endpoint}

string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for endpoint.

getModel()

public String getModel()

Output only. The resource name of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. Pattern: projects/{project}/locations/{location}/models/{model}

string model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Output only. The resource name of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. Pattern: projects/{project}/locations/{location}/models/{model}

string model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for model.

getModelVersionId()

public String getModelVersionId()

Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model.

string model_version_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The modelVersionId.

getModelVersionIdBytes()

public ByteString getModelVersionIdBytes()

Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model.

string model_version_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for modelVersionId.

getParserForType()

public Parser<RagEmbeddingModelConfig.VertexPredictionEndpoint> getParserForType()
Returns
Type Description
Parser<VertexPredictionEndpoint>
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 RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder newBuilderForType()
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder toBuilder()
Returns
Type Description
RagEmbeddingModelConfig.VertexPredictionEndpoint.Builder

writeTo(CodedOutputStream output)

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