Package com.google.cloud.apihub.v1
Interface HttpOperationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpOperation,HttpOperation.Builder
@Generated
public interface HttpOperationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPath
boolean hasPath()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the path field is set.
-
getPath
Path getPath()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The path.
-
getPathOrBuilder
PathOrBuilder getPathOrBuilder()Optional. The path details for the Operation. Note: Even though this field is optional, it is required for [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] API and we will fail the request if not provided.
.google.cloud.apihub.v1.Path path = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getMethodValue
int getMethodValue()Optional. Operation method Note: Even though this field is optional, it is required for [CreateApiOperation][google.cloud.apihub.v1.ApiHub.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:
- The enum numeric value on the wire for method.
-
getMethod
HttpOperation.Method getMethod()Optional. Operation method Note: Even though this field is optional, it is required for [CreateApiOperation][google.cloud.apihub.v1.ApiHub.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:
- The method.
-