Class SandboxConfig.Builder (2.57.0)

public static final class SandboxConfig.Builder extends GeneratedMessageV3.Builder<SandboxConfig.Builder> implements SandboxConfigOrBuilder

SandboxConfig contains configurations of the sandbox to use for the node.

Protobuf type google.container.v1beta1.SandboxConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SandboxConfig build()
Returns
Type Description
SandboxConfig

buildPartial()

public SandboxConfig buildPartial()
Returns
Type Description
SandboxConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSandboxType() (deprecated)

public SandboxConfig.Builder clearSandboxType()

Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See google/container/v1beta1/cluster_service.proto;l=1028

Type of the sandbox to use for the node (e.g. 'gvisor')

string sandbox_type = 1 [deprecated = true];

Returns
Type Description
SandboxConfig.Builder

This builder for chaining.

clearType()

public SandboxConfig.Builder clearType()

Type of the sandbox to use for the node.

.google.container.v1beta1.SandboxConfig.Type type = 2;

Returns
Type Description
SandboxConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SandboxConfig getDefaultInstanceForType()
Returns
Type Description
SandboxConfig

getDescriptorForType()

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

getSandboxType() (deprecated)

public String getSandboxType()

Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See google/container/v1beta1/cluster_service.proto;l=1028

Type of the sandbox to use for the node (e.g. 'gvisor')

string sandbox_type = 1 [deprecated = true];

Returns
Type Description
String

The sandboxType.

getSandboxTypeBytes() (deprecated)

public ByteString getSandboxTypeBytes()

Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See google/container/v1beta1/cluster_service.proto;l=1028

Type of the sandbox to use for the node (e.g. 'gvisor')

string sandbox_type = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for sandboxType.

getType()

public SandboxConfig.Type getType()

Type of the sandbox to use for the node.

.google.container.v1beta1.SandboxConfig.Type type = 2;

Returns
Type Description
SandboxConfig.Type

The type.

getTypeValue()

public int getTypeValue()

Type of the sandbox to use for the node.

.google.container.v1beta1.SandboxConfig.Type type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SandboxConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSandboxType(String value) (deprecated)

public SandboxConfig.Builder setSandboxType(String value)

Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See google/container/v1beta1/cluster_service.proto;l=1028

Type of the sandbox to use for the node (e.g. 'gvisor')

string sandbox_type = 1 [deprecated = true];

Parameter
Name Description
value String

The sandboxType to set.

Returns
Type Description
SandboxConfig.Builder

This builder for chaining.

setSandboxTypeBytes(ByteString value) (deprecated)

public SandboxConfig.Builder setSandboxTypeBytes(ByteString value)

Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See google/container/v1beta1/cluster_service.proto;l=1028

Type of the sandbox to use for the node (e.g. 'gvisor')

string sandbox_type = 1 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes for sandboxType to set.

Returns
Type Description
SandboxConfig.Builder

This builder for chaining.

setType(SandboxConfig.Type value)

public SandboxConfig.Builder setType(SandboxConfig.Type value)

Type of the sandbox to use for the node.

.google.container.v1beta1.SandboxConfig.Type type = 2;

Parameter
Name Description
value SandboxConfig.Type

The type to set.

Returns
Type Description
SandboxConfig.Builder

This builder for chaining.

setTypeValue(int value)

public SandboxConfig.Builder setTypeValue(int value)

Type of the sandbox to use for the node.

.google.container.v1beta1.SandboxConfig.Type type = 2;

Parameter
Name Description
value int

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

Returns
Type Description
SandboxConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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