public static final class UpdateTagRequest.Builder extends GeneratedMessageV3.Builder<UpdateTagRequest.Builder> implements UpdateTagRequestOrBuilder
The request to create or update a tag.
Protobuf type google.devtools.artifactregistry.v1beta2.UpdateTagRequest
Methods
public UpdateTagRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateTagRequest build()
Returns
public UpdateTagRequest buildPartial()
Returns
public UpdateTagRequest.Builder clear()
Returns
Overrides
public UpdateTagRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public UpdateTagRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public UpdateTagRequest.Builder clearTag()
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Returns
public UpdateTagRequest.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
public UpdateTagRequest.Builder clone()
Returns
Overrides
public UpdateTagRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Returns
Type | Description |
Tag | The tag.
|
public Tag.Builder getTagBuilder()
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Returns
public TagOrBuilder getTagOrBuilder()
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Returns
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
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
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
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Returns
Type | Description |
boolean | Whether the tag field is set.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateTagRequest.Builder mergeFrom(UpdateTagRequest other)
Parameter
Returns
public UpdateTagRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public UpdateTagRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public UpdateTagRequest.Builder mergeTag(Tag value)
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Parameter
Returns
public final UpdateTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateTagRequest.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
Returns
public UpdateTagRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public UpdateTagRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public UpdateTagRequest.Builder setTag(Tag value)
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Parameter
Returns
public UpdateTagRequest.Builder setTag(Tag.Builder builderForValue)
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Tag tag = 1;
Parameter
Returns
public final UpdateTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateTagRequest.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
Returns
public UpdateTagRequest.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