Class ContainerdConfig.Builder (2.57.0)

public static final class ContainerdConfig.Builder extends GeneratedMessageV3.Builder<ContainerdConfig.Builder> implements ContainerdConfigOrBuilder

ContainerdConfig contains configuration to customize containerd.

Protobuf type google.container.v1.ContainerdConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerdConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerdConfig.Builder
Overrides

build()

public ContainerdConfig build()
Returns
Type Description
ContainerdConfig

buildPartial()

public ContainerdConfig buildPartial()
Returns
Type Description
ContainerdConfig

clear()

public ContainerdConfig.Builder clear()
Returns
Type Description
ContainerdConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContainerdConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ContainerdConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerdConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ContainerdConfig.Builder
Overrides

clearPrivateRegistryAccessConfig()

public ContainerdConfig.Builder clearPrivateRegistryAccessConfig()

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Returns
Type Description
ContainerdConfig.Builder

clone()

public ContainerdConfig.Builder clone()
Returns
Type Description
ContainerdConfig.Builder
Overrides

getDefaultInstanceForType()

public ContainerdConfig getDefaultInstanceForType()
Returns
Type Description
ContainerdConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPrivateRegistryAccessConfig()

public ContainerdConfig.PrivateRegistryAccessConfig getPrivateRegistryAccessConfig()

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig

The privateRegistryAccessConfig.

getPrivateRegistryAccessConfigBuilder()

public ContainerdConfig.PrivateRegistryAccessConfig.Builder getPrivateRegistryAccessConfigBuilder()

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

getPrivateRegistryAccessConfigOrBuilder()

public ContainerdConfig.PrivateRegistryAccessConfigOrBuilder getPrivateRegistryAccessConfigOrBuilder()

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfigOrBuilder

hasPrivateRegistryAccessConfig()

public boolean hasPrivateRegistryAccessConfig()

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Returns
Type Description
boolean

Whether the privateRegistryAccessConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContainerdConfig other)

public ContainerdConfig.Builder mergeFrom(ContainerdConfig other)
Parameter
Name Description
other ContainerdConfig
Returns
Type Description
ContainerdConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerdConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerdConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ContainerdConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ContainerdConfig.Builder
Overrides

mergePrivateRegistryAccessConfig(ContainerdConfig.PrivateRegistryAccessConfig value)

public ContainerdConfig.Builder mergePrivateRegistryAccessConfig(ContainerdConfig.PrivateRegistryAccessConfig value)

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Parameter
Name Description
value ContainerdConfig.PrivateRegistryAccessConfig
Returns
Type Description
ContainerdConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerdConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerdConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerdConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerdConfig.Builder
Overrides

setPrivateRegistryAccessConfig(ContainerdConfig.PrivateRegistryAccessConfig value)

public ContainerdConfig.Builder setPrivateRegistryAccessConfig(ContainerdConfig.PrivateRegistryAccessConfig value)

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Parameter
Name Description
value ContainerdConfig.PrivateRegistryAccessConfig
Returns
Type Description
ContainerdConfig.Builder

setPrivateRegistryAccessConfig(ContainerdConfig.PrivateRegistryAccessConfig.Builder builderForValue)

public ContainerdConfig.Builder setPrivateRegistryAccessConfig(ContainerdConfig.PrivateRegistryAccessConfig.Builder builderForValue)

PrivateRegistryAccessConfig is used to configure access configuration for private container registries.

.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig private_registry_access_config = 1;

Parameter
Name Description
builderForValue ContainerdConfig.PrivateRegistryAccessConfig.Builder
Returns
Type Description
ContainerdConfig.Builder

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

public ContainerdConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ContainerdConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerdConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerdConfig.Builder
Overrides