Class SandboxConfig.Builder (2.86.0)

public static final class SandboxConfig.Builder extends GeneratedMessage.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

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

clearSandboxType() (deprecated)

public SandboxConfig.Builder clearSandboxType()

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

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.

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=1749

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=1749

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 GeneratedMessage.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

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=1749

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=1749

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.