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,java.io.Serializable,SchemaRegistryFormat.SchemaInfoOrBuilder
- Enclosing class:
- SchemaRegistryFormat
public static final class SchemaRegistryFormat.SchemaInfo extends com.google.protobuf.GeneratedMessageV3 implements SchemaRegistryFormat.SchemaInfoOrBuilder
Protobuf typepulsar.schema.SchemaInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchemaRegistryFormat.SchemaInfo.BuilderProtobuf typepulsar.schema.SchemaInfostatic classSchemaRegistryFormat.SchemaInfo.KeyValuePairProtobuf typepulsar.schema.SchemaInfo.KeyValuePairstatic interfaceSchemaRegistryFormat.SchemaInfo.KeyValuePairOrBuilderstatic classSchemaRegistryFormat.SchemaInfo.SchemaTypeProtobuf enumpulsar.schema.SchemaInfo.SchemaType-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intDELETED_FIELD_NUMBERstatic com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo>PARSERDeprecated.static intPROPS_FIELD_NUMBERstatic intSCHEMA_FIELD_NUMBERstatic intSCHEMA_ID_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBERstatic intTYPE_FIELD_NUMBERstatic intUSER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static SchemaRegistryFormat.SchemaInfogetDefaultInstance()SchemaRegistryFormat.SchemaInfogetDefaultInstanceForType()booleangetDeleted()required bool deleted = 6;static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo>getParserForType()SchemaRegistryFormat.SchemaInfo.KeyValuePairgetProps(int index)repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;intgetPropsCount()repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;java.util.List<SchemaRegistryFormat.SchemaInfo.KeyValuePair>getPropsList()repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;SchemaRegistryFormat.SchemaInfo.KeyValuePairOrBuildergetPropsOrBuilder(int index)repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;java.util.List<? extends SchemaRegistryFormat.SchemaInfo.KeyValuePairOrBuilder>getPropsOrBuilderList()repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;com.google.protobuf.ByteStringgetSchema()required bytes schema = 4;java.lang.StringgetSchemaId()required string schema_id = 1;com.google.protobuf.ByteStringgetSchemaIdBytes()required string schema_id = 1;intgetSerializedSize()longgetTimestamp()required int64 timestamp = 5;SchemaRegistryFormat.SchemaInfo.SchemaTypegetType()required .pulsar.schema.SchemaInfo.SchemaType type = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()java.lang.StringgetUser()required string user = 2;com.google.protobuf.ByteStringgetUserBytes()required string user = 2;booleanhasDeleted()required bool deleted = 6;inthashCode()booleanhasSchema()required bytes schema = 4;booleanhasSchemaId()required string schema_id = 1;booleanhasTimestamp()required int64 timestamp = 5;booleanhasType()required .pulsar.schema.SchemaInfo.SchemaType type = 3;booleanhasUser()required string user = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SchemaRegistryFormat.SchemaInfo.BuildernewBuilder()static SchemaRegistryFormat.SchemaInfo.BuildernewBuilder(SchemaRegistryFormat.SchemaInfo prototype)SchemaRegistryFormat.SchemaInfo.BuildernewBuilderForType()protected SchemaRegistryFormat.SchemaInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SchemaRegistryFormat.SchemaInfoparseDelimitedFrom(java.io.InputStream input)static SchemaRegistryFormat.SchemaInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SchemaRegistryFormat.SchemaInfoparseFrom(byte[] data)static SchemaRegistryFormat.SchemaInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SchemaRegistryFormat.SchemaInfoparseFrom(com.google.protobuf.ByteString data)static SchemaRegistryFormat.SchemaInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SchemaRegistryFormat.SchemaInfoparseFrom(com.google.protobuf.CodedInputStream input)static SchemaRegistryFormat.SchemaInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SchemaRegistryFormat.SchemaInfoparseFrom(java.io.InputStream input)static SchemaRegistryFormat.SchemaInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SchemaRegistryFormat.SchemaInfoparseFrom(java.nio.ByteBuffer data)static SchemaRegistryFormat.SchemaInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo>parser()SchemaRegistryFormat.SchemaInfo.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SCHEMA_ID_FIELD_NUMBER
public static final int SCHEMA_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETED_FIELD_NUMBER
public static final int DELETED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPS_FIELD_NUMBER
public static final int PROPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String 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
public java.lang.String 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
public SchemaRegistryFormat.SchemaInfo.SchemaType 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
public java.util.List<SchemaRegistryFormat.SchemaInfo.KeyValuePair> getPropsList()
repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsListin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
getPropsOrBuilderList
public java.util.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
public SchemaRegistryFormat.SchemaInfo.KeyValuePair getProps(int index)
repeated .pulsar.schema.SchemaInfo.KeyValuePair props = 7;- Specified by:
getPropsin interfaceSchemaRegistryFormat.SchemaInfoOrBuilder
-
getPropsOrBuilder
public SchemaRegistryFormat.SchemaInfo.KeyValuePairOrBuilder getPropsOrBuilder(int index)
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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(java.nio.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
public static SchemaRegistryFormat.SchemaInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SchemaRegistryFormat.SchemaInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static SchemaRegistryFormat.SchemaInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static SchemaRegistryFormat.SchemaInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public SchemaRegistryFormat.SchemaInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SchemaRegistryFormat.SchemaInfo.Builder newBuilder()
-
newBuilder
public static SchemaRegistryFormat.SchemaInfo.Builder newBuilder(SchemaRegistryFormat.SchemaInfo prototype)
-
toBuilder
public SchemaRegistryFormat.SchemaInfo.Builder 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
public static SchemaRegistryFormat.SchemaInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<SchemaRegistryFormat.SchemaInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SchemaRegistryFormat.SchemaInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-