public static final class Function.SinkSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder> implements Function.SinkSpecOrBuilder
proto.SinkSpec| Modifier and Type | Method and Description |
|---|---|
Function.SinkSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Function.SinkSpec |
build() |
Function.SinkSpec |
buildPartial() |
Function.SinkSpec.Builder |
clear() |
Function.SinkSpec.Builder |
clearBuiltin()
If specified, this will refer to an archive that is
already present in the server
|
Function.SinkSpec.Builder |
clearClassName()
string className = 1; |
Function.SinkSpec.Builder |
clearConfigs()
map in json format
|
Function.SinkSpec.Builder |
clearConsumerProperties() |
Function.SinkSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Function.SinkSpec.Builder |
clearForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8; |
Function.SinkSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Function.SinkSpec.Builder |
clearProducerSpec()
.proto.ProducerSpec producerSpec = 11; |
Function.SinkSpec.Builder |
clearSchemaProperties() |
Function.SinkSpec.Builder |
clearSchemaType()
Builtin schema type or custom schema class name
|
Function.SinkSpec.Builder |
clearSerDeClassName()
string serDeClassName = 4; |
Function.SinkSpec.Builder |
clearTopic()
configs used only when functions output to sink
|
Function.SinkSpec.Builder |
clearTypeClassName()
string typeClassName = 5; |
Function.SinkSpec.Builder |
clone() |
boolean |
containsConsumerProperties(String key)
map<string, string> consumerProperties = 10; |
boolean |
containsSchemaProperties(String key)
map<string, string> schemaProperties = 9; |
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; |
Function.SinkSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8; |
Map<String,String> |
getMutableConsumerProperties()
Deprecated.
|
Map<String,String> |
getMutableSchemaProperties()
Deprecated.
|
Function.ProducerSpec |
getProducerSpec()
.proto.ProducerSpec producerSpec = 11; |
Function.ProducerSpec.Builder |
getProducerSpecBuilder()
.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; |
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; |
boolean |
hasProducerSpec()
.proto.ProducerSpec producerSpec = 11; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Function.SinkSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Function.SinkSpec.Builder |
mergeFrom(Function.SinkSpec other) |
Function.SinkSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
Function.SinkSpec.Builder |
mergeProducerSpec(Function.ProducerSpec value)
.proto.ProducerSpec producerSpec = 11; |
Function.SinkSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Function.SinkSpec.Builder |
putAllConsumerProperties(Map<String,String> values)
map<string, string> consumerProperties = 10; |
Function.SinkSpec.Builder |
putAllSchemaProperties(Map<String,String> values)
map<string, string> schemaProperties = 9; |
Function.SinkSpec.Builder |
putConsumerProperties(String key,
String value)
map<string, string> consumerProperties = 10; |
Function.SinkSpec.Builder |
putSchemaProperties(String key,
String value)
map<string, string> schemaProperties = 9; |
Function.SinkSpec.Builder |
removeConsumerProperties(String key)
map<string, string> consumerProperties = 10; |
Function.SinkSpec.Builder |
removeSchemaProperties(String key)
map<string, string> schemaProperties = 9; |
Function.SinkSpec.Builder |
setBuiltin(String value)
If specified, this will refer to an archive that is
already present in the server
|
Function.SinkSpec.Builder |
setBuiltinBytes(com.google.protobuf.ByteString value)
If specified, this will refer to an archive that is
already present in the server
|
Function.SinkSpec.Builder |
setClassName(String value)
string className = 1; |
Function.SinkSpec.Builder |
setClassNameBytes(com.google.protobuf.ByteString value)
string className = 1; |
Function.SinkSpec.Builder |
setConfigs(String value)
map in json format
|
Function.SinkSpec.Builder |
setConfigsBytes(com.google.protobuf.ByteString value)
map in json format
|
Function.SinkSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Function.SinkSpec.Builder |
setForwardSourceMessageProperty(boolean value)
bool forwardSourceMessageProperty = 8; |
Function.SinkSpec.Builder |
setProducerSpec(Function.ProducerSpec.Builder builderForValue)
.proto.ProducerSpec producerSpec = 11; |
Function.SinkSpec.Builder |
setProducerSpec(Function.ProducerSpec value)
.proto.ProducerSpec producerSpec = 11; |
Function.SinkSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Function.SinkSpec.Builder |
setSchemaType(String value)
Builtin schema type or custom schema class name
|
Function.SinkSpec.Builder |
setSchemaTypeBytes(com.google.protobuf.ByteString value)
Builtin schema type or custom schema class name
|
Function.SinkSpec.Builder |
setSerDeClassName(String value)
string serDeClassName = 4; |
Function.SinkSpec.Builder |
setSerDeClassNameBytes(com.google.protobuf.ByteString value)
string serDeClassName = 4; |
Function.SinkSpec.Builder |
setTopic(String value)
configs used only when functions output to sink
|
Function.SinkSpec.Builder |
setTopicBytes(com.google.protobuf.ByteString value)
configs used only when functions output to sink
|
Function.SinkSpec.Builder |
setTypeClassName(String value)
string typeClassName = 5; |
Function.SinkSpec.Builder |
setTypeClassNameBytes(com.google.protobuf.ByteString value)
string typeClassName = 5; |
Function.SinkSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Function.SinkSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Function.SinkSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Function.SinkSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder mergeFrom(Function.SinkSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public Function.SinkSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.SinkSpec.Builder>IOExceptionpublic String getClassName()
string className = 1;getClassName in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
string className = 1;getClassNameBytes in interface Function.SinkSpecOrBuilderpublic Function.SinkSpec.Builder setClassName(String value)
string className = 1;value - The className to set.public Function.SinkSpec.Builder clearClassName()
string className = 1;public Function.SinkSpec.Builder setClassNameBytes(com.google.protobuf.ByteString value)
string className = 1;value - The bytes for className to set.public 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 Function.SinkSpec.Builder setConfigs(String value)
map in json format
string configs = 2;value - The configs to set.public Function.SinkSpec.Builder clearConfigs()
map in json format
string configs = 2;public Function.SinkSpec.Builder setConfigsBytes(com.google.protobuf.ByteString value)
map in json format
string configs = 2;value - The bytes for configs to set.public String getTypeClassName()
string typeClassName = 5;getTypeClassName in interface Function.SinkSpecOrBuilderpublic com.google.protobuf.ByteString getTypeClassNameBytes()
string typeClassName = 5;getTypeClassNameBytes in interface Function.SinkSpecOrBuilderpublic Function.SinkSpec.Builder setTypeClassName(String value)
string typeClassName = 5;value - The typeClassName to set.public Function.SinkSpec.Builder clearTypeClassName()
string typeClassName = 5;public Function.SinkSpec.Builder setTypeClassNameBytes(com.google.protobuf.ByteString value)
string typeClassName = 5;value - The bytes for typeClassName to set.public 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 Function.SinkSpec.Builder setTopic(String value)
configs used only when functions output to sink
string topic = 3;value - The topic to set.public Function.SinkSpec.Builder clearTopic()
configs used only when functions output to sink
string topic = 3;public Function.SinkSpec.Builder setTopicBytes(com.google.protobuf.ByteString value)
configs used only when functions output to sink
string topic = 3;value - The bytes for topic to set.public boolean hasProducerSpec()
.proto.ProducerSpec producerSpec = 11;hasProducerSpec in interface Function.SinkSpecOrBuilderpublic Function.ProducerSpec getProducerSpec()
.proto.ProducerSpec producerSpec = 11;getProducerSpec in interface Function.SinkSpecOrBuilderpublic Function.SinkSpec.Builder setProducerSpec(Function.ProducerSpec value)
.proto.ProducerSpec producerSpec = 11;public Function.SinkSpec.Builder setProducerSpec(Function.ProducerSpec.Builder builderForValue)
.proto.ProducerSpec producerSpec = 11;public Function.SinkSpec.Builder mergeProducerSpec(Function.ProducerSpec value)
.proto.ProducerSpec producerSpec = 11;public Function.SinkSpec.Builder clearProducerSpec()
.proto.ProducerSpec producerSpec = 11;public Function.ProducerSpec.Builder getProducerSpecBuilder()
.proto.ProducerSpec producerSpec = 11;public 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 Function.SinkSpec.Builder setSerDeClassName(String value)
string serDeClassName = 4;value - The serDeClassName to set.public Function.SinkSpec.Builder clearSerDeClassName()
string serDeClassName = 4;public Function.SinkSpec.Builder setSerDeClassNameBytes(com.google.protobuf.ByteString value)
string serDeClassName = 4;value - The bytes for serDeClassName to set.public 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 Function.SinkSpec.Builder setBuiltin(String value)
If specified, this will refer to an archive that is already present in the server
string builtin = 6;value - The builtin to set.public Function.SinkSpec.Builder clearBuiltin()
If specified, this will refer to an archive that is already present in the server
string builtin = 6;public Function.SinkSpec.Builder setBuiltinBytes(com.google.protobuf.ByteString value)
If specified, this will refer to an archive that is already present in the server
string builtin = 6;value - The bytes for builtin to set.public 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 Function.SinkSpec.Builder setSchemaType(String value)
Builtin schema type or custom schema class name
string schemaType = 7;value - The schemaType to set.public Function.SinkSpec.Builder clearSchemaType()
Builtin schema type or custom schema class name
string schemaType = 7;public Function.SinkSpec.Builder setSchemaTypeBytes(com.google.protobuf.ByteString value)
Builtin schema type or custom schema class name
string schemaType = 7;value - The bytes for schemaType to set.public boolean getForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8;getForwardSourceMessageProperty in interface Function.SinkSpecOrBuilderpublic Function.SinkSpec.Builder setForwardSourceMessageProperty(boolean value)
bool forwardSourceMessageProperty = 8;value - The forwardSourceMessageProperty to set.public Function.SinkSpec.Builder clearForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8;public 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 Function.SinkSpec.Builder clearSchemaProperties()
public Function.SinkSpec.Builder removeSchemaProperties(String key)
map<string, string> schemaProperties = 9;@Deprecated public Map<String,String> getMutableSchemaProperties()
public Function.SinkSpec.Builder putSchemaProperties(String key, String value)
map<string, string> schemaProperties = 9;public Function.SinkSpec.Builder putAllSchemaProperties(Map<String,String> values)
map<string, string> schemaProperties = 9;public 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 Function.SinkSpec.Builder clearConsumerProperties()
public Function.SinkSpec.Builder removeConsumerProperties(String key)
map<string, string> consumerProperties = 10;@Deprecated public Map<String,String> getMutableConsumerProperties()
public Function.SinkSpec.Builder putConsumerProperties(String key, String value)
map<string, string> consumerProperties = 10;public Function.SinkSpec.Builder putAllConsumerProperties(Map<String,String> values)
map<string, string> consumerProperties = 10;public final Function.SinkSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>public final Function.SinkSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>Copyright © 2017–2022 Apache Software Foundation. All rights reserved.