Send feedback
Class DeleteRepositoryRequest (3.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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
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."],[],[]]