Class WorkloadALTSConfig.Builder (2.5.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public WorkloadALTSConfig build()
Returns
TypeDescription
WorkloadALTSConfig

buildPartial()

public WorkloadALTSConfig buildPartial()
Returns
TypeDescription
WorkloadALTSConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public WorkloadALTSConfig getDefaultInstanceForType()
Returns
TypeDescription
WorkloadALTSConfig

getDescriptorForType()

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

Whether the enableAlts field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBoolValue
Returns
TypeDescription
WorkloadALTSConfig.Builder

mergeFrom(WorkloadALTSConfig other)

public WorkloadALTSConfig.Builder mergeFrom(WorkloadALTSConfig other)
Parameter
NameDescription
otherWorkloadALTSConfig
Returns
TypeDescription
WorkloadALTSConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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