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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DefaultSnatStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DefaultSnatStatus build()
buildPartial()
public DefaultSnatStatus buildPartial()
clear()
public DefaultSnatStatus.Builder clear()
Overrides
clearDisabled()
public DefaultSnatStatus.Builder clearDisabled()
Disables cluster default sNAT rules.
bool disabled = 1;
clearField(Descriptors.FieldDescriptor field)
public DefaultSnatStatus.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DefaultSnatStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public DefaultSnatStatus.Builder clone()
Overrides
getDefaultInstanceForType()
public DefaultSnatStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisabled()
public boolean getDisabled()
Disables cluster default sNAT rules.
bool disabled = 1;
Returns |
---|
Type | Description |
boolean | The disabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DefaultSnatStatus other)
public DefaultSnatStatus.Builder mergeFrom(DefaultSnatStatus other)
public DefaultSnatStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DefaultSnatStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DefaultSnatStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DefaultSnatStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DefaultSnatStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DefaultSnatStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides