Class ControlPlaneEgress.Builder (2.96.0)

public static final class ControlPlaneEgress.Builder extends GeneratedMessage.Builder<ControlPlaneEgress.Builder> implements ControlPlaneEgressOrBuilder

ControlPlaneEgress defines the settings needed to enable control plane egress control.

Protobuf type google.container.v1.ControlPlaneEgress

Static Methods

getDescriptor()

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

Methods

build()

public ControlPlaneEgress build()
Returns
Type Description
ControlPlaneEgress

buildPartial()

public ControlPlaneEgress buildPartial()
Returns
Type Description
ControlPlaneEgress

clear()

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

clearMode()

public ControlPlaneEgress.Builder clearMode()

Defines the mode of control plane egress.

.google.container.v1.ControlPlaneEgress.Mode mode = 1;

Returns
Type Description
ControlPlaneEgress.Builder

This builder for chaining.

getDefaultInstanceForType()

public ControlPlaneEgress getDefaultInstanceForType()
Returns
Type Description
ControlPlaneEgress

getDescriptorForType()

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

getMode()

public ControlPlaneEgress.Mode getMode()

Defines the mode of control plane egress.

.google.container.v1.ControlPlaneEgress.Mode mode = 1;

Returns
Type Description
ControlPlaneEgress.Mode

The mode.

getModeValue()

public int getModeValue()

Defines the mode of control plane egress.

.google.container.v1.ControlPlaneEgress.Mode mode = 1;

Returns
Type Description
int

The enum numeric value on the wire for mode.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ControlPlaneEgress other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMode(ControlPlaneEgress.Mode value)

public ControlPlaneEgress.Builder setMode(ControlPlaneEgress.Mode value)

Defines the mode of control plane egress.

.google.container.v1.ControlPlaneEgress.Mode mode = 1;

Parameter
Name Description
value ControlPlaneEgress.Mode

The mode to set.

Returns
Type Description
ControlPlaneEgress.Builder

This builder for chaining.

setModeValue(int value)

public ControlPlaneEgress.Builder setModeValue(int value)

Defines the mode of control plane egress.

.google.container.v1.ControlPlaneEgress.Mode mode = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for mode to set.

Returns
Type Description
ControlPlaneEgress.Builder

This builder for chaining.