Class Repository.DockerRepositoryConfig.Builder (1.42.0)

public static final class Repository.DockerRepositoryConfig.Builder extends GeneratedMessageV3.Builder<Repository.DockerRepositoryConfig.Builder> implements Repository.DockerRepositoryConfigOrBuilder

DockerRepositoryConfig is docker related repository details. Provides additional configuration details for repositories of the docker format type.

Protobuf type google.devtools.artifactregistry.v1.Repository.DockerRepositoryConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Repository.DockerRepositoryConfig build()
Returns
Type Description
Repository.DockerRepositoryConfig

buildPartial()

public Repository.DockerRepositoryConfig buildPartial()
Returns
Type Description
Repository.DockerRepositoryConfig

clear()

public Repository.DockerRepositoryConfig.Builder clear()
Returns
Type Description
Repository.DockerRepositoryConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearImmutableTags()

public Repository.DockerRepositoryConfig.Builder clearImmutableTags()

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

bool immutable_tags = 1;

Returns
Type Description
Repository.DockerRepositoryConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Repository.DockerRepositoryConfig.Builder clone()
Returns
Type Description
Repository.DockerRepositoryConfig.Builder
Overrides

getDefaultInstanceForType()

public Repository.DockerRepositoryConfig getDefaultInstanceForType()
Returns
Type Description
Repository.DockerRepositoryConfig

getDescriptorForType()

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

getImmutableTags()

public boolean getImmutableTags()

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

bool immutable_tags = 1;

Returns
Type Description
boolean

The immutableTags.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Repository.DockerRepositoryConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImmutableTags(boolean value)

public Repository.DockerRepositoryConfig.Builder setImmutableTags(boolean value)

The repository which enabled this flag prevents all tags from being modified, moved or deleted. This does not prevent tags from being created.

bool immutable_tags = 1;

Parameter
Name Description
value boolean

The immutableTags to set.

Returns
Type Description
Repository.DockerRepositoryConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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