Send feedback
Class UpdateTagRequest.Builder (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
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 ()
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 ()
Returns
public FieldMask . Builder getUpdateMaskBuilder ()
Returns
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
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 ()
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 )
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 )
Parameter
Returns
public UpdateTagRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
Parameter
Name Description builderForValue Builder
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]