public final class UpdateRepositoryRequest extends GeneratedMessageV3 implements UpdateRepositoryRequestOrBuilder
The request to update a repository.
Protobuf type google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
Fields
public static final int REPOSITORY_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static UpdateRepositoryRequest getDefaultInstance()
Returns
public UpdateRepositoryRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<UpdateRepositoryRequest> getParserForType()
Returns
Overrides
public Repository getRepository()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
public RepositoryOrBuilder getRepositoryOrBuilder()
The repository that replaces the resource on the server.
.google.devtools.artifactregistry.v1beta2.Repository repository = 1;
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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 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
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static UpdateRepositoryRequest.Builder newBuilder()
Returns
public static UpdateRepositoryRequest.Builder newBuilder(UpdateRepositoryRequest prototype)
Parameter
Returns
public UpdateRepositoryRequest.Builder newBuilderForType()
Returns
protected UpdateRepositoryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static UpdateRepositoryRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateRepositoryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateRepositoryRequest> parser()
Returns
public UpdateRepositoryRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions