Interface Function.SourceSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Function.SourceSpec,Function.SourceSpec.Builder
- Enclosing class:
- Function
public static interface Function.SourceSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsInputSpecs(String key) booleanDeprecated.If specified, this will refer to an archive that is already present in the servercom.google.protobuf.ByteStringIf specified, this will refer to an archive that is already present in the serverstring className = 1;com.google.protobuf.ByteStringstring className = 1;booleanbool cleanupSubscription = 11;map in json formatcom.google.protobuf.ByteStringmap in json formatDeprecated.intgetInputSpecsOrDefault(String key, Function.ConsumerSpec defaultValue) longuint64 negativeAckRedeliveryDelayMs = 13;booleanbool skipToLatest = 14;string subscriptionName = 9;com.google.protobuf.ByteStringstring subscriptionName = 9;.proto.SubscriptionPosition subscriptionPosition = 12;int.proto.SubscriptionPosition subscriptionPosition = 12;configs used only when source feeds into functionsintconfigs used only when source feeds into functionslonguint64 timeoutMs = 6;Deprecated.proto.SourceSpec.topicsPattern is deprecated.com.google.protobuf.ByteStringDeprecated.proto.SourceSpec.topicsPattern is deprecated.Deprecated.intDeprecated.Deprecated.getTopicsToSerDeClassNameOrDefault(String key, String defaultValue) Deprecated.Deprecated.string typeClassName = 5;com.google.protobuf.ByteStringstring typeClassName = 5;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getClassName
String getClassName()string className = 1;- Returns:
- The className.
-
getClassNameBytes
com.google.protobuf.ByteString getClassNameBytes()string className = 1;- Returns:
- The bytes for className.
-
getConfigs
String getConfigs()map in json format
string configs = 2;- Returns:
- The configs.
-
getConfigsBytes
com.google.protobuf.ByteString getConfigsBytes()map in json format
string configs = 2;- Returns:
- The bytes for configs.
-
getTypeClassName
String getTypeClassName()string typeClassName = 5;- Returns:
- The typeClassName.
-
getTypeClassNameBytes
com.google.protobuf.ByteString getTypeClassNameBytes()string typeClassName = 5;- Returns:
- The bytes for typeClassName.
-
getSubscriptionTypeValue
int getSubscriptionTypeValue()configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- Returns:
- The enum numeric value on the wire for subscriptionType.
-
getSubscriptionType
Function.SubscriptionType getSubscriptionType()configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- Returns:
- The subscriptionType.
-
getTopicsToSerDeClassNameCount
Deprecated.@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
containsTopicsToSerDeClassName
Deprecated.@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getTopicsToSerDeClassName
Deprecated.UsegetTopicsToSerDeClassNameMap()instead. -
getTopicsToSerDeClassNameMap
Deprecated.@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getTopicsToSerDeClassNameOrDefault
Deprecated.@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getTopicsToSerDeClassNameOrThrow
Deprecated.@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getInputSpecsCount
int getInputSpecsCount()map<string, .proto.ConsumerSpec> inputSpecs = 10; -
containsInputSpecs
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getInputSpecs
Deprecated.UsegetInputSpecsMap()instead. -
getInputSpecsMap
Map<String,Function.ConsumerSpec> getInputSpecsMap()map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getInputSpecsOrDefault
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getInputSpecsOrThrow
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getTimeoutMs
long getTimeoutMs()uint64 timeoutMs = 6;- Returns:
- The timeoutMs.
-
getTopicsPattern
Deprecated.proto.SourceSpec.topicsPattern is deprecated. See Function.proto;l=167string topicsPattern = 7 [deprecated = true];- Returns:
- The topicsPattern.
-
getTopicsPatternBytes
Deprecated.proto.SourceSpec.topicsPattern is deprecated. See Function.proto;l=167string topicsPattern = 7 [deprecated = true];- Returns:
- The bytes for topicsPattern.
-
getBuiltin
String getBuiltin()If specified, this will refer to an archive that is already present in the server
string builtin = 8;- Returns:
- The builtin.
-
getBuiltinBytes
com.google.protobuf.ByteString getBuiltinBytes()If specified, this will refer to an archive that is already present in the server
string builtin = 8;- Returns:
- The bytes for builtin.
-
getSubscriptionName
String getSubscriptionName()string subscriptionName = 9;- Returns:
- The subscriptionName.
-
getSubscriptionNameBytes
com.google.protobuf.ByteString getSubscriptionNameBytes()string subscriptionName = 9;- Returns:
- The bytes for subscriptionName.
-
getCleanupSubscription
boolean getCleanupSubscription()bool cleanupSubscription = 11;- Returns:
- The cleanupSubscription.
-
getSubscriptionPositionValue
int getSubscriptionPositionValue().proto.SubscriptionPosition subscriptionPosition = 12;- Returns:
- The enum numeric value on the wire for subscriptionPosition.
-
getSubscriptionPosition
Function.SubscriptionPosition getSubscriptionPosition().proto.SubscriptionPosition subscriptionPosition = 12;- Returns:
- The subscriptionPosition.
-
getNegativeAckRedeliveryDelayMs
long getNegativeAckRedeliveryDelayMs()uint64 negativeAckRedeliveryDelayMs = 13;- Returns:
- The negativeAckRedeliveryDelayMs.
-
getSkipToLatest
boolean getSkipToLatest()bool skipToLatest = 14;- Returns:
- The skipToLatest.
-