public static final class Function.SourceSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder> implements Function.SourceSpecOrBuilder
proto.SourceSpec| Modifier and Type | Method and Description |
|---|---|
Function.SourceSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Function.SourceSpec |
build() |
Function.SourceSpec |
buildPartial() |
Function.SourceSpec.Builder |
clear() |
Function.SourceSpec.Builder |
clearBuiltin()
If specified, this will refer to an archive that is
already present in the server
|
Function.SourceSpec.Builder |
clearClassName()
string className = 1; |
Function.SourceSpec.Builder |
clearConfigs()
map in json format
|
Function.SourceSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Function.SourceSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Function.SourceSpec.Builder |
clearSubscriptionName()
string subscriptionName = 9; |
Function.SourceSpec.Builder |
clearSubscriptionType()
configs used only when source feeds into functions
|
Function.SourceSpec.Builder |
clearTimeoutMs()
uint64 timeoutMs = 6; |
Function.SourceSpec.Builder |
clearTopicsPattern()
string topicsPattern = 7; |
Function.SourceSpec.Builder |
clearTopicsToSerDeClassName() |
Function.SourceSpec.Builder |
clearTypeClassName()
string typeClassName = 5; |
Function.SourceSpec.Builder |
clone() |
boolean |
containsTopicsToSerDeClassName(String key)
map<string, string> topicsToSerDeClassName = 4; |
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
|
Function.SourceSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getMutableTopicsToSerDeClassName()
Deprecated.
|
String |
getSubscriptionName()
string subscriptionName = 9; |
com.google.protobuf.ByteString |
getSubscriptionNameBytes()
string subscriptionName = 9; |
Function.SubscriptionType |
getSubscriptionType()
configs used only when source feeds into functions
|
int |
getSubscriptionTypeValue()
configs used only when source feeds into functions
|
long |
getTimeoutMs()
uint64 timeoutMs = 6; |
String |
getTopicsPattern()
string topicsPattern = 7; |
com.google.protobuf.ByteString |
getTopicsPatternBytes()
string topicsPattern = 7; |
Map<String,String> |
getTopicsToSerDeClassName()
Deprecated.
|
int |
getTopicsToSerDeClassNameCount()
map<string, string> topicsToSerDeClassName = 4; |
Map<String,String> |
getTopicsToSerDeClassNameMap()
map<string, string> topicsToSerDeClassName = 4; |
String |
getTopicsToSerDeClassNameOrDefault(String key,
String defaultValue)
map<string, string> topicsToSerDeClassName = 4; |
String |
getTopicsToSerDeClassNameOrThrow(String key)
map<string, string> topicsToSerDeClassName = 4; |
String |
getTypeClassName()
string typeClassName = 5; |
com.google.protobuf.ByteString |
getTypeClassNameBytes()
string typeClassName = 5; |
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.SourceSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Function.SourceSpec.Builder |
mergeFrom(Function.SourceSpec other) |
Function.SourceSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
Function.SourceSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Function.SourceSpec.Builder |
putAllTopicsToSerDeClassName(Map<String,String> values)
map<string, string> topicsToSerDeClassName = 4; |
Function.SourceSpec.Builder |
putTopicsToSerDeClassName(String key,
String value)
map<string, string> topicsToSerDeClassName = 4; |
Function.SourceSpec.Builder |
removeTopicsToSerDeClassName(String key)
map<string, string> topicsToSerDeClassName = 4; |
Function.SourceSpec.Builder |
setBuiltin(String value)
If specified, this will refer to an archive that is
already present in the server
|
Function.SourceSpec.Builder |
setBuiltinBytes(com.google.protobuf.ByteString value)
If specified, this will refer to an archive that is
already present in the server
|
Function.SourceSpec.Builder |
setClassName(String value)
string className = 1; |
Function.SourceSpec.Builder |
setClassNameBytes(com.google.protobuf.ByteString value)
string className = 1; |
Function.SourceSpec.Builder |
setConfigs(String value)
map in json format
|
Function.SourceSpec.Builder |
setConfigsBytes(com.google.protobuf.ByteString value)
map in json format
|
Function.SourceSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Function.SourceSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Function.SourceSpec.Builder |
setSubscriptionName(String value)
string subscriptionName = 9; |
Function.SourceSpec.Builder |
setSubscriptionNameBytes(com.google.protobuf.ByteString value)
string subscriptionName = 9; |
Function.SourceSpec.Builder |
setSubscriptionType(Function.SubscriptionType value)
configs used only when source feeds into functions
|
Function.SourceSpec.Builder |
setSubscriptionTypeValue(int value)
configs used only when source feeds into functions
|
Function.SourceSpec.Builder |
setTimeoutMs(long value)
uint64 timeoutMs = 6; |
Function.SourceSpec.Builder |
setTopicsPattern(String value)
string topicsPattern = 7; |
Function.SourceSpec.Builder |
setTopicsPatternBytes(com.google.protobuf.ByteString value)
string topicsPattern = 7; |
Function.SourceSpec.Builder |
setTypeClassName(String value)
string typeClassName = 5; |
Function.SourceSpec.Builder |
setTypeClassNameBytes(com.google.protobuf.ByteString value)
string typeClassName = 5; |
Function.SourceSpec.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.SourceSpec.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>public Function.SourceSpec.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.SourceSpec.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.SourceSpec.Builder>public Function.SourceSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Function.SourceSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Function.SourceSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Function.SourceSpec.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.SourceSpec.Builder>public Function.SourceSpec.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.SourceSpec.Builder>public Function.SourceSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>public Function.SourceSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>public Function.SourceSpec.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.SourceSpec.Builder>public Function.SourceSpec.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.SourceSpec.Builder>public Function.SourceSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.SourceSpec.Builder>public Function.SourceSpec.Builder mergeFrom(Function.SourceSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>public Function.SourceSpec.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.SourceSpec.Builder>IOExceptionpublic String getClassName()
string className = 1;getClassName in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
string className = 1;getClassNameBytes in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setClassName(String value)
string className = 1;public Function.SourceSpec.Builder clearClassName()
string className = 1;public Function.SourceSpec.Builder setClassNameBytes(com.google.protobuf.ByteString value)
string className = 1;public String getConfigs()
map in json format
string configs = 2;getConfigs in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getConfigsBytes()
map in json format
string configs = 2;getConfigsBytes in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setConfigs(String value)
map in json format
string configs = 2;public Function.SourceSpec.Builder clearConfigs()
map in json format
string configs = 2;public Function.SourceSpec.Builder setConfigsBytes(com.google.protobuf.ByteString value)
map in json format
string configs = 2;public String getTypeClassName()
string typeClassName = 5;getTypeClassName in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getTypeClassNameBytes()
string typeClassName = 5;getTypeClassNameBytes in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setTypeClassName(String value)
string typeClassName = 5;public Function.SourceSpec.Builder clearTypeClassName()
string typeClassName = 5;public Function.SourceSpec.Builder setTypeClassNameBytes(com.google.protobuf.ByteString value)
string typeClassName = 5;public int getSubscriptionTypeValue()
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;getSubscriptionTypeValue in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setSubscriptionTypeValue(int value)
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;public Function.SubscriptionType getSubscriptionType()
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;getSubscriptionType in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setSubscriptionType(Function.SubscriptionType value)
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;public Function.SourceSpec.Builder clearSubscriptionType()
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;public int getTopicsToSerDeClassNameCount()
Function.SourceSpecOrBuildermap<string, string> topicsToSerDeClassName = 4;getTopicsToSerDeClassNameCount in interface Function.SourceSpecOrBuilderpublic boolean containsTopicsToSerDeClassName(String key)
map<string, string> topicsToSerDeClassName = 4;containsTopicsToSerDeClassName in interface Function.SourceSpecOrBuilder@Deprecated public Map<String,String> getTopicsToSerDeClassName()
getTopicsToSerDeClassNameMap() instead.getTopicsToSerDeClassName in interface Function.SourceSpecOrBuilderpublic Map<String,String> getTopicsToSerDeClassNameMap()
map<string, string> topicsToSerDeClassName = 4;getTopicsToSerDeClassNameMap in interface Function.SourceSpecOrBuilderpublic String getTopicsToSerDeClassNameOrDefault(String key, String defaultValue)
map<string, string> topicsToSerDeClassName = 4;getTopicsToSerDeClassNameOrDefault in interface Function.SourceSpecOrBuilderpublic String getTopicsToSerDeClassNameOrThrow(String key)
map<string, string> topicsToSerDeClassName = 4;getTopicsToSerDeClassNameOrThrow in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder clearTopicsToSerDeClassName()
public Function.SourceSpec.Builder removeTopicsToSerDeClassName(String key)
map<string, string> topicsToSerDeClassName = 4;@Deprecated public Map<String,String> getMutableTopicsToSerDeClassName()
public Function.SourceSpec.Builder putTopicsToSerDeClassName(String key, String value)
map<string, string> topicsToSerDeClassName = 4;public Function.SourceSpec.Builder putAllTopicsToSerDeClassName(Map<String,String> values)
map<string, string> topicsToSerDeClassName = 4;public long getTimeoutMs()
uint64 timeoutMs = 6;getTimeoutMs in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setTimeoutMs(long value)
uint64 timeoutMs = 6;public Function.SourceSpec.Builder clearTimeoutMs()
uint64 timeoutMs = 6;public String getTopicsPattern()
string topicsPattern = 7;getTopicsPattern in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getTopicsPatternBytes()
string topicsPattern = 7;getTopicsPatternBytes in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setTopicsPattern(String value)
string topicsPattern = 7;public Function.SourceSpec.Builder clearTopicsPattern()
string topicsPattern = 7;public Function.SourceSpec.Builder setTopicsPatternBytes(com.google.protobuf.ByteString value)
string topicsPattern = 7;public String getBuiltin()
If specified, this will refer to an archive that is already present in the server
string builtin = 8;getBuiltin in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getBuiltinBytes()
If specified, this will refer to an archive that is already present in the server
string builtin = 8;getBuiltinBytes in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setBuiltin(String value)
If specified, this will refer to an archive that is already present in the server
string builtin = 8;public Function.SourceSpec.Builder clearBuiltin()
If specified, this will refer to an archive that is already present in the server
string builtin = 8;public Function.SourceSpec.Builder setBuiltinBytes(com.google.protobuf.ByteString value)
If specified, this will refer to an archive that is already present in the server
string builtin = 8;public String getSubscriptionName()
string subscriptionName = 9;getSubscriptionName in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getSubscriptionNameBytes()
string subscriptionName = 9;getSubscriptionNameBytes in interface Function.SourceSpecOrBuilderpublic Function.SourceSpec.Builder setSubscriptionName(String value)
string subscriptionName = 9;public Function.SourceSpec.Builder clearSubscriptionName()
string subscriptionName = 9;public Function.SourceSpec.Builder setSubscriptionNameBytes(com.google.protobuf.ByteString value)
string subscriptionName = 9;public final Function.SourceSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>public final Function.SourceSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>Copyright © 2017–2018 Apache Software Foundation. All rights reserved.