public final class OpenApiSpecDetails extends GeneratedMessageV3 implements OpenApiSpecDetailsOrBuilder
OpenApiSpecDetails contains the details parsed from an OpenAPI spec in
addition to the fields mentioned in
SpecDetails.
Protobuf type google.cloud.apihub.v1.OpenApiSpecDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int FORMAT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OWNER_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OpenApiSpecDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OpenApiSpecDetails.Builder newBuilder()
newBuilder(OpenApiSpecDetails prototype)
public static OpenApiSpecDetails.Builder newBuilder(OpenApiSpecDetails prototype)
public static OpenApiSpecDetails parseDelimitedFrom(InputStream input)
public static OpenApiSpecDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OpenApiSpecDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OpenApiSpecDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OpenApiSpecDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OpenApiSpecDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OpenApiSpecDetails parseFrom(CodedInputStream input)
public static OpenApiSpecDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OpenApiSpecDetails parseFrom(InputStream input)
public static OpenApiSpecDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OpenApiSpecDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OpenApiSpecDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OpenApiSpecDetails> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public OpenApiSpecDetails getDefaultInstanceForType()
public OpenApiSpecDetails.Format getFormat()
Output only. The format of the spec.
.google.cloud.apihub.v1.OpenApiSpecDetails.Format format = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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()
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 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];
getParserForType()
public Parser<OpenApiSpecDetails> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getVersion()
public 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 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 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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OpenApiSpecDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OpenApiSpecDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public OpenApiSpecDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides