public static final class Function.SourceSpec extends com.google.protobuf.GeneratedMessageV3 implements Function.SourceSpecOrBuilder
proto.SourceSpec| Modifier and Type | Class and Description |
|---|---|
static class |
Function.SourceSpec.Builder
Protobuf type
proto.SourceSpec |
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 |
CLEANUPSUBSCRIPTION_FIELD_NUMBER |
static int |
CONFIGS_FIELD_NUMBER |
static int |
INPUTSPECS_FIELD_NUMBER |
static int |
NEGATIVEACKREDELIVERYDELAYMS_FIELD_NUMBER |
static int |
SUBSCRIPTIONNAME_FIELD_NUMBER |
static int |
SUBSCRIPTIONPOSITION_FIELD_NUMBER |
static int |
SUBSCRIPTIONTYPE_FIELD_NUMBER |
static int |
TIMEOUTMS_FIELD_NUMBER |
static int |
TOPICSPATTERN_FIELD_NUMBER |
static int |
TOPICSTOSERDECLASSNAME_FIELD_NUMBER |
static int |
TYPECLASSNAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInputSpecs(String key) |
boolean |
containsTopicsToSerDeClassName(String key)
Deprecated.
|
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; |
boolean |
getCleanupSubscription()
bool cleanupSubscription = 11; |
String |
getConfigs()
map in json format
|
com.google.protobuf.ByteString |
getConfigsBytes()
map in json format
|
static Function.SourceSpec |
getDefaultInstance() |
Function.SourceSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,Function.ConsumerSpec> |
getInputSpecs()
Deprecated.
|
int |
getInputSpecsCount() |
Map<String,Function.ConsumerSpec> |
getInputSpecsMap() |
Function.ConsumerSpec |
getInputSpecsOrDefault(String key,
Function.ConsumerSpec defaultValue) |
Function.ConsumerSpec |
getInputSpecsOrThrow(String key) |
long |
getNegativeAckRedeliveryDelayMs()
uint64 negativeAckRedeliveryDelayMs = 13; |
com.google.protobuf.Parser<Function.SourceSpec> |
getParserForType() |
int |
getSerializedSize() |
String |
getSubscriptionName()
string subscriptionName = 9; |
com.google.protobuf.ByteString |
getSubscriptionNameBytes()
string subscriptionName = 9; |
Function.SubscriptionPosition |
getSubscriptionPosition()
.proto.SubscriptionPosition subscriptionPosition = 12; |
int |
getSubscriptionPositionValue()
.proto.SubscriptionPosition subscriptionPosition = 12; |
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()
Deprecated.
|
com.google.protobuf.ByteString |
getTopicsPatternBytes()
Deprecated.
|
Map<String,String> |
getTopicsToSerDeClassName()
Deprecated.
|
int |
getTopicsToSerDeClassNameCount()
Deprecated.
|
Map<String,String> |
getTopicsToSerDeClassNameMap()
Deprecated.
|
String |
getTopicsToSerDeClassNameOrDefault(String key,
String defaultValue)
Deprecated.
|
String |
getTopicsToSerDeClassNameOrThrow(String key)
Deprecated.
|
String |
getTypeClassName()
string typeClassName = 5; |
com.google.protobuf.ByteString |
getTypeClassNameBytes()
string typeClassName = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Function.SourceSpec.Builder |
newBuilder() |
static Function.SourceSpec.Builder |
newBuilder(Function.SourceSpec prototype) |
Function.SourceSpec.Builder |
newBuilderForType() |
protected Function.SourceSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Function.SourceSpec |
parseDelimitedFrom(InputStream input) |
static Function.SourceSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SourceSpec |
parseFrom(byte[] data) |
static Function.SourceSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SourceSpec |
parseFrom(ByteBuffer data) |
static Function.SourceSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SourceSpec |
parseFrom(com.google.protobuf.ByteString data) |
static Function.SourceSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SourceSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Function.SourceSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Function.SourceSpec |
parseFrom(InputStream input) |
static Function.SourceSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Function.SourceSpec> |
parser() |
Function.SourceSpec.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 SUBSCRIPTIONTYPE_FIELD_NUMBER
public static final int TOPICSTOSERDECLASSNAME_FIELD_NUMBER
public static final int INPUTSPECS_FIELD_NUMBER
public static final int TIMEOUTMS_FIELD_NUMBER
public static final int TOPICSPATTERN_FIELD_NUMBER
public static final int BUILTIN_FIELD_NUMBER
public static final int SUBSCRIPTIONNAME_FIELD_NUMBER
public static final int CLEANUPSUBSCRIPTION_FIELD_NUMBER
public static final int SUBSCRIPTIONPOSITION_FIELD_NUMBER
public static final int NEGATIVEACKREDELIVERYDELAYMS_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.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
string className = 1;getClassNameBytes in interface Function.SourceSpecOrBuilderpublic 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 String getTypeClassName()
string typeClassName = 5;getTypeClassName in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getTypeClassNameBytes()
string typeClassName = 5;getTypeClassNameBytes in interface Function.SourceSpecOrBuilderpublic int getSubscriptionTypeValue()
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;getSubscriptionTypeValue in interface Function.SourceSpecOrBuilderpublic Function.SubscriptionType getSubscriptionType()
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;getSubscriptionType in interface Function.SourceSpecOrBuilder@Deprecated public int getTopicsToSerDeClassNameCount()
Function.SourceSpecOrBuilder@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true];getTopicsToSerDeClassNameCount in interface Function.SourceSpecOrBuilder@Deprecated public boolean containsTopicsToSerDeClassName(String key)
@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true];containsTopicsToSerDeClassName in interface Function.SourceSpecOrBuilder@Deprecated public Map<String,String> getTopicsToSerDeClassName()
getTopicsToSerDeClassNameMap() instead.getTopicsToSerDeClassName in interface Function.SourceSpecOrBuilder@Deprecated public Map<String,String> getTopicsToSerDeClassNameMap()
@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true];getTopicsToSerDeClassNameMap in interface Function.SourceSpecOrBuilder@Deprecated public String getTopicsToSerDeClassNameOrDefault(String key, String defaultValue)
@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true];getTopicsToSerDeClassNameOrDefault in interface Function.SourceSpecOrBuilder@Deprecated public String getTopicsToSerDeClassNameOrThrow(String key)
@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true];getTopicsToSerDeClassNameOrThrow in interface Function.SourceSpecOrBuilderpublic int getInputSpecsCount()
Function.SourceSpecOrBuildermap<string, .proto.ConsumerSpec> inputSpecs = 10;getInputSpecsCount in interface Function.SourceSpecOrBuilderpublic boolean containsInputSpecs(String key)
map<string, .proto.ConsumerSpec> inputSpecs = 10;containsInputSpecs in interface Function.SourceSpecOrBuilder@Deprecated public Map<String,Function.ConsumerSpec> getInputSpecs()
getInputSpecsMap() instead.getInputSpecs in interface Function.SourceSpecOrBuilderpublic Map<String,Function.ConsumerSpec> getInputSpecsMap()
map<string, .proto.ConsumerSpec> inputSpecs = 10;getInputSpecsMap in interface Function.SourceSpecOrBuilderpublic Function.ConsumerSpec getInputSpecsOrDefault(String key, Function.ConsumerSpec defaultValue)
map<string, .proto.ConsumerSpec> inputSpecs = 10;getInputSpecsOrDefault in interface Function.SourceSpecOrBuilderpublic Function.ConsumerSpec getInputSpecsOrThrow(String key)
map<string, .proto.ConsumerSpec> inputSpecs = 10;getInputSpecsOrThrow in interface Function.SourceSpecOrBuilderpublic long getTimeoutMs()
uint64 timeoutMs = 6;getTimeoutMs in interface Function.SourceSpecOrBuilder@Deprecated public String getTopicsPattern()
string topicsPattern = 7 [deprecated = true];getTopicsPattern in interface Function.SourceSpecOrBuilder@Deprecated public com.google.protobuf.ByteString getTopicsPatternBytes()
string topicsPattern = 7 [deprecated = true];getTopicsPatternBytes in interface Function.SourceSpecOrBuilderpublic 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 String getSubscriptionName()
string subscriptionName = 9;getSubscriptionName in interface Function.SourceSpecOrBuilderpublic com.google.protobuf.ByteString getSubscriptionNameBytes()
string subscriptionName = 9;getSubscriptionNameBytes in interface Function.SourceSpecOrBuilderpublic boolean getCleanupSubscription()
bool cleanupSubscription = 11;getCleanupSubscription in interface Function.SourceSpecOrBuilderpublic int getSubscriptionPositionValue()
.proto.SubscriptionPosition subscriptionPosition = 12;getSubscriptionPositionValue in interface Function.SourceSpecOrBuilderpublic Function.SubscriptionPosition getSubscriptionPosition()
.proto.SubscriptionPosition subscriptionPosition = 12;getSubscriptionPosition in interface Function.SourceSpecOrBuilderpublic long getNegativeAckRedeliveryDelayMs()
uint64 negativeAckRedeliveryDelayMs = 13;getNegativeAckRedeliveryDelayMs in interface Function.SourceSpecOrBuilderpublic 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.SourceSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SourceSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SourceSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SourceSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SourceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SourceSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Function.SourceSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static Function.SourceSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Function.SourceSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Function.SourceSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Function.SourceSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Function.SourceSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Function.SourceSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Function.SourceSpec.Builder newBuilder()
public static Function.SourceSpec.Builder newBuilder(Function.SourceSpec prototype)
public Function.SourceSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Function.SourceSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Function.SourceSpec getDefaultInstance()
public static com.google.protobuf.Parser<Function.SourceSpec> parser()
public com.google.protobuf.Parser<Function.SourceSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Function.SourceSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017–2021 Apache Software Foundation. All rights reserved.