public static final class PulsarApi.Schema extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.SchemaOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.Schema.Builder |
static class |
PulsarApi.Schema.Type |
org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.GeneratedExtension<ContainingType extends org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
SCHEMA_DATA_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static PulsarApi.Schema |
getDefaultInstance() |
PulsarApi.Schema |
getDefaultInstanceForType() |
String |
getName() |
PulsarApi.KeyValue |
getProperties(int index) |
int |
getPropertiesCount() |
List<PulsarApi.KeyValue> |
getPropertiesList() |
PulsarApi.KeyValueOrBuilder |
getPropertiesOrBuilder(int index) |
List<? extends PulsarApi.KeyValueOrBuilder> |
getPropertiesOrBuilderList() |
org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString |
getSchemaData() |
int |
getSerializedSize() |
PulsarApi.Schema.Type |
getType() |
boolean |
hasName() |
boolean |
hasSchemaData() |
boolean |
hasType() |
boolean |
isInitialized() |
static PulsarApi.Schema.Builder |
newBuilder() |
static PulsarApi.Schema.Builder |
newBuilder(PulsarApi.Schema prototype) |
PulsarApi.Schema.Builder |
newBuilderForType() |
static PulsarApi.Schema |
parseDelimitedFrom(InputStream input) |
static PulsarApi.Schema |
parseDelimitedFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.Schema |
parseFrom(byte[] data) |
static PulsarApi.Schema |
parseFrom(byte[] data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.Schema |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) |
static PulsarApi.Schema |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.Schema |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) |
static PulsarApi.Schema |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.Schema |
parseFrom(InputStream input) |
static PulsarApi.Schema |
parseFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
void |
recycle() |
PulsarApi.Schema.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(ByteBufCodedOutputStream output) |
void |
writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output) |
newRepeatedGeneratedExtension, newSingularGeneratedExtensionpublic static final int NAME_FIELD_NUMBER
public static final int SCHEMA_DATA_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
public void recycle()
public static PulsarApi.Schema getDefaultInstance()
public PulsarApi.Schema getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasName()
hasName in interface PulsarApi.SchemaOrBuilderpublic String getName()
getName in interface PulsarApi.SchemaOrBuilderpublic boolean hasSchemaData()
hasSchemaData in interface PulsarApi.SchemaOrBuilderpublic org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString getSchemaData()
getSchemaData in interface PulsarApi.SchemaOrBuilderpublic boolean hasType()
hasType in interface PulsarApi.SchemaOrBuilderpublic PulsarApi.Schema.Type getType()
getType in interface PulsarApi.SchemaOrBuilderpublic List<PulsarApi.KeyValue> getPropertiesList()
getPropertiesList in interface PulsarApi.SchemaOrBuilderpublic List<? extends PulsarApi.KeyValueOrBuilder> getPropertiesOrBuilderList()
public int getPropertiesCount()
getPropertiesCount in interface PulsarApi.SchemaOrBuilderpublic PulsarApi.KeyValue getProperties(int index)
getProperties in interface PulsarApi.SchemaOrBuilderpublic PulsarApi.KeyValueOrBuilder getPropertiesOrBuilder(int index)
public final boolean isInitialized()
isInitialized in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic void writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteIOExceptionpublic void writeTo(ByteBufCodedOutputStream output) throws IOException
writeTo in interface ByteBufCodedOutputStream.ByteBufGeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface ByteBufCodedOutputStream.ByteBufGeneratedMessagegetSerializedSize in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLiteObjectStreamExceptionpublic static PulsarApi.Schema parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.Schema parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.Schema parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.Schema parseFrom(byte[] data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.Schema parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.Schema parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.Schema parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.Schema parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.Schema parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.Schema parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.Schema.Builder newBuilder()
public PulsarApi.Schema.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.Schema.Builder newBuilder(PulsarApi.Schema prototype)
public PulsarApi.Schema.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.