public static final class SqlOperationsCancelRequest.Builder extends GeneratedMessage.Builder<SqlOperationsCancelRequest.Builder> implements SqlOperationsCancelRequestOrBuilderThe request payload to cancel an operation.
Protobuf type google.cloud.sql.v1beta4.SqlOperationsCancelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlOperationsCancelRequest.BuilderImplements
SqlOperationsCancelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlOperationsCancelRequest build()| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest |
|
buildPartial()
public SqlOperationsCancelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest |
|
clear()
public SqlOperationsCancelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
|
clearLocation()
public SqlOperationsCancelRequest.Builder clearLocation()Optional. Region of the Cloud SQL instance.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
clearOperation()
public SqlOperationsCancelRequest.Builder clearOperation()Instance operation ID.
string operation = 1;
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
clearProject()
public SqlOperationsCancelRequest.Builder clearProject()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SqlOperationsCancelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocation()
public String getLocation()Optional. Region of the Cloud SQL instance.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Optional. Region of the Cloud SQL instance.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getOperation()
public String getOperation()Instance operation ID.
string operation = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The operation. |
getOperationBytes()
public ByteString getOperationBytes()Instance operation ID.
string operation = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operation. |
getProject()
public String getProject()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID of the project that contains the instance.
string project = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SqlOperationsCancelRequest other)
public SqlOperationsCancelRequest.Builder mergeFrom(SqlOperationsCancelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlOperationsCancelRequest |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlOperationsCancelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlOperationsCancelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
|
setLocation(String value)
public SqlOperationsCancelRequest.Builder setLocation(String value)Optional. Region of the Cloud SQL instance.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public SqlOperationsCancelRequest.Builder setLocationBytes(ByteString value)Optional. Region of the Cloud SQL instance.
string location = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
setOperation(String value)
public SqlOperationsCancelRequest.Builder setOperation(String value)Instance operation ID.
string operation = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe operation to set. |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
setOperationBytes(ByteString value)
public SqlOperationsCancelRequest.Builder setOperationBytes(ByteString value)Instance operation ID.
string operation = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for operation to set. |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
setProject(String value)
public SqlOperationsCancelRequest.Builder setProject(String value)Project ID of the project that contains the instance.
string project = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public SqlOperationsCancelRequest.Builder setProjectBytes(ByteString value)Project ID of the project that contains the instance.
string project = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlOperationsCancelRequest.Builder |
This builder for chaining. |