Interface OpenApiSpecDetailsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OpenApiSpecDetails, OpenApiSpecDetails.Builder

@Generated public interface OpenApiSpecDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Output only.
    int
    Output only.
    Output only.
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.

    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

    • getFormatValue

      int getFormatValue()
       Output only. The format of the spec.
       
      .google.cloud.apihub.v1.OpenApiSpecDetails.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for format.
    • getFormat

       Output only. The format of the spec.
       
      .google.cloud.apihub.v1.OpenApiSpecDetails.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The format.
    • getVersion

      String getVersion()
       Output only. The version in the spec.
       This maps to `info.version` in OpenAPI spec.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Output only. The version in the spec.
       This maps to `info.version` in OpenAPI spec.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for version.
    • hasOwner

      boolean hasOwner()
       Output only. Owner details for the spec.
       This maps to `info.contact` in OpenAPI spec.
       
      .google.cloud.apihub.v1.Owner owner = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the owner field is set.
    • getOwner

      Owner getOwner()
       Output only. Owner details for the spec.
       This maps to `info.contact` in OpenAPI spec.
       
      .google.cloud.apihub.v1.Owner owner = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The owner.
    • getOwnerOrBuilder

      OwnerOrBuilder getOwnerOrBuilder()
       Output only. Owner details for the spec.
       This maps to `info.contact` in OpenAPI spec.
       
      .google.cloud.apihub.v1.Owner owner = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];