Class OperationDetails

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.OperationDetails
All Implemented Interfaces:
OperationDetailsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class OperationDetails extends com.google.protobuf.GeneratedMessage implements OperationDetailsOrBuilder
 The operation details parsed from the spec.
 
Protobuf type google.cloud.apihub.v1.OperationDetails
See Also:
  • Field Details

    • HTTP_OPERATION_FIELD_NUMBER

      public static final int HTTP_OPERATION_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • DOCUMENTATION_FIELD_NUMBER

      public static final int DOCUMENTATION_FIELD_NUMBER
      See Also:
    • DEPRECATED_FIELD_NUMBER

      public static final int DEPRECATED_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getOperationCase

      public OperationDetails.OperationCase getOperationCase()
      Specified by:
      getOperationCase in interface OperationDetailsOrBuilder
    • hasHttpOperation

      public boolean hasHttpOperation()
       The HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperation http_operation = 4;
      Specified by:
      hasHttpOperation in interface OperationDetailsOrBuilder
      Returns:
      Whether the httpOperation field is set.
    • getHttpOperation

      public HttpOperation getHttpOperation()
       The HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperation http_operation = 4;
      Specified by:
      getHttpOperation in interface OperationDetailsOrBuilder
      Returns:
      The httpOperation.
    • getHttpOperationOrBuilder

      public HttpOperationOrBuilder getHttpOperationOrBuilder()
       The HTTP Operation.
       
      .google.cloud.apihub.v1.HttpOperation http_operation = 4;
      Specified by:
      getHttpOperationOrBuilder in interface OperationDetailsOrBuilder
    • getDescription

      public String getDescription()
       Optional. Description of the operation behavior.
       For OpenAPI spec, this will map to `operation.description` in the
       spec, in case description is empty, `operation.summary` will be used.
       
      string description = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface OperationDetailsOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the operation behavior.
       For OpenAPI spec, this will map to `operation.description` in the
       spec, in case description is empty, `operation.summary` will be used.
       
      string description = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface OperationDetailsOrBuilder
      Returns:
      The bytes for description.
    • hasDocumentation

      public boolean hasDocumentation()
       Optional. Additional external documentation for this operation.
       For OpenAPI spec, this will map to `operation.documentation` in the spec.
       
      .google.cloud.apihub.v1.Documentation documentation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDocumentation in interface OperationDetailsOrBuilder
      Returns:
      Whether the documentation field is set.
    • getDocumentation

      public Documentation getDocumentation()
       Optional. Additional external documentation for this operation.
       For OpenAPI spec, this will map to `operation.documentation` in the spec.
       
      .google.cloud.apihub.v1.Documentation documentation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentation in interface OperationDetailsOrBuilder
      Returns:
      The documentation.
    • getDocumentationOrBuilder

      public DocumentationOrBuilder getDocumentationOrBuilder()
       Optional. Additional external documentation for this operation.
       For OpenAPI spec, this will map to `operation.documentation` in the spec.
       
      .google.cloud.apihub.v1.Documentation documentation = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentationOrBuilder in interface OperationDetailsOrBuilder
    • getDeprecated

      public boolean getDeprecated()
       Optional. For OpenAPI spec, this will be set if `operation.deprecated`is
       marked as `true` in the spec.
       
      bool deprecated = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeprecated in interface OperationDetailsOrBuilder
      Returns:
      The deprecated.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static OperationDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static OperationDetails parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperationDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OperationDetails parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static OperationDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperationDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static OperationDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public OperationDetails.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static OperationDetails.Builder newBuilder()
    • newBuilder

      public static OperationDetails.Builder newBuilder(OperationDetails prototype)
    • toBuilder

      public OperationDetails.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected OperationDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static OperationDetails getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<OperationDetails> parser()
    • getParserForType

      public com.google.protobuf.Parser<OperationDetails> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public OperationDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder