Class WorkloadALTSConfig.Builder (2.51.0)

public static final class WorkloadALTSConfig.Builder extends GeneratedMessageV3.Builder<WorkloadALTSConfig.Builder> implements WorkloadALTSConfigOrBuilder

Configuration for direct-path (via ALTS) with workload identity.

Protobuf type google.container.v1beta1.WorkloadALTSConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadALTSConfig build()
Returns
Type Description
WorkloadALTSConfig

buildPartial()

public WorkloadALTSConfig buildPartial()
Returns
Type Description
WorkloadALTSConfig

clear()

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

clearEnableAlts()

public WorkloadALTSConfig.Builder clearEnableAlts()

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Returns
Type Description
WorkloadALTSConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WorkloadALTSConfig getDefaultInstanceForType()
Returns
Type Description
WorkloadALTSConfig

getDescriptorForType()

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

getEnableAlts()

public BoolValue getEnableAlts()

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Returns
Type Description
BoolValue

The enableAlts.

getEnableAltsBuilder()

public BoolValue.Builder getEnableAltsBuilder()

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Returns
Type Description
Builder

getEnableAltsOrBuilder()

public BoolValueOrBuilder getEnableAltsOrBuilder()

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Returns
Type Description
BoolValueOrBuilder

hasEnableAlts()

public boolean hasEnableAlts()

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Returns
Type Description
boolean

Whether the enableAlts field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnableAlts(BoolValue value)

public WorkloadALTSConfig.Builder mergeEnableAlts(BoolValue value)

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Parameter
Name Description
value BoolValue
Returns
Type Description
WorkloadALTSConfig.Builder

mergeFrom(WorkloadALTSConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnableAlts(BoolValue value)

public WorkloadALTSConfig.Builder setEnableAlts(BoolValue value)

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Parameter
Name Description
value BoolValue
Returns
Type Description
WorkloadALTSConfig.Builder

setEnableAlts(BoolValue.Builder builderForValue)

public WorkloadALTSConfig.Builder setEnableAlts(BoolValue.Builder builderForValue)

enable_alts controls whether the alts handshaker should be enabled or not for direct-path.

Requires Workload Identity (workload_pool must be non-empty).

.google.protobuf.BoolValue enable_alts = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
WorkloadALTSConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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