Class DefaultSnatStatus.Builder (2.54.0)

public static final class DefaultSnatStatus.Builder extends GeneratedMessageV3.Builder<DefaultSnatStatus.Builder> implements DefaultSnatStatusOrBuilder

DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.

Protobuf type google.container.v1.DefaultSnatStatus

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DefaultSnatStatus build()
Returns
Type Description
DefaultSnatStatus

buildPartial()

public DefaultSnatStatus buildPartial()
Returns
Type Description
DefaultSnatStatus

clear()

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

clearDisabled()

public DefaultSnatStatus.Builder clearDisabled()

Disables cluster default sNAT rules.

bool disabled = 1;

Returns
Type Description
DefaultSnatStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DefaultSnatStatus getDefaultInstanceForType()
Returns
Type Description
DefaultSnatStatus

getDescriptorForType()

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

getDisabled()

public boolean getDisabled()

Disables cluster default sNAT rules.

bool disabled = 1;

Returns
Type Description
boolean

The disabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DefaultSnatStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisabled(boolean value)

public DefaultSnatStatus.Builder setDisabled(boolean value)

Disables cluster default sNAT rules.

bool disabled = 1;

Parameter
Name Description
value boolean

The disabled to set.

Returns
Type Description
DefaultSnatStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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