public static final class Function.SinkSpec extends com.google.protobuf.GeneratedMessageV3 implements Function.SinkSpecOrBuilder
proto.SinkSpec| Modifier and Type | Class and Description |
|---|---|
static class |
Function.SinkSpec.Builder
Protobuf type
proto.SinkSpec |
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| Modifier and Type | Field and Description |
|---|---|
static int |
BUILTIN_FIELD_NUMBER |
static int |
CLASSNAME_FIELD_NUMBER |
static int |
CONFIGS_FIELD_NUMBER |
static int |
CONSUMERPROPERTIES_FIELD_NUMBER |
static int |
FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER |
static int |
PRODUCERSPEC_FIELD_NUMBER |
static int |
SCHEMAPROPERTIES_FIELD_NUMBER |
static int |
SCHEMATYPE_FIELD_NUMBER |
static int |
SERDECLASSNAME_FIELD_NUMBER |
static int |
TOPIC_FIELD_NUMBER |
static int |
TYPECLASSNAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsConsumerProperties(String key)
map<string, string> consumerProperties = 10; |
boolean |
containsSchemaProperties(String key)
map<string, string> schemaProperties = 9; |
boolean |
equals(Object obj) |
String |
getBuiltin()
If specified, this will refer to an archive that is
already present in the server
|
com.google.protobuf.ByteString |
getBuiltinBytes()
If specified, this will refer to an archive that is
already present in the server
|
String |
getClassName()
string className = 1; |
com.google.protobuf.ByteString |
getClassNameBytes()
string className = 1; |
String |
getConfigs()
map in json format
|
com.google.protobuf.ByteString |
getConfigsBytes()
map in json format
|
Map<String,String> |
getConsumerProperties()
Deprecated.
|
int |
getConsumerPropertiesCount()
map<string, string> consumerProperties = 10; |
Map<String,String> |
getConsumerPropertiesMap()
map<string, string> consumerProperties = 10; |
String |
getConsumerPropertiesOrDefault(String key,
String defaultValue)
map<string, string> consumerProperties = 10; |
String |
getConsumerPropertiesOrThrow(String key)
map<string, string> consumerProperties = 10; |
static Function.SinkSpec |
getDefaultInstance() |
Function.SinkSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8; |
com.google.protobuf.Parser<Function.SinkSpec> |
getParserForType() |
Function.ProducerSpec |
getProducerSpec()
.proto.ProducerSpec producerSpec = 11; |
Function.ProducerSpecOrBuilder |
getProducerSpecOrBuilder()
.proto.ProducerSpec producerSpec = 11; |
Map<String,String> |
getSchemaProperties()
Deprecated.
|
int |
getSchemaPropertiesCount()
map<string, string> schemaProperties = 9; |
Map<String,String> |
getSchemaPropertiesMap()
map<string, string> schemaProperties = 9; |
String |
getSchemaPropertiesOrDefault(String key,
String defaultValue)
map<string, string> schemaProperties = 9; |
String |
getSchemaPropertiesOrThrow(String key)
map<string, string> schemaProperties = 9; |
String |
getSchemaType()
Builtin schema type or custom schema class name
|
com.google.protobuf.ByteString |
getSchemaTypeBytes()
Builtin schema type or custom schema class name
|
String |
getSerDeClassName()
string serDeClassName = 4; |
com.google.protobuf.ByteString |
getSerDeClassNameBytes()
string serDeClassName = 4; |
int |
getSerializedSize() |
String |
getTopic()
configs used only when functions output to sink
|
com.google.protobuf.ByteString |
getTopicBytes()
configs used only when functions output to sink
|
String |
getTypeClassName()
string typeClassName = 5; |
com.google.protobuf.ByteString |
getTypeClassNameBytes()
string typeClassName = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasProducerSpec()
.proto.ProducerSpec producerSpec = 11; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Function.SinkSpec.Builder |
newBuilder() |
static Function.SinkSpec.Builder |
newBuilder(Function.SinkSpec prototype) |
Function.SinkSpec.Builder |
newBuilderForType() |
protected Function.SinkSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Function.SinkSpec |
parseDelimitedFrom(InputStream input) |
static Function.SinkSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SinkSpec |
parseFrom(byte[] data) |
static Function.SinkSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SinkSpec |
parseFrom(ByteBuffer data) |
static Function.SinkSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SinkSpec |
parseFrom(com.google.protobuf.ByteString data) |
static Function.SinkSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SinkSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Function.SinkSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SinkSpec |
parseFrom(InputStream input) |
static Function.SinkSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Function.SinkSpec> |
parser() |
Function.SinkSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLASSNAME_FIELD_NUMBER
public static final int CONFIGS_FIELD_NUMBER
public static final int TYPECLASSNAME_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
public static final int PRODUCERSPEC_FIELD_NUMBER
public static final int SERDECLASSNAME_FIELD_NUMBER
public static final int BUILTIN_FIELD_NUMBER
public static final int SCHEMATYPE_FIELD_NUMBER
public static final int FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER
public static final int SCHEMAPROPERTIES_FIELD_NUMBER
public static final int CONSUMERPROPERTIES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getClassName()
string className = 1;getClassName in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
string className = 1;getClassNameBytes in interface Function.SinkSpecOrBuilderpublic String getConfigs()
map in json format
string configs = 2;getConfigs in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getConfigsBytes()
map in json format
string configs = 2;getConfigsBytes in interface Function.SinkSpecOrBuilderpublic String getTypeClassName()
string typeClassName = 5;getTypeClassName in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getTypeClassNameBytes()
string typeClassName = 5;getTypeClassNameBytes in interface Function.SinkSpecOrBuilderpublic String getTopic()
configs used only when functions output to sink
string topic = 3;getTopic in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getTopicBytes()
configs used only when functions output to sink
string topic = 3;getTopicBytes in interface Function.SinkSpecOrBuilderpublic boolean hasProducerSpec()
.proto.ProducerSpec producerSpec = 11;hasProducerSpec in interface Function.SinkSpecOrBuilderpublic Function.ProducerSpec getProducerSpec()
.proto.ProducerSpec producerSpec = 11;getProducerSpec in interface Function.SinkSpecOrBuilderpublic Function.ProducerSpecOrBuilder getProducerSpecOrBuilder()
.proto.ProducerSpec producerSpec = 11;getProducerSpecOrBuilder in interface Function.SinkSpecOrBuilderpublic String getSerDeClassName()
string serDeClassName = 4;getSerDeClassName in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getSerDeClassNameBytes()
string serDeClassName = 4;getSerDeClassNameBytes in interface Function.SinkSpecOrBuilderpublic String getBuiltin()
If specified, this will refer to an archive that is already present in the server
string builtin = 6;getBuiltin in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getBuiltinBytes()
If specified, this will refer to an archive that is already present in the server
string builtin = 6;getBuiltinBytes in interface Function.SinkSpecOrBuilderpublic String getSchemaType()
Builtin schema type or custom schema class name
string schemaType = 7;getSchemaType in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getSchemaTypeBytes()
Builtin schema type or custom schema class name
string schemaType = 7;getSchemaTypeBytes in interface Function.SinkSpecOrBuilderpublic boolean getForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8;getForwardSourceMessageProperty in interface Function.SinkSpecOrBuilderpublic int getSchemaPropertiesCount()
Function.SinkSpecOrBuildermap<string, string> schemaProperties = 9;getSchemaPropertiesCount in interface Function.SinkSpecOrBuilderpublic boolean containsSchemaProperties(String key)
map<string, string> schemaProperties = 9;containsSchemaProperties in interface Function.SinkSpecOrBuilder@Deprecated public Map<String,String> getSchemaProperties()
getSchemaPropertiesMap() instead.getSchemaProperties in interface Function.SinkSpecOrBuilderpublic Map<String,String> getSchemaPropertiesMap()
map<string, string> schemaProperties = 9;getSchemaPropertiesMap in interface Function.SinkSpecOrBuilderpublic String getSchemaPropertiesOrDefault(String key, String defaultValue)
map<string, string> schemaProperties = 9;getSchemaPropertiesOrDefault in interface Function.SinkSpecOrBuilderpublic String getSchemaPropertiesOrThrow(String key)
map<string, string> schemaProperties = 9;getSchemaPropertiesOrThrow in interface Function.SinkSpecOrBuilderpublic int getConsumerPropertiesCount()
Function.SinkSpecOrBuildermap<string, string> consumerProperties = 10;getConsumerPropertiesCount in interface Function.SinkSpecOrBuilderpublic boolean containsConsumerProperties(String key)
map<string, string> consumerProperties = 10;containsConsumerProperties in interface Function.SinkSpecOrBuilder@Deprecated public Map<String,String> getConsumerProperties()
getConsumerPropertiesMap() instead.getConsumerProperties in interface Function.SinkSpecOrBuilderpublic Map<String,String> getConsumerPropertiesMap()
map<string, string> consumerProperties = 10;getConsumerPropertiesMap in interface Function.SinkSpecOrBuilderpublic String getConsumerPropertiesOrDefault(String key, String defaultValue)
map<string, string> consumerProperties = 10;getConsumerPropertiesOrDefault in interface Function.SinkSpecOrBuilderpublic String getConsumerPropertiesOrThrow(String key)
map<string, string> consumerProperties = 10;getConsumerPropertiesOrThrow in interface Function.SinkSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Function.SinkSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SinkSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SinkSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SinkSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SinkSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SinkSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SinkSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static Function.SinkSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Function.SinkSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Function.SinkSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Function.SinkSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Function.SinkSpec.Builder newBuilder()
public static Function.SinkSpec.Builder newBuilder(Function.SinkSpec prototype)
public Function.SinkSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Function.SinkSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Function.SinkSpec getDefaultInstance()
public static com.google.protobuf.Parser<Function.SinkSpec> parser()
public com.google.protobuf.Parser<Function.SinkSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Function.SinkSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017–2021 Apache Software Foundation. All rights reserved.