Class SandboxConfig.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SandboxConfig build()
Returns
TypeDescription
SandboxConfig

buildPartial()

public SandboxConfig buildPartial()
Returns
TypeDescription
SandboxConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SandboxConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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=1003

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

string sandbox_type = 1 [deprecated = true];

Returns
TypeDescription
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
TypeDescription
SandboxConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SandboxConfig getDefaultInstanceForType()
Returns
TypeDescription
SandboxConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSandboxType() (deprecated)

public String getSandboxType()

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

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

string sandbox_type = 1 [deprecated = true];

Returns
TypeDescription
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=1003

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

string sandbox_type = 1 [deprecated = true];

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SandboxConfig other)

public SandboxConfig.Builder mergeFrom(SandboxConfig other)
Parameter
NameDescription
otherSandboxConfig
Returns
TypeDescription
SandboxConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SandboxConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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=1003

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

string sandbox_type = 1 [deprecated = true];

Parameter
NameDescription
valueString

The sandboxType to set.

Returns
TypeDescription
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=1003

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

string sandbox_type = 1 [deprecated = true];

Parameter
NameDescription
valueByteString

The bytes for sandboxType to set.

Returns
TypeDescription
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
NameDescription
valueSandboxConfig.Type

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
SandboxConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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