Class SandboxConfig.Builder (2.56.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.v1.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

clearType()

public SandboxConfig.Builder clearType()

Type of the sandbox to use for the node.

.google.container.v1.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

getType()

public SandboxConfig.Type getType()

Type of the sandbox to use for the node.

.google.container.v1.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.v1.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

setType(SandboxConfig.Type value)

public SandboxConfig.Builder setType(SandboxConfig.Type value)

Type of the sandbox to use for the node.

.google.container.v1.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.v1.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