Package com.google.cloud.apihub.v1
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
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
-
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
OpenApiSpecDetails.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];
-