Class SchemaRegistryFormat.SchemaInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.broker.service.schema.proto.SchemaRegistryFormat.SchemaInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,SchemaRegistryFormat.SchemaInfoOrBuilder
- Enclosing class:
- SchemaRegistryFormat
public static final class SchemaRegistryFormat.SchemaInfo
extends com.google.protobuf.GeneratedMessageV3
implements SchemaRegistryFormat.SchemaInfoOrBuilder
Protobuf type
pulsar.schema.SchemaInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typepulsar.schema.SchemaInfostatic final classProtobuf typepulsar.schema.SchemaInfo.KeyValuePairstatic interfacestatic enumProtobuf enumpulsar.schema.SchemaInfo.SchemaTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo>Deprecated.static final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanrequired bool deleted = 6;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo>getProps(int index) repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;intrepeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;getPropsOrBuilder(int index) repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;com.google.protobuf.ByteStringrequired bytes schema = 4;required string schema_id = 1;com.google.protobuf.ByteStringrequired string schema_id = 1;intlongrequired int64 timestamp = 5;getType()required .pulsar.schema.SchemaInfo.SchemaType type = 3;final com.google.protobuf.UnknownFieldSetgetUser()required string user = 2;com.google.protobuf.ByteStringrequired string user = 2;booleanrequired bool deleted = 6;inthashCode()booleanrequired bytes schema = 4;booleanrequired string schema_id = 1;booleanrequired int64 timestamp = 5;booleanhasType()required .pulsar.schema.SchemaInfo.SchemaType type = 3;booleanhasUser()required string user = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(SchemaRegistryFormat.SchemaInfo prototype) protected SchemaRegistryFormat.SchemaInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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, hasField, hasOneof
-
Field Details
-
SCHEMA_ID_FIELD_NUMBER
public static final int SCHEMA_ID_FIELD_NUMBER- See Also:
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER- See Also:
-
PROPS_FIELD_NUMBER
public static final int PROPS_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSchemaId
public boolean hasSchemaId()required string schema_id = 1;- Specified by:
hasSchemaIdin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- Whether the schemaId field is set.
-
getSchemaId
required string schema_id = 1;- Specified by:
getSchemaIdin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The schemaId.
-
getSchemaIdBytes
public com.google.protobuf.ByteString getSchemaIdBytes()required string schema_id = 1;- Specified by:
getSchemaIdBytesin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The bytes for schemaId.
-
hasUser
public boolean hasUser()required string user = 2;- Specified by:
hasUserin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- Whether the user field is set.
-
getUser
required string user = 2;- Specified by:
getUserin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()required string user = 2;- Specified by:
getUserBytesin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The bytes for user.
-
hasType
public boolean hasType()required .pulsar.schema.SchemaInfo.SchemaType type = 3;- Specified by:
hasTypein interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
required .pulsar.schema.SchemaInfo.SchemaType type = 3;- Specified by:
getTypein interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The type.
-
hasSchema
public boolean hasSchema()required bytes schema = 4;- Specified by:
hasSchemain interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- Whether the schema field is set.
-
getSchema
public com.google.protobuf.ByteString getSchema()required bytes schema = 4;- Specified by:
getSchemain interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The schema.
-
hasTimestamp
public boolean hasTimestamp()required int64 timestamp = 5;- Specified by:
hasTimestampin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()required int64 timestamp = 5;- Specified by:
getTimestampin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The timestamp.
-
hasDeleted
public boolean hasDeleted()required bool deleted = 6;- Specified by:
hasDeletedin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- Whether the deleted field is set.
-
getDeleted
public boolean getDeleted()required bool deleted = 6;- Specified by:
getDeletedin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder- Returns:
- The deleted.
-
getPropsList
repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsListin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
getPropsOrBuilderList
public List<? extends SchemaRegistryFormat.SchemaInfo.KeyValuePairOrBuilder> getPropsOrBuilderList()repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsOrBuilderListin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
getPropsCount
public int getPropsCount()repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsCountin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
getProps
repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
getPropsOrBuilder
repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsOrBuilderin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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 SchemaRegistryFormat.SchemaInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SchemaRegistryFormat.SchemaInfo parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SchemaRegistryFormat.SchemaInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo 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
public static SchemaRegistryFormat.SchemaInfo.Builder newBuilder(SchemaRegistryFormat.SchemaInfo prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SchemaRegistryFormat.SchemaInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-