Class SqlOperationsGetRequest.Builder (0.1.0)

public static final class SqlOperationsGetRequest.Builder extends GeneratedMessage.Builder<SqlOperationsGetRequest.Builder> implements SqlOperationsGetRequestOrBuilder

Protobuf type google.cloud.sql.v1beta4.SqlOperationsGetRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SqlOperationsGetRequest build()
Returns
Type Description
SqlOperationsGetRequest

buildPartial()

public SqlOperationsGetRequest buildPartial()
Returns
Type Description
SqlOperationsGetRequest

clear()

public SqlOperationsGetRequest.Builder clear()
Returns
Type Description
SqlOperationsGetRequest.Builder
Overrides

clearLocation()

public SqlOperationsGetRequest.Builder clearLocation()

Optional. Region of the Cloud SQL instance.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

clearOperation()

public SqlOperationsGetRequest.Builder clearOperation()

Instance operation ID.

string operation = 1;

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

clearProject()

public SqlOperationsGetRequest.Builder clearProject()

Project ID of the project that contains the instance.

string project = 2;

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public SqlOperationsGetRequest getDefaultInstanceForType()
Returns
Type Description
SqlOperationsGetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocation()

public String getLocation()

Optional. Region of the Cloud SQL instance.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Optional. Region of the Cloud SQL instance.

string location = 4 [(.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlOperationsGetRequest other)

public SqlOperationsGetRequest.Builder mergeFrom(SqlOperationsGetRequest other)
Parameter
Name Description
other SqlOperationsGetRequest
Returns
Type Description
SqlOperationsGetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlOperationsGetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlOperationsGetRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SqlOperationsGetRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SqlOperationsGetRequest.Builder
Overrides

setLocation(String value)

public SqlOperationsGetRequest.Builder setLocation(String value)

Optional. Region of the Cloud SQL instance.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The location to set.

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public SqlOperationsGetRequest.Builder setLocationBytes(ByteString value)

Optional. Region of the Cloud SQL instance.

string location = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

setOperation(String value)

public SqlOperationsGetRequest.Builder setOperation(String value)

Instance operation ID.

string operation = 1;

Parameter
Name Description
value String

The operation to set.

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

setOperationBytes(ByteString value)

public SqlOperationsGetRequest.Builder setOperationBytes(ByteString value)

Instance operation ID.

string operation = 1;

Parameter
Name Description
value ByteString

The bytes for operation to set.

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

setProject(String value)

public SqlOperationsGetRequest.Builder setProject(String value)

Project ID of the project that contains the instance.

string project = 2;

Parameter
Name Description
value String

The project to set.

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public SqlOperationsGetRequest.Builder setProjectBytes(ByteString value)

Project ID of the project that contains the instance.

string project = 2;

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
SqlOperationsGetRequest.Builder

This builder for chaining.