public final class DeleteRepositoryRequest extends GeneratedMessageV3 implements DeleteRepositoryRequestOrBuilder
Message for deleting a Repository.
Protobuf type google.devtools.cloudbuild.v2.DeleteRepositoryRequest
Static Fields
public static final int ETAG_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
public static DeleteRepositoryRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeleteRepositoryRequest.Builder newBuilder()
Returns
public static DeleteRepositoryRequest.Builder newBuilder(DeleteRepositoryRequest prototype)
Parameter
Returns
public static DeleteRepositoryRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteRepositoryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeleteRepositoryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeleteRepositoryRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DeleteRepositoryRequest getDefaultInstanceForType()
Returns
The current etag of the repository.
If an etag is provided and does not match the current etag of the
repository, deletion will be blocked and an ABORTED error will be returned.
string etag = 2;
Returns
Type | Description |
String | The etag.
|
public ByteString getEtagBytes()
The current etag of the repository.
If an etag is provided and does not match the current etag of the
repository, deletion will be blocked and an ABORTED error will be returned.
string etag = 2;
Returns
Required. The name of the Repository to delete.
Format: projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The name of the Repository to delete.
Format: projects/*/locations/*/connections/*/repositories/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<DeleteRepositoryRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean getValidateOnly()
If set, validate the request, but do not actually post it.
bool validate_only = 3;
Returns
Type | Description |
boolean | The validateOnly.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeleteRepositoryRequest.Builder newBuilderForType()
Returns
protected DeleteRepositoryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeleteRepositoryRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions