Class ApiSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apigeeregistry.v1.ApiSpec
- All Implemented Interfaces:
ApiSpecOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ApiSpec
extends com.google.protobuf.GeneratedMessage
implements ApiSpecOrBuilder
Describes a version of an API in a structured way. ApiSpecs provide formal descriptions that consumers can use to use a version. ApiSpec resources are intended to be fully-resolved descriptions of an ApiVersion. When specs consist of multiple files, these should be bundled together (e.g., in a zip archive) and stored as a unit. Multiple specs can exist to provide representations in different API description formats. Synchronization of these representations would be provided by tooling and background services.Protobuf type
google.cloud.apigeeregistry.v1.ApiSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes a version of an API in a structured way.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnnotations attach non-identifying metadata to resources.booleancontainsLabels(String key) Labels attach identifying metadata to resources.booleanDeprecated.intAnnotations attach non-identifying metadata to resources.Annotations attach non-identifying metadata to resources.getAnnotationsOrDefault(String key, String defaultValue) Annotations attach non-identifying metadata to resources.Annotations attach non-identifying metadata to resources.com.google.protobuf.ByteStringInput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static ApiSpecA detailed description.com.google.protobuf.ByteStringA detailed description.static final com.google.protobuf.Descriptors.DescriptorA possibly-hierarchical name used to refer to the spec from other specs.com.google.protobuf.ByteStringA possibly-hierarchical name used to refer to the spec from other specs.getHash()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intLabels attach identifying metadata to resources.Labels attach identifying metadata to resources.getLabelsOrDefault(String key, String defaultValue) Labels attach identifying metadata to resources.getLabelsOrThrow(String key) Labels attach identifying metadata to resources.A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type).com.google.protobuf.ByteStringA style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type).getName()Resource name.com.google.protobuf.ByteStringResource name.com.google.protobuf.Parser<ApiSpec>com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intintOutput only.The original source URI of the spec (if one exists).com.google.protobuf.ByteStringThe original source URI of the spec (if one exists).booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ApiSpec.Builderstatic ApiSpec.BuildernewBuilder(ApiSpec prototype) protected ApiSpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ApiSpecparseDelimitedFrom(InputStream input) static ApiSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiSpecparseFrom(byte[] data) static ApiSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiSpecparseFrom(com.google.protobuf.ByteString data) static ApiSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiSpecparseFrom(com.google.protobuf.CodedInputStream input) static ApiSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiSpecparseFrom(InputStream input) static ApiSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ApiSpecparseFrom(ByteBuffer data) static ApiSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ApiSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
REVISION_ID_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
REVISION_CREATE_TIME_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER- See Also:
-
REVISION_UPDATE_TIME_FIELD_NUMBER
public static final int REVISION_UPDATE_TIME_FIELD_NUMBER- See Also:
-
MIME_TYPE_FIELD_NUMBER
public static final int MIME_TYPE_FIELD_NUMBER- See Also:
-
SIZE_BYTES_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER- See Also:
-
HASH_FIELD_NUMBER
public static final int HASH_FIELD_NUMBER- See Also:
-
SOURCE_URI_FIELD_NUMBER
public static final int SOURCE_URI_FIELD_NUMBER- See Also:
-
CONTENTS_FIELD_NUMBER
public static final int CONTENTS_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Resource name.
string name = 1;- Specified by:
getNamein interfaceApiSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Resource name.
string name = 1;- Specified by:
getNameBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for name.
-
getFilename
A possibly-hierarchical name used to refer to the spec from other specs.
string filename = 2;- Specified by:
getFilenamein interfaceApiSpecOrBuilder- Returns:
- The filename.
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()A possibly-hierarchical name used to refer to the spec from other specs.
string filename = 2;- Specified by:
getFilenameBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for filename.
-
getDescription
A detailed description.
string description = 3;- Specified by:
getDescriptionin interfaceApiSpecOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A detailed description.
string description = 3;- Specified by:
getDescriptionBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for description.
-
getRevisionId
Output only. Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string.
string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdin interfaceApiSpecOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public com.google.protobuf.ByteString getRevisionIdBytes()Output only. Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string.
string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionIdBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for revisionId.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation timestamp; when the spec resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceApiSpecOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation timestamp; when the spec resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceApiSpecOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation timestamp; when the spec resource was created.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceApiSpecOrBuilder
-
hasRevisionCreateTime
public boolean hasRevisionCreateTime()Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionCreateTimein interfaceApiSpecOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public com.google.protobuf.Timestamp getRevisionCreateTime()Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimein interfaceApiSpecOrBuilder- Returns:
- The revisionCreateTime.
-
getRevisionCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()Output only. Revision creation timestamp; when the represented revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionCreateTimeOrBuilderin interfaceApiSpecOrBuilder
-
hasRevisionUpdateTime
public boolean hasRevisionUpdateTime()Output only. Last update timestamp: when the represented revision was last modified.
.google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasRevisionUpdateTimein interfaceApiSpecOrBuilder- Returns:
- Whether the revisionUpdateTime field is set.
-
getRevisionUpdateTime
public com.google.protobuf.Timestamp getRevisionUpdateTime()Output only. Last update timestamp: when the represented revision was last modified.
.google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionUpdateTimein interfaceApiSpecOrBuilder- Returns:
- The revisionUpdateTime.
-
getRevisionUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRevisionUpdateTimeOrBuilder()Output only. Last update timestamp: when the represented revision was last modified.
.google.protobuf.Timestamp revision_update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRevisionUpdateTimeOrBuilderin interfaceApiSpecOrBuilder
-
getMimeType
A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and `application/vnd.apigee.graphql`, with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
string mime_type = 8;- Specified by:
getMimeTypein interfaceApiSpecOrBuilder- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and `application/vnd.apigee.graphql`, with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
string mime_type = 8;- Specified by:
getMimeTypeBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for mimeType.
-
getSizeBytes
public int getSizeBytes()Output only. The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec.
int32 size_bytes = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSizeBytesin interfaceApiSpecOrBuilder- Returns:
- The sizeBytes.
-
getHash
Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.
string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHashin interfaceApiSpecOrBuilder- Returns:
- The hash.
-
getHashBytes
public com.google.protobuf.ByteString getHashBytes()Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.
string hash = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHashBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for hash.
-
getSourceUri
The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.
string source_uri = 11;- Specified by:
getSourceUriin interfaceApiSpecOrBuilder- Returns:
- The sourceUri.
-
getSourceUriBytes
public com.google.protobuf.ByteString getSourceUriBytes()The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.
string source_uri = 11;- Specified by:
getSourceUriBytesin interfaceApiSpecOrBuilder- Returns:
- The bytes for sourceUri.
-
getContents
public com.google.protobuf.ByteString getContents()Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents.
bytes contents = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContentsin interfaceApiSpecOrBuilder- Returns:
- The contents.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ApiSpecOrBuilderLabels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 14;- Specified by:
getLabelsCountin interfaceApiSpecOrBuilder
-
containsLabels
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 14;- Specified by:
containsLabelsin interfaceApiSpecOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceApiSpecOrBuilder
-
getLabelsMap
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 14;- Specified by:
getLabelsMapin interfaceApiSpecOrBuilder
-
getLabelsOrDefault
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 14;- Specified by:
getLabelsOrDefaultin interfaceApiSpecOrBuilder
-
getLabelsOrThrow
Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed.
map<string, string> labels = 14;- Specified by:
getLabelsOrThrowin interfaceApiSpecOrBuilder
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:ApiSpecOrBuilderAnnotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;- Specified by:
getAnnotationsCountin interfaceApiSpecOrBuilder
-
containsAnnotations
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;- Specified by:
containsAnnotationsin interfaceApiSpecOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceApiSpecOrBuilder
-
getAnnotationsMap
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;- Specified by:
getAnnotationsMapin interfaceApiSpecOrBuilder
-
getAnnotationsOrDefault
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;- Specified by:
getAnnotationsOrDefaultin interfaceApiSpecOrBuilder
-
getAnnotationsOrThrow
Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
map<string, string> annotations = 15;- Specified by:
getAnnotationsOrThrowin interfaceApiSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ApiSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ApiSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ApiSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ApiSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ApiSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ApiSpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-