Class ClientConnectionConfig.Builder (3.56.0)

public static final class ClientConnectionConfig.Builder extends GeneratedMessageV3.Builder<ClientConnectionConfig.Builder> implements ClientConnectionConfigOrBuilder

Configurations (e.g. inference timeout) that are applied on your endpoints.

Protobuf type google.cloud.aiplatform.v1beta1.ClientConnectionConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientConnectionConfig build()
Returns
Type Description
ClientConnectionConfig

buildPartial()

public ClientConnectionConfig buildPartial()
Returns
Type Description
ClientConnectionConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInferenceTimeout()

public ClientConnectionConfig.Builder clearInferenceTimeout()

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Returns
Type Description
ClientConnectionConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ClientConnectionConfig getDefaultInstanceForType()
Returns
Type Description
ClientConnectionConfig

getDescriptorForType()

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

getInferenceTimeout()

public Duration getInferenceTimeout()

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Returns
Type Description
Duration

The inferenceTimeout.

getInferenceTimeoutBuilder()

public Duration.Builder getInferenceTimeoutBuilder()

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Returns
Type Description
Builder

getInferenceTimeoutOrBuilder()

public DurationOrBuilder getInferenceTimeoutOrBuilder()

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Returns
Type Description
DurationOrBuilder

hasInferenceTimeout()

public boolean hasInferenceTimeout()

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Returns
Type Description
boolean

Whether the inferenceTimeout field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ClientConnectionConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInferenceTimeout(Duration value)

public ClientConnectionConfig.Builder mergeInferenceTimeout(Duration value)

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Parameter
Name Description
value Duration
Returns
Type Description
ClientConnectionConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInferenceTimeout(Duration value)

public ClientConnectionConfig.Builder setInferenceTimeout(Duration value)

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Parameter
Name Description
value Duration
Returns
Type Description
ClientConnectionConfig.Builder

setInferenceTimeout(Duration.Builder builderForValue)

public ClientConnectionConfig.Builder setInferenceTimeout(Duration.Builder builderForValue)

Customizable online prediction request timeout.

.google.protobuf.Duration inference_timeout = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ClientConnectionConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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