Class DeployedModelRef.Builder (3.84.0)

public static final class DeployedModelRef.Builder extends GeneratedMessage.Builder<DeployedModelRef.Builder> implements DeployedModelRefOrBuilder

Points to a DeployedModel.

Protobuf type google.cloud.aiplatform.v1.DeployedModelRef

Static Methods

getDescriptor()

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

Methods

build()

public DeployedModelRef build()
Returns
Type Description
DeployedModelRef

buildPartial()

public DeployedModelRef buildPartial()
Returns
Type Description
DeployedModelRef

clear()

public DeployedModelRef.Builder clear()
Returns
Type Description
DeployedModelRef.Builder
Overrides

clearDeployedModelId()

public DeployedModelRef.Builder clearDeployedModelId()

Immutable. An ID of a DeployedModel in the above Endpoint.

string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
DeployedModelRef.Builder

This builder for chaining.

clearEndpoint()

public DeployedModelRef.Builder clearEndpoint()

Immutable. A resource name of an Endpoint.

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

Returns
Type Description
DeployedModelRef.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeployedModelRef getDefaultInstanceForType()
Returns
Type Description
DeployedModelRef

getDeployedModelId()

public String getDeployedModelId()

Immutable. An ID of a DeployedModel in the above Endpoint.

string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The deployedModelId.

getDeployedModelIdBytes()

public ByteString getDeployedModelIdBytes()

Immutable. An ID of a DeployedModel in the above Endpoint.

string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for deployedModelId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndpoint()

public String getEndpoint()

Immutable. A resource name of an Endpoint.

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

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Immutable. A resource name of an Endpoint.

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

Returns
Type Description
ByteString

The bytes for endpoint.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployedModelRef other)

public DeployedModelRef.Builder mergeFrom(DeployedModelRef other)
Parameter
Name Description
other DeployedModelRef
Returns
Type Description
DeployedModelRef.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployedModelRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployedModelRef.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeployedModelRef.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeployedModelRef.Builder
Overrides

setDeployedModelId(String value)

public DeployedModelRef.Builder setDeployedModelId(String value)

Immutable. An ID of a DeployedModel in the above Endpoint.

string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The deployedModelId to set.

Returns
Type Description
DeployedModelRef.Builder

This builder for chaining.

setDeployedModelIdBytes(ByteString value)

public DeployedModelRef.Builder setDeployedModelIdBytes(ByteString value)

Immutable. An ID of a DeployedModel in the above Endpoint.

string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for deployedModelId to set.

Returns
Type Description
DeployedModelRef.Builder

This builder for chaining.

setEndpoint(String value)

public DeployedModelRef.Builder setEndpoint(String value)

Immutable. A resource name of an Endpoint.

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

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
DeployedModelRef.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public DeployedModelRef.Builder setEndpointBytes(ByteString value)

Immutable. A resource name of an Endpoint.

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

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
DeployedModelRef.Builder

This builder for chaining.