Class UpdateRepositoryRequest.Builder (1.45.0)

public static final class UpdateRepositoryRequest.Builder extends GeneratedMessageV3.Builder<UpdateRepositoryRequest.Builder> implements UpdateRepositoryRequestOrBuilder

The request to update a repository.

Protobuf type google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRepositoryRequest build()
Returns
Type Description
UpdateRepositoryRequest

buildPartial()

public UpdateRepositoryRequest buildPartial()
Returns
Type Description
UpdateRepositoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRepository()

public UpdateRepositoryRequest.Builder clearRepository()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Returns
Type Description
UpdateRepositoryRequest.Builder

clearUpdateMask()

public UpdateRepositoryRequest.Builder clearUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateRepositoryRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateRepositoryRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRepositoryRequest

getDescriptorForType()

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

getRepository()

public Repository getRepository()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Returns
Type Description
Repository

The repository.

getRepositoryBuilder()

public Repository.Builder getRepositoryBuilder()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Returns
Type Description
Repository.Builder

getRepositoryOrBuilder()

public RepositoryOrBuilder getRepositoryOrBuilder()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Returns
Type Description
RepositoryOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasRepository()

public boolean hasRepository()

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Returns
Type Description
boolean

Whether the repository field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateRepositoryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRepository(Repository value)

public UpdateRepositoryRequest.Builder mergeRepository(Repository value)

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Parameter
Name Description
value Repository
Returns
Type Description
UpdateRepositoryRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateRepositoryRequest.Builder mergeUpdateMask(FieldMask value)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRepositoryRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRepository(Repository value)

public UpdateRepositoryRequest.Builder setRepository(Repository value)

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Parameter
Name Description
value Repository
Returns
Type Description
UpdateRepositoryRequest.Builder

setRepository(Repository.Builder builderForValue)

public UpdateRepositoryRequest.Builder setRepository(Repository.Builder builderForValue)

The repository that replaces the resource on the server.

.google.devtools.artifactregistry.v1beta2.Repository repository = 1;

Parameter
Name Description
builderForValue Repository.Builder
Returns
Type Description
UpdateRepositoryRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateRepositoryRequest.Builder setUpdateMask(FieldMask value)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateRepositoryRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRepositoryRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateRepositoryRequest.Builder