Class ContainerdConfig.PrivateRegistryAccessConfig.Builder (2.56.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.v1.ContainerdConfig.PrivateRegistryAccessConfig

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
values Iterable<? extends com.google.container.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig>

addCertificateAuthorityDomainConfig(ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig value)

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

Private registry access configuration.

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

addCertificateAuthorityDomainConfig(ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder builderForValue)

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

Private registry access configuration.

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

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.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

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.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

addCertificateAuthorityDomainConfigBuilder()

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig.Builder addCertificateAuthorityDomainConfigBuilder()

Private registry access configuration.

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

addCertificateAuthorityDomainConfigBuilder(int index)

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

Private registry access configuration.

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

Parameter
Name Description
index int

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ContainerdConfig.PrivateRegistryAccessConfig build()

buildPartial()

public ContainerdConfig.PrivateRegistryAccessConfig buildPartial()

clear()

public ContainerdConfig.PrivateRegistryAccessConfig.Builder clear()
Overrides

clearCertificateAuthorityDomainConfig()

public ContainerdConfig.PrivateRegistryAccessConfig.Builder clearCertificateAuthorityDomainConfig()

Private registry access configuration.

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

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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ContainerdConfig.PrivateRegistryAccessConfig.Builder clone()
Overrides

getCertificateAuthorityDomainConfig(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig getCertificateAuthorityDomainConfig(int index)

Private registry access configuration.

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

Parameter
Name Description
index int

getCertificateAuthorityDomainConfigBuilder(int index)

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

Private registry access configuration.

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

Parameter
Name Description
index int

getCertificateAuthorityDomainConfigBuilderList()

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

Private registry access configuration.

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

Returns
Type Description
List<Builder>

getCertificateAuthorityDomainConfigCount()

public int getCertificateAuthorityDomainConfigCount()

Private registry access configuration.

repeated .google.container.v1.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.v1.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.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

Parameter
Name Description
index int

getCertificateAuthorityDomainConfigOrBuilderList()

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

Private registry access configuration.

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

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

getDefaultInstanceForType()

public ContainerdConfig.PrivateRegistryAccessConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCertificateAuthorityDomainConfig(int index)

public ContainerdConfig.PrivateRegistryAccessConfig.Builder removeCertificateAuthorityDomainConfig(int index)

Private registry access configuration.

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

Parameter
Name Description
index int

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.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

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.v1.ContainerdConfig.PrivateRegistryAccessConfig.CertificateAuthorityDomainConfig certificate_authority_domain_config = 2;

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
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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