Class ContainerdConfig.PrivateRegistryAccessConfig.Builder (2.52.0)

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

PrivateRegistryAccessConfig contains access configuration for private container registries.

Protobuf type google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig

Static Methods

getDescriptor()

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

Methods

addAllCertificateAuthorityDomainConfig(Iterable<? extends ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig> values)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder addAllCertificateAuthorityDomainConfig(Iterable<? extends ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig> values)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
values Iterable<? extends com.google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig>
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

addCertificateAuthorityDomainConfig(ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder addCertificateAuthorityDomainConfig(ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

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

addCertificateAuthorityDomainConfig(ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder addCertificateAuthorityDomainConfig(ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

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

addCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder addCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameters
Name Description
index int
value ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

addCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder addCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameters
Name Description
index int
builderForValue ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

addCertificateAuthorityDomainConfigBuilder()

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder addCertificateAuthorityDomainConfigBuilder()

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder

addCertificateAuthorityDomainConfigBuilder(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder addCertificateAuthorityDomainConfigBuilder(int index)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
index int
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ContainerdConfig.PrivateRegistryAccessConfig build()
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig

buildPartial()

public ContainerdConfig.PrivateRegistryAccessConfig buildPartial()
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig

clear()

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

clearCertificateAuthorityDomainConfig()

public ContainerdConfig.PrivateRegistryAccessConfig.Builder clearCertificateAuthorityDomainConfig()

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

clearEnabled()

public ContainerdConfig.PrivateRegistryAccessConfig.Builder clearEnabled()

Private registry access is enabled.

bool enabled = 1;

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCertificateAuthorityDomainConfig(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig getCertificateAuthorityDomainConfig(int index)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
index int
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig

getCertificateAuthorityDomainConfigBuilder(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder getCertificateAuthorityDomainConfigBuilder(int index)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
index int
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder

getCertificateAuthorityDomainConfigBuilderList()

public List<ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder> getCertificateAuthorityDomainConfigBuilderList()

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Returns
Type Description
List<Builder>

getCertificateAuthorityDomainConfigCount()

public int getCertificateAuthorityDomainConfigCount()

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Returns
Type Description
int

getCertificateAuthorityDomainConfigList()

public List<ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig> getCertificateAuthorityDomainConfigList()

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Returns
Type Description
List<CertificateAuthorityDomainConfig>

getCertificateAuthorityDomainConfigOrBuilder(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfigOrBuilder getCertificateAuthorityDomainConfigOrBuilder(int index)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
index int
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfigOrBuilder

getCertificateAuthorityDomainConfigOrBuilderList()

public List<? extends ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfigOrBuilder> getCertificateAuthorityDomainConfigOrBuilderList()

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Returns
Type Description
List<? extends com.google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfigOrBuilder>

getDefaultInstanceForType()

public ContainerdConfig.PrivateRegistryAccessConfig getDefaultInstanceForType()
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Private registry access is enabled.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContainerdConfig.PrivateRegistryAccessConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCertificateAuthorityDomainConfig(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder removeCertificateAuthorityDomainConfig(int index)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
index int
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

setCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder setCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameters
Name Description
index int
value ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

setCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder setCertificateAuthorityDomainConfig(int index, ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

Private registry access configuration.

repeated .google.container.v1beta1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameters
Name Description
index int
builderForValue ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder
Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

setEnabled(boolean value)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder setEnabled(boolean value)

Private registry access is enabled.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
ContainerdConfig.PrivateRegistryAccessConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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