Interface CancelOperationRequestOrBuilder (2.3.8)

public interface CancelOperationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

string name = 4;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name (project, location, operation id) of the operation to cancel. Specified in the format projects/*/locations/*/operations/*.

string name = 4;

Returns
TypeDescription
ByteString

The bytes for name.

getOperationId() (deprecated)

public abstract String getOperationId()

Deprecated.

Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The operationId.

getOperationIdBytes() (deprecated)

public abstract ByteString getOperationIdBytes()

Deprecated.

Required. Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

string operation_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for operationId.

getProjectId() (deprecated)

public abstract String getProjectId()

Deprecated.

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The projectId.

getProjectIdBytes() (deprecated)

public abstract ByteString getProjectIdBytes()

Deprecated.

Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for projectId.

getZone() (deprecated)

public abstract String getZone()

Deprecated.

Required. Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The zone.

getZoneBytes() (deprecated)

public abstract ByteString getZoneBytes()

Deprecated.

Required. Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for zone.