Class DeployedModelRef.Builder (3.46.0)

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

Points to a DeployedModel.

Protobuf type google.cloud.aiplatform.v1beta1.DeployedModelRef

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployedModelRef.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployedModelRef.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public DeployedModelRef.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployedModelRef.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployedModelRef.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployedModelRef.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployedModelRef.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public DeployedModelRef.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployedModelRef.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployedModelRef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployedModelRef.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployedModelRef.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployedModelRef.Builder
Overrides