Class DefaultSnatStatus.Builder (2.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DefaultSnatStatus build()
Returns
TypeDescription
DefaultSnatStatus

buildPartial()

public DefaultSnatStatus buildPartial()
Returns
TypeDescription
DefaultSnatStatus

clear()

public DefaultSnatStatus.Builder clear()
Returns
TypeDescription
DefaultSnatStatus.Builder
Overrides

clearDisabled()

public DefaultSnatStatus.Builder clearDisabled()

Disables cluster default sNAT rules.

bool disabled = 1;

Returns
TypeDescription
DefaultSnatStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DefaultSnatStatus getDefaultInstanceForType()
Returns
TypeDescription
DefaultSnatStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisabled()

public boolean getDisabled()

Disables cluster default sNAT rules.

bool disabled = 1;

Returns
TypeDescription
boolean

The disabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DefaultSnatStatus other)

public DefaultSnatStatus.Builder mergeFrom(DefaultSnatStatus other)
Parameter
NameDescription
otherDefaultSnatStatus
Returns
TypeDescription
DefaultSnatStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DefaultSnatStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DefaultSnatStatus.Builder
Overrides

setDisabled(boolean value)

public DefaultSnatStatus.Builder setDisabled(boolean value)

Disables cluster default sNAT rules.

bool disabled = 1;

Parameter
NameDescription
valueboolean

The disabled to set.

Returns
TypeDescription
DefaultSnatStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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