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.v1.UpdateTagRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
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.v1.Tag tag = 1;
Returns
public UpdateTagRequest.Builder clearUpdateMask()
Returns
public UpdateTagRequest.Builder clone()
Returns
Overrides
public UpdateTagRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1.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.v1.Tag tag = 1;
Returns
public TagOrBuilder getTagOrBuilder()
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Tag tag = 1;
Returns
public FieldMask getUpdateMask()
Returns
public FieldMask.Builder getUpdateMaskBuilder()
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Returns
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Tag tag = 1;
Returns
Type | Description |
boolean | Whether the tag field is set.
|
public boolean hasUpdateMask()
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.v1.Tag tag = 1;
Parameter
Returns
public final UpdateTagRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateTagRequest.Builder mergeUpdateMask(FieldMask value)
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.v1.Tag tag = 1;
Parameter
Returns
public UpdateTagRequest.Builder setTag(Tag.Builder builderForValue)
The tag that replaces the resource on the server.
.google.devtools.artifactregistry.v1.Tag tag = 1;
Parameter
Returns
public final UpdateTagRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public UpdateTagRequest.Builder setUpdateMask(FieldMask value)
Parameter
Returns
public UpdateTagRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter
Name | Description |
builderForValue | Builder
|
Returns