Class SpecDetails (0.1.0)

public final class SpecDetails extends GeneratedMessageV3 implements SpecDetailsOrBuilder

SpecDetails contains the details parsed from supported spec types.

Protobuf type google.cloud.apihub.v1.SpecDetails

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

OPEN_API_SPEC_DETAILS_FIELD_NUMBER

public static final int OPEN_API_SPEC_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SpecDetails getDefaultInstance()
Returns
Type Description
SpecDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SpecDetails.Builder newBuilder()
Returns
Type Description
SpecDetails.Builder

newBuilder(SpecDetails prototype)

public static SpecDetails.Builder newBuilder(SpecDetails prototype)
Parameter
Name Description
prototype SpecDetails
Returns
Type Description
SpecDetails.Builder

parseDelimitedFrom(InputStream input)

public static SpecDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SpecDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SpecDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SpecDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SpecDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SpecDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SpecDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SpecDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SpecDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SpecDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SpecDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SpecDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SpecDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SpecDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SpecDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SpecDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SpecDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SpecDetails> parser()
Returns
Type Description
Parser<SpecDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SpecDetails getDefaultInstanceForType()
Returns
Type Description
SpecDetails

getDescription()

public String getDescription()

Output only. The description of the spec.

string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. The description of the spec.

string description = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for description.

getDetailsCase()

public SpecDetails.DetailsCase getDetailsCase()
Returns
Type Description
SpecDetails.DetailsCase

getOpenApiSpecDetails()

public OpenApiSpecDetails getOpenApiSpecDetails()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OpenApiSpecDetails

The openApiSpecDetails.

getOpenApiSpecDetailsOrBuilder()

public OpenApiSpecDetailsOrBuilder getOpenApiSpecDetailsOrBuilder()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OpenApiSpecDetailsOrBuilder

getParserForType()

public Parser<SpecDetails> getParserForType()
Returns
Type Description
Parser<SpecDetails>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOpenApiSpecDetails()

public boolean hasOpenApiSpecDetails()

Output only. Additional details apart from OperationDetails parsed from an OpenAPI spec. The OperationDetails parsed from the spec can be obtained by using ListAPIOperations method.

.google.cloud.apihub.v1.OpenApiSpecDetails open_api_spec_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the openApiSpecDetails field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SpecDetails.Builder newBuilderForType()
Returns
Type Description
SpecDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SpecDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SpecDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SpecDetails.Builder toBuilder()
Returns
Type Description
SpecDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException