Class DeployedModelRef.Builder (3.42.0)

public static final class DeployedModelRef.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployedModelRef.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

build()

public DeployedModelRef build()
Returns
TypeDescription
DeployedModelRef

buildPartial()

public DeployedModelRef buildPartial()
Returns
TypeDescription
DeployedModelRef

clear()

public DeployedModelRef.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeployedModelRef.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeployedModelRef.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployedModelRef.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

clone()

public DeployedModelRef.Builder clone()
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

getDefaultInstanceForType()

public DeployedModelRef getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for deployedModelId.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for endpoint.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeployedModelRef other)

public DeployedModelRef.Builder mergeFrom(DeployedModelRef other)
Parameter
NameDescription
otherDeployedModelRef
Returns
TypeDescription
DeployedModelRef.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployedModelRef.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeployedModelRef.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeployedModelRef.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployedModelRef.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The deployedModelId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for deployedModelId to set.

Returns
TypeDescription
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
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
DeployedModelRef.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeployedModelRef.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

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

public DeployedModelRef.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeployedModelRef.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeployedModelRef.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeployedModelRef.Builder
Overrides