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

clearType()

public SandboxConfig.Builder clearType()

Type of the sandbox to use for the node.

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

getType()

public SandboxConfig.Type getType()

Type of the sandbox to use for the node.

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

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