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

    Modifier and Type
    Method
    Description
    Optional.
    int
    Optional.
    Optional.
    Optional.
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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.