Interface CancelOrderRequestOrBuilder (0.51.0)

public interface CancelOrderRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCancellationPolicy()

public abstract CancelOrderRequest.CancellationPolicy getCancellationPolicy()

Optional. Cancellation policy of this request.

.google.cloud.commerce.consumer.procurement.v1.CancelOrderRequest.CancellationPolicy cancellation_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CancelOrderRequest.CancellationPolicy

The cancellationPolicy.

getCancellationPolicyValue()

public abstract int getCancellationPolicyValue()

Optional. Cancellation policy of this request.

.google.cloud.commerce.consumer.procurement.v1.CancelOrderRequest.CancellationPolicy cancellation_policy = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for cancellationPolicy.

getEtag()

public abstract String getEtag()

Optional. The weak etag, which can be optionally populated, of the order that this cancel request is based on. Validation checking will only happen if the invoker supplies this field.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Optional. The weak etag, which can be optionally populated, of the order that this cancel request is based on. Validation checking will only happen if the invoker supplies this field.

string etag = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for etag.

getName()

public abstract String getName()

Required. The resource name of the order.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the order.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.