Interface OpenApiSpecDetailsOrBuilder (0.5.0)

public interface OpenApiSpecDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFormat()

public abstract 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
Type Description
OpenApiSpecDetails.Format

The format.

getFormatValue()

public abstract int getFormatValue()

Output only. The format of the spec.

.google.cloud.apihub.v1.OpenApiSpecDetails.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for format.

getOwner()

public abstract 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
Type Description
Owner

The owner.

getOwnerOrBuilder()

public abstract 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];

Returns
Type Description
OwnerOrBuilder

getVersion()

public abstract 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
Type Description
String

The version.

getVersionBytes()

public abstract 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
Type Description
ByteString

The bytes for version.

hasOwner()

public abstract 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
Type Description
boolean

Whether the owner field is set.