Send feedback
Class SandboxConfig.Builder (2.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.5.1 keyboard_arrow_down
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() (deprecated)
public SandboxConfig . Builder clearSandboxType ()
Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See
google/container/v1beta1/cluster_service.proto;l=860
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() (deprecated)
public String getSandboxType ()
Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See
google/container/v1beta1/cluster_service.proto;l=860
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=860
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) (deprecated)
public SandboxConfig . Builder setSandboxType ( String value )
Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See
google/container/v1beta1/cluster_service.proto;l=860
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) (deprecated)
public SandboxConfig . Builder setSandboxTypeBytes ( ByteString value )
Deprecated. google.container.v1beta1.SandboxConfig.sandbox_type is deprecated. See
google/container/v1beta1/cluster_service.proto;l=860
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]