Class DefaultSnatStatus (2.3.8)

public final class DefaultSnatStatus extends GeneratedMessageV3 implements DefaultSnatStatusOrBuilder

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

Protobuf type google.container.v1beta1.DefaultSnatStatus

Static Fields

DISABLED_FIELD_NUMBER

public static final int DISABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DefaultSnatStatus getDefaultInstance()
Returns
TypeDescription
DefaultSnatStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DefaultSnatStatus.Builder newBuilder()
Returns
TypeDescription
DefaultSnatStatus.Builder

newBuilder(DefaultSnatStatus prototype)

public static DefaultSnatStatus.Builder newBuilder(DefaultSnatStatus prototype)
Parameter
NameDescription
prototypeDefaultSnatStatus
Returns
TypeDescription
DefaultSnatStatus.Builder

parseDelimitedFrom(InputStream input)

public static DefaultSnatStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DefaultSnatStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DefaultSnatStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DefaultSnatStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DefaultSnatStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DefaultSnatStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DefaultSnatStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DefaultSnatStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DefaultSnatStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DefaultSnatStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DefaultSnatStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DefaultSnatStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DefaultSnatStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DefaultSnatStatus> parser()
Returns
TypeDescription
Parser<DefaultSnatStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DefaultSnatStatus getDefaultInstanceForType()
Returns
TypeDescription
DefaultSnatStatus

getDisabled()

public boolean getDisabled()

Disables cluster default sNAT rules.

bool disabled = 1;

Returns
TypeDescription
boolean

The disabled.

getParserForType()

public Parser<DefaultSnatStatus> getParserForType()
Returns
TypeDescription
Parser<DefaultSnatStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DefaultSnatStatus.Builder newBuilderForType()
Returns
TypeDescription
DefaultSnatStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DefaultSnatStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DefaultSnatStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DefaultSnatStatus.Builder toBuilder()
Returns
TypeDescription
DefaultSnatStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException