Class DeleteRepositoryRequest.Builder

public static final class DeleteRepositoryRequest.Builder extends GeneratedMessageV3.Builder<DeleteRepositoryRequest.Builder> implements DeleteRepositoryRequestOrBuilder

The request to delete a repository.

Protobuf type google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteRepositoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

build()

public DeleteRepositoryRequest build()
Returns
TypeDescription
DeleteRepositoryRequest

buildPartial()

public DeleteRepositoryRequest buildPartial()
Returns
TypeDescription
DeleteRepositoryRequest

clear()

public DeleteRepositoryRequest.Builder clear()
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteRepositoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

clearName()

public DeleteRepositoryRequest.Builder clearName()

The name of the repository to delete.

string name = 1;

Returns
TypeDescription
DeleteRepositoryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteRepositoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

clone()

public DeleteRepositoryRequest.Builder clone()
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteRepositoryRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteRepositoryRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the repository to delete.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the repository to delete.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteRepositoryRequest other)

public DeleteRepositoryRequest.Builder mergeFrom(DeleteRepositoryRequest other)
Parameter
NameDescription
otherDeleteRepositoryRequest
Returns
TypeDescription
DeleteRepositoryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteRepositoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteRepositoryRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteRepositoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteRepositoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

setName(String value)

public DeleteRepositoryRequest.Builder setName(String value)

The name of the repository to delete.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteRepositoryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteRepositoryRequest.Builder setNameBytes(ByteString value)

The name of the repository to delete.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteRepositoryRequest.Builder

This builder for chaining.

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

public DeleteRepositoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteRepositoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteRepositoryRequest.Builder
Overrides