Class DeployRequest.EndpointConfig.Builder (3.60.0)

public static final class DeployRequest.EndpointConfig.Builder extends GeneratedMessageV3.Builder<DeployRequest.EndpointConfig.Builder> implements DeployRequest.EndpointConfigOrBuilder

The endpoint config to use for the deployment.

Protobuf type google.cloud.aiplatform.v1beta1.DeployRequest.EndpointConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployRequest.EndpointConfig build()
Returns
Type Description
DeployRequest.EndpointConfig

buildPartial()

public DeployRequest.EndpointConfig buildPartial()
Returns
Type Description
DeployRequest.EndpointConfig

clear()

public DeployRequest.EndpointConfig.Builder clear()
Returns
Type Description
DeployRequest.EndpointConfig.Builder
Overrides

clearDedicatedEndpointEnabled()

public DeployRequest.EndpointConfig.Builder clearDedicatedEndpointEnabled()

Optional. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.

bool dedicated_endpoint_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeployRequest.EndpointConfig.Builder

This builder for chaining.

clearEndpointDisplayName()

public DeployRequest.EndpointConfig.Builder clearEndpointDisplayName()

Optional. The user-specified display name of the endpoint. If not set, a default name will be used.

string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeployRequest.EndpointConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeployRequest.EndpointConfig.Builder clone()
Returns
Type Description
DeployRequest.EndpointConfig.Builder
Overrides

getDedicatedEndpointEnabled()

public boolean getDedicatedEndpointEnabled()

Optional. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.

bool dedicated_endpoint_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The dedicatedEndpointEnabled.

getDefaultInstanceForType()

public DeployRequest.EndpointConfig getDefaultInstanceForType()
Returns
Type Description
DeployRequest.EndpointConfig

getDescriptorForType()

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

getEndpointDisplayName()

public String getEndpointDisplayName()

Optional. The user-specified display name of the endpoint. If not set, a default name will be used.

string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The endpointDisplayName.

getEndpointDisplayNameBytes()

public ByteString getEndpointDisplayNameBytes()

Optional. The user-specified display name of the endpoint. If not set, a default name will be used.

string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for endpointDisplayName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployRequest.EndpointConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployRequest.EndpointConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeployRequest.EndpointConfig.Builder
Overrides

setDedicatedEndpointEnabled(boolean value)

public DeployRequest.EndpointConfig.Builder setDedicatedEndpointEnabled(boolean value)

Optional. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon.

bool dedicated_endpoint_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The dedicatedEndpointEnabled to set.

Returns
Type Description
DeployRequest.EndpointConfig.Builder

This builder for chaining.

setEndpointDisplayName(String value)

public DeployRequest.EndpointConfig.Builder setEndpointDisplayName(String value)

Optional. The user-specified display name of the endpoint. If not set, a default name will be used.

string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The endpointDisplayName to set.

Returns
Type Description
DeployRequest.EndpointConfig.Builder

This builder for chaining.

setEndpointDisplayNameBytes(ByteString value)

public DeployRequest.EndpointConfig.Builder setEndpointDisplayNameBytes(ByteString value)

Optional. The user-specified display name of the endpoint. If not set, a default name will be used.

string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for endpointDisplayName to set.

Returns
Type Description
DeployRequest.EndpointConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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