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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SandboxConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SandboxConfig build()
Returns
buildPartial()
public SandboxConfig buildPartial()
Returns
clear()
public SandboxConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SandboxConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SandboxConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSandboxType()
public SandboxConfig.Builder clearSandboxType()
Type of the sandbox to use for the node (e.g. 'gvisor')
string sandbox_type = 1 [deprecated = true];
Returns
clearType()
public SandboxConfig.Builder clearType()
Type of the sandbox to use for the node.
.google.container.v1beta1.SandboxConfig.Type type = 2;
Returns
clone()
public SandboxConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SandboxConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSandboxType()
public String getSandboxType()
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()
public ByteString getSandboxTypeBytes()
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SandboxConfig other)
public SandboxConfig.Builder mergeFrom(SandboxConfig other)
Parameter
Returns
public SandboxConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SandboxConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SandboxConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SandboxConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SandboxConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSandboxType(String value)
public SandboxConfig.Builder setSandboxType(String value)
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
setSandboxTypeBytes(ByteString value)
public SandboxConfig.Builder setSandboxTypeBytes(ByteString value)
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
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final SandboxConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides