Class Function.SinkSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
- org.apache.pulsar.functions.proto.Function.SinkSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,Function.SinkSpecOrBuilder
- Enclosing class:
- Function.SinkSpec
public static final class Function.SinkSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder> implements Function.SinkSpecOrBuilder
Protobuf typeproto.SinkSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Function.SinkSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Function.SinkSpecbuild()Function.SinkSpecbuildPartial()Function.SinkSpec.Builderclear()Function.SinkSpec.BuilderclearBuiltin()If specified, this will refer to an archive that is already present in the serverFunction.SinkSpec.BuilderclearClassName()string className = 1;Function.SinkSpec.BuilderclearConfigs()map in json formatFunction.SinkSpec.BuilderclearConsumerProperties()Function.SinkSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Function.SinkSpec.BuilderclearForwardSourceMessageProperty()bool forwardSourceMessageProperty = 8;Function.SinkSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Function.SinkSpec.BuilderclearProducerSpec().proto.ProducerSpec producerSpec = 11;Function.SinkSpec.BuilderclearSchemaProperties()Function.SinkSpec.BuilderclearSchemaType()Builtin schema type or custom schema class nameFunction.SinkSpec.BuilderclearSerDeClassName()string serDeClassName = 4;Function.SinkSpec.BuilderclearTopic()configs used only when functions output to sinkFunction.SinkSpec.BuilderclearTypeClassName()string typeClassName = 5;Function.SinkSpec.Builderclone()booleancontainsConsumerProperties(java.lang.String key)map<string, string> consumerProperties = 10;booleancontainsSchemaProperties(java.lang.String key)map<string, string> schemaProperties = 9;java.lang.StringgetBuiltin()If specified, this will refer to an archive that is already present in the servercom.google.protobuf.ByteStringgetBuiltinBytes()If specified, this will refer to an archive that is already present in the serverjava.lang.StringgetClassName()string className = 1;com.google.protobuf.ByteStringgetClassNameBytes()string className = 1;java.lang.StringgetConfigs()map in json formatcom.google.protobuf.ByteStringgetConfigsBytes()map in json formatjava.util.Map<java.lang.String,java.lang.String>getConsumerProperties()Deprecated.intgetConsumerPropertiesCount()map<string, string> consumerProperties = 10;java.util.Map<java.lang.String,java.lang.String>getConsumerPropertiesMap()map<string, string> consumerProperties = 10;java.lang.StringgetConsumerPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> consumerProperties = 10;java.lang.StringgetConsumerPropertiesOrThrow(java.lang.String key)map<string, string> consumerProperties = 10;Function.SinkSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetForwardSourceMessageProperty()bool forwardSourceMessageProperty = 8;java.util.Map<java.lang.String,java.lang.String>getMutableConsumerProperties()Deprecated.java.util.Map<java.lang.String,java.lang.String>getMutableSchemaProperties()Deprecated.Function.ProducerSpecgetProducerSpec().proto.ProducerSpec producerSpec = 11;Function.ProducerSpec.BuildergetProducerSpecBuilder().proto.ProducerSpec producerSpec = 11;Function.ProducerSpecOrBuildergetProducerSpecOrBuilder().proto.ProducerSpec producerSpec = 11;java.util.Map<java.lang.String,java.lang.String>getSchemaProperties()Deprecated.intgetSchemaPropertiesCount()map<string, string> schemaProperties = 9;java.util.Map<java.lang.String,java.lang.String>getSchemaPropertiesMap()map<string, string> schemaProperties = 9;java.lang.StringgetSchemaPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> schemaProperties = 9;java.lang.StringgetSchemaPropertiesOrThrow(java.lang.String key)map<string, string> schemaProperties = 9;java.lang.StringgetSchemaType()Builtin schema type or custom schema class namecom.google.protobuf.ByteStringgetSchemaTypeBytes()Builtin schema type or custom schema class namejava.lang.StringgetSerDeClassName()string serDeClassName = 4;com.google.protobuf.ByteStringgetSerDeClassNameBytes()string serDeClassName = 4;java.lang.StringgetTopic()configs used only when functions output to sinkcom.google.protobuf.ByteStringgetTopicBytes()configs used only when functions output to sinkjava.lang.StringgetTypeClassName()string typeClassName = 5;com.google.protobuf.ByteStringgetTypeClassNameBytes()string typeClassName = 5;booleanhasProducerSpec().proto.ProducerSpec producerSpec = 11;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Function.SinkSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Function.SinkSpec.BuildermergeFrom(com.google.protobuf.Message other)Function.SinkSpec.BuildermergeFrom(Function.SinkSpec other)Function.SinkSpec.BuildermergeProducerSpec(Function.ProducerSpec value).proto.ProducerSpec producerSpec = 11;Function.SinkSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Function.SinkSpec.BuilderputAllConsumerProperties(java.util.Map<java.lang.String,java.lang.String> values)map<string, string> consumerProperties = 10;Function.SinkSpec.BuilderputAllSchemaProperties(java.util.Map<java.lang.String,java.lang.String> values)map<string, string> schemaProperties = 9;Function.SinkSpec.BuilderputConsumerProperties(java.lang.String key, java.lang.String value)map<string, string> consumerProperties = 10;Function.SinkSpec.BuilderputSchemaProperties(java.lang.String key, java.lang.String value)map<string, string> schemaProperties = 9;Function.SinkSpec.BuilderremoveConsumerProperties(java.lang.String key)map<string, string> consumerProperties = 10;Function.SinkSpec.BuilderremoveSchemaProperties(java.lang.String key)map<string, string> schemaProperties = 9;Function.SinkSpec.BuildersetBuiltin(java.lang.String value)If specified, this will refer to an archive that is already present in the serverFunction.SinkSpec.BuildersetBuiltinBytes(com.google.protobuf.ByteString value)If specified, this will refer to an archive that is already present in the serverFunction.SinkSpec.BuildersetClassName(java.lang.String value)string className = 1;Function.SinkSpec.BuildersetClassNameBytes(com.google.protobuf.ByteString value)string className = 1;Function.SinkSpec.BuildersetConfigs(java.lang.String value)map in json formatFunction.SinkSpec.BuildersetConfigsBytes(com.google.protobuf.ByteString value)map in json formatFunction.SinkSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Function.SinkSpec.BuildersetForwardSourceMessageProperty(boolean value)bool forwardSourceMessageProperty = 8;Function.SinkSpec.BuildersetProducerSpec(Function.ProducerSpec value).proto.ProducerSpec producerSpec = 11;Function.SinkSpec.BuildersetProducerSpec(Function.ProducerSpec.Builder builderForValue).proto.ProducerSpec producerSpec = 11;Function.SinkSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Function.SinkSpec.BuildersetSchemaType(java.lang.String value)Builtin schema type or custom schema class nameFunction.SinkSpec.BuildersetSchemaTypeBytes(com.google.protobuf.ByteString value)Builtin schema type or custom schema class nameFunction.SinkSpec.BuildersetSerDeClassName(java.lang.String value)string serDeClassName = 4;Function.SinkSpec.BuildersetSerDeClassNameBytes(com.google.protobuf.ByteString value)string serDeClassName = 4;Function.SinkSpec.BuildersetTopic(java.lang.String value)configs used only when functions output to sinkFunction.SinkSpec.BuildersetTopicBytes(com.google.protobuf.ByteString value)configs used only when functions output to sinkFunction.SinkSpec.BuildersetTypeClassName(java.lang.String value)string typeClassName = 5;Function.SinkSpec.BuildersetTypeClassNameBytes(com.google.protobuf.ByteString value)string typeClassName = 5;Function.SinkSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
clear
public Function.SinkSpec.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
getDefaultInstanceForType
public Function.SinkSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Function.SinkSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Function.SinkSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Function.SinkSpec.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
setField
public Function.SinkSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
clearField
public Function.SinkSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
clearOneof
public Function.SinkSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
setRepeatedField
public Function.SinkSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
addRepeatedField
public Function.SinkSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
mergeFrom
public Function.SinkSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Function.SinkSpec.Builder>
-
mergeFrom
public Function.SinkSpec.Builder mergeFrom(Function.SinkSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
mergeFrom
public Function.SinkSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Function.SinkSpec.Builder>- Throws:
java.io.IOException
-
getClassName
public java.lang.String getClassName()
string className = 1;- Specified by:
getClassNamein interfaceFunction.SinkSpecOrBuilder- Returns:
- The className.
-
getClassNameBytes
public com.google.protobuf.ByteString getClassNameBytes()
string className = 1;- Specified by:
getClassNameBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for className.
-
setClassName
public Function.SinkSpec.Builder setClassName(java.lang.String value)
string className = 1;- Parameters:
value- The className to set.- Returns:
- This builder for chaining.
-
clearClassName
public Function.SinkSpec.Builder clearClassName()
string className = 1;- Returns:
- This builder for chaining.
-
setClassNameBytes
public Function.SinkSpec.Builder setClassNameBytes(com.google.protobuf.ByteString value)
string className = 1;- Parameters:
value- The bytes for className to set.- Returns:
- This builder for chaining.
-
getConfigs
public java.lang.String getConfigs()
map in json format
string configs = 2;- Specified by:
getConfigsin interfaceFunction.SinkSpecOrBuilder- Returns:
- The configs.
-
getConfigsBytes
public com.google.protobuf.ByteString getConfigsBytes()
map in json format
string configs = 2;- Specified by:
getConfigsBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for configs.
-
setConfigs
public Function.SinkSpec.Builder setConfigs(java.lang.String value)
map in json format
string configs = 2;- Parameters:
value- The configs to set.- Returns:
- This builder for chaining.
-
clearConfigs
public Function.SinkSpec.Builder clearConfigs()
map in json format
string configs = 2;- Returns:
- This builder for chaining.
-
setConfigsBytes
public Function.SinkSpec.Builder setConfigsBytes(com.google.protobuf.ByteString value)
map in json format
string configs = 2;- Parameters:
value- The bytes for configs to set.- Returns:
- This builder for chaining.
-
getTypeClassName
public java.lang.String getTypeClassName()
string typeClassName = 5;- Specified by:
getTypeClassNamein interfaceFunction.SinkSpecOrBuilder- Returns:
- The typeClassName.
-
getTypeClassNameBytes
public com.google.protobuf.ByteString getTypeClassNameBytes()
string typeClassName = 5;- Specified by:
getTypeClassNameBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for typeClassName.
-
setTypeClassName
public Function.SinkSpec.Builder setTypeClassName(java.lang.String value)
string typeClassName = 5;- Parameters:
value- The typeClassName to set.- Returns:
- This builder for chaining.
-
clearTypeClassName
public Function.SinkSpec.Builder clearTypeClassName()
string typeClassName = 5;- Returns:
- This builder for chaining.
-
setTypeClassNameBytes
public Function.SinkSpec.Builder setTypeClassNameBytes(com.google.protobuf.ByteString value)
string typeClassName = 5;- Parameters:
value- The bytes for typeClassName to set.- Returns:
- This builder for chaining.
-
getTopic
public java.lang.String getTopic()
configs used only when functions output to sink
string topic = 3;- Specified by:
getTopicin interfaceFunction.SinkSpecOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()
configs used only when functions output to sink
string topic = 3;- Specified by:
getTopicBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for topic.
-
setTopic
public Function.SinkSpec.Builder setTopic(java.lang.String value)
configs used only when functions output to sink
string topic = 3;- Parameters:
value- The topic to set.- Returns:
- This builder for chaining.
-
clearTopic
public Function.SinkSpec.Builder clearTopic()
configs used only when functions output to sink
string topic = 3;- Returns:
- This builder for chaining.
-
setTopicBytes
public Function.SinkSpec.Builder setTopicBytes(com.google.protobuf.ByteString value)
configs used only when functions output to sink
string topic = 3;- Parameters:
value- The bytes for topic to set.- Returns:
- This builder for chaining.
-
hasProducerSpec
public boolean hasProducerSpec()
.proto.ProducerSpec producerSpec = 11;- Specified by:
hasProducerSpecin interfaceFunction.SinkSpecOrBuilder- Returns:
- Whether the producerSpec field is set.
-
getProducerSpec
public Function.ProducerSpec getProducerSpec()
.proto.ProducerSpec producerSpec = 11;- Specified by:
getProducerSpecin interfaceFunction.SinkSpecOrBuilder- Returns:
- The producerSpec.
-
setProducerSpec
public Function.SinkSpec.Builder setProducerSpec(Function.ProducerSpec value)
.proto.ProducerSpec producerSpec = 11;
-
setProducerSpec
public Function.SinkSpec.Builder setProducerSpec(Function.ProducerSpec.Builder builderForValue)
.proto.ProducerSpec producerSpec = 11;
-
mergeProducerSpec
public Function.SinkSpec.Builder mergeProducerSpec(Function.ProducerSpec value)
.proto.ProducerSpec producerSpec = 11;
-
clearProducerSpec
public Function.SinkSpec.Builder clearProducerSpec()
.proto.ProducerSpec producerSpec = 11;
-
getProducerSpecBuilder
public Function.ProducerSpec.Builder getProducerSpecBuilder()
.proto.ProducerSpec producerSpec = 11;
-
getProducerSpecOrBuilder
public Function.ProducerSpecOrBuilder getProducerSpecOrBuilder()
.proto.ProducerSpec producerSpec = 11;- Specified by:
getProducerSpecOrBuilderin interfaceFunction.SinkSpecOrBuilder
-
getSerDeClassName
public java.lang.String getSerDeClassName()
string serDeClassName = 4;- Specified by:
getSerDeClassNamein interfaceFunction.SinkSpecOrBuilder- Returns:
- The serDeClassName.
-
getSerDeClassNameBytes
public com.google.protobuf.ByteString getSerDeClassNameBytes()
string serDeClassName = 4;- Specified by:
getSerDeClassNameBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for serDeClassName.
-
setSerDeClassName
public Function.SinkSpec.Builder setSerDeClassName(java.lang.String value)
string serDeClassName = 4;- Parameters:
value- The serDeClassName to set.- Returns:
- This builder for chaining.
-
clearSerDeClassName
public Function.SinkSpec.Builder clearSerDeClassName()
string serDeClassName = 4;- Returns:
- This builder for chaining.
-
setSerDeClassNameBytes
public Function.SinkSpec.Builder setSerDeClassNameBytes(com.google.protobuf.ByteString value)
string serDeClassName = 4;- Parameters:
value- The bytes for serDeClassName to set.- Returns:
- This builder for chaining.
-
getBuiltin
public java.lang.String getBuiltin()
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- Specified by:
getBuiltinin interfaceFunction.SinkSpecOrBuilder- Returns:
- The builtin.
-
getBuiltinBytes
public com.google.protobuf.ByteString getBuiltinBytes()
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- Specified by:
getBuiltinBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for builtin.
-
setBuiltin
public Function.SinkSpec.Builder setBuiltin(java.lang.String value)
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- Parameters:
value- The builtin to set.- Returns:
- This builder for chaining.
-
clearBuiltin
public Function.SinkSpec.Builder clearBuiltin()
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- Returns:
- This builder for chaining.
-
setBuiltinBytes
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;- Parameters:
value- The bytes for builtin to set.- Returns:
- This builder for chaining.
-
getSchemaType
public java.lang.String getSchemaType()
Builtin schema type or custom schema class name
string schemaType = 7;- Specified by:
getSchemaTypein interfaceFunction.SinkSpecOrBuilder- Returns:
- The schemaType.
-
getSchemaTypeBytes
public com.google.protobuf.ByteString getSchemaTypeBytes()
Builtin schema type or custom schema class name
string schemaType = 7;- Specified by:
getSchemaTypeBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for schemaType.
-
setSchemaType
public Function.SinkSpec.Builder setSchemaType(java.lang.String value)
Builtin schema type or custom schema class name
string schemaType = 7;- Parameters:
value- The schemaType to set.- Returns:
- This builder for chaining.
-
clearSchemaType
public Function.SinkSpec.Builder clearSchemaType()
Builtin schema type or custom schema class name
string schemaType = 7;- Returns:
- This builder for chaining.
-
setSchemaTypeBytes
public Function.SinkSpec.Builder setSchemaTypeBytes(com.google.protobuf.ByteString value)
Builtin schema type or custom schema class name
string schemaType = 7;- Parameters:
value- The bytes for schemaType to set.- Returns:
- This builder for chaining.
-
getForwardSourceMessageProperty
public boolean getForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8;- Specified by:
getForwardSourceMessagePropertyin interfaceFunction.SinkSpecOrBuilder- Returns:
- The forwardSourceMessageProperty.
-
setForwardSourceMessageProperty
public Function.SinkSpec.Builder setForwardSourceMessageProperty(boolean value)
bool forwardSourceMessageProperty = 8;- Parameters:
value- The forwardSourceMessageProperty to set.- Returns:
- This builder for chaining.
-
clearForwardSourceMessageProperty
public Function.SinkSpec.Builder clearForwardSourceMessageProperty()
bool forwardSourceMessageProperty = 8;- Returns:
- This builder for chaining.
-
getSchemaPropertiesCount
public int getSchemaPropertiesCount()
Description copied from interface:Function.SinkSpecOrBuildermap<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesCountin interfaceFunction.SinkSpecOrBuilder
-
containsSchemaProperties
public boolean containsSchemaProperties(java.lang.String key)
map<string, string> schemaProperties = 9;- Specified by:
containsSchemaPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getSchemaProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSchemaProperties()
Deprecated.UsegetSchemaPropertiesMap()instead.- Specified by:
getSchemaPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getSchemaPropertiesMap
public java.util.Map<java.lang.String,java.lang.String> getSchemaPropertiesMap()
map<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesMapin interfaceFunction.SinkSpecOrBuilder
-
getSchemaPropertiesOrDefault
public java.lang.String getSchemaPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesOrDefaultin interfaceFunction.SinkSpecOrBuilder
-
getSchemaPropertiesOrThrow
public java.lang.String getSchemaPropertiesOrThrow(java.lang.String key)
map<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesOrThrowin interfaceFunction.SinkSpecOrBuilder
-
clearSchemaProperties
public Function.SinkSpec.Builder clearSchemaProperties()
-
removeSchemaProperties
public Function.SinkSpec.Builder removeSchemaProperties(java.lang.String key)
map<string, string> schemaProperties = 9;
-
getMutableSchemaProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableSchemaProperties()
Deprecated.Use alternate mutation accessors instead.
-
putSchemaProperties
public Function.SinkSpec.Builder putSchemaProperties(java.lang.String key, java.lang.String value)
map<string, string> schemaProperties = 9;
-
putAllSchemaProperties
public Function.SinkSpec.Builder putAllSchemaProperties(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> schemaProperties = 9;
-
getConsumerPropertiesCount
public int getConsumerPropertiesCount()
Description copied from interface:Function.SinkSpecOrBuildermap<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesCountin interfaceFunction.SinkSpecOrBuilder
-
containsConsumerProperties
public boolean containsConsumerProperties(java.lang.String key)
map<string, string> consumerProperties = 10;- Specified by:
containsConsumerPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getConsumerProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getConsumerProperties()
Deprecated.UsegetConsumerPropertiesMap()instead.- Specified by:
getConsumerPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesMap
public java.util.Map<java.lang.String,java.lang.String> getConsumerPropertiesMap()
map<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesMapin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesOrDefault
public java.lang.String getConsumerPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesOrDefaultin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesOrThrow
public java.lang.String getConsumerPropertiesOrThrow(java.lang.String key)
map<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesOrThrowin interfaceFunction.SinkSpecOrBuilder
-
clearConsumerProperties
public Function.SinkSpec.Builder clearConsumerProperties()
-
removeConsumerProperties
public Function.SinkSpec.Builder removeConsumerProperties(java.lang.String key)
map<string, string> consumerProperties = 10;
-
getMutableConsumerProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableConsumerProperties()
Deprecated.Use alternate mutation accessors instead.
-
putConsumerProperties
public Function.SinkSpec.Builder putConsumerProperties(java.lang.String key, java.lang.String value)
map<string, string> consumerProperties = 10;
-
putAllConsumerProperties
public Function.SinkSpec.Builder putAllConsumerProperties(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> consumerProperties = 10;
-
setUnknownFields
public final Function.SinkSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
mergeUnknownFields
public final Function.SinkSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
-