Interface HttpOperationOrBuilder (0.28.0)

public interface HttpOperationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMethod()

public abstract HttpOperation.Method getMethod()

Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
HttpOperation.Method

The method.

getMethodValue()

public abstract int getMethodValue()

Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

.google.cloud.apihub.v1.HttpOperation.Method method = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for method.

getPath()

public abstract Path getPath()

Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Path

The path.

getPathOrBuilder()

public abstract PathOrBuilder getPathOrBuilder()

Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PathOrBuilder

hasPath()

public abstract boolean hasPath()

Optional. The path details for the Operation. Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.

.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the path field is set.