public final class DeleteConnectionRequest extends GeneratedMessageV3 implements DeleteConnectionRequestOrBuilder
Message for deleting a Connection.
Protobuf type google.devtools.cloudbuild.v2.DeleteConnectionRequest
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 DeleteConnectionRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeleteConnectionRequest.Builder newBuilder()
Returns
public static DeleteConnectionRequest.Builder newBuilder(DeleteConnectionRequest prototype)
Parameter
Returns
public static DeleteConnectionRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteConnectionRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeleteConnectionRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeleteConnectionRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public DeleteConnectionRequest getDefaultInstanceForType()
Returns
The current etag of the connection.
If an etag is provided and does not match the current etag of the
connection, 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 connection.
If an etag is provided and does not match the current etag of the
connection, deletion will be blocked and an ABORTED error will be returned.
string etag = 2;
Returns
Required. The name of the Connection to delete.
Format: projects/*/locations/*/connections/*
.
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 Connection to delete.
Format: projects/*/locations/*/connections/*
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public Parser<DeleteConnectionRequest> 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 DeleteConnectionRequest.Builder newBuilderForType()
Returns
protected DeleteConnectionRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeleteConnectionRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions