Class Function.SourceSpec

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, Function.SourceSpecOrBuilder
    Enclosing class:
    Function

    public static final class Function.SourceSpec
    extends com.google.protobuf.GeneratedMessageV3
    implements Function.SourceSpecOrBuilder
    Protobuf type proto.SourceSpec
    See Also:
    Serialized Form
    • Field Detail

      • TYPECLASSNAME_FIELD_NUMBER

        public static final int TYPECLASSNAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBSCRIPTIONTYPE_FIELD_NUMBER

        public static final int SUBSCRIPTIONTYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOPICSTOSERDECLASSNAME_FIELD_NUMBER

        public static final int TOPICSTOSERDECLASSNAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • INPUTSPECS_FIELD_NUMBER

        public static final int INPUTSPECS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • TOPICSPATTERN_FIELD_NUMBER

        public static final int TOPICSPATTERN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBSCRIPTIONNAME_FIELD_NUMBER

        public static final int SUBSCRIPTIONNAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CLEANUPSUBSCRIPTION_FIELD_NUMBER

        public static final int CLEANUPSUBSCRIPTION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SUBSCRIPTIONPOSITION_FIELD_NUMBER

        public static final int SUBSCRIPTIONPOSITION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • NEGATIVEACKREDELIVERYDELAYMS_FIELD_NUMBER

        public static final int NEGATIVEACKREDELIVERYDELAYMS_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getConfigsBytes

        public com.google.protobuf.ByteString getConfigsBytes()
         map in json format
         
        string configs = 2;
        Specified by:
        getConfigsBytes in interface Function.SourceSpecOrBuilder
        Returns:
        The bytes for configs.
      • getSubscriptionTypeValue

        public int getSubscriptionTypeValue()
         configs used only when source feeds into functions
         
        .proto.SubscriptionType subscriptionType = 3;
        Specified by:
        getSubscriptionTypeValue in interface Function.SourceSpecOrBuilder
        Returns:
        The enum numeric value on the wire for subscriptionType.
      • containsTopicsToSerDeClassName

        @Deprecated
        public boolean containsTopicsToSerDeClassName​(java.lang.String key)
        Deprecated.
         @deprecated -- use topicsToSchema
         
        map<string, string> topicsToSerDeClassName = 4 [deprecated = true];
        Specified by:
        containsTopicsToSerDeClassName in interface Function.SourceSpecOrBuilder
      • getTopicsToSerDeClassNameMap

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getTopicsToSerDeClassNameMap()
        Deprecated.
         @deprecated -- use topicsToSchema
         
        map<string, string> topicsToSerDeClassName = 4 [deprecated = true];
        Specified by:
        getTopicsToSerDeClassNameMap in interface Function.SourceSpecOrBuilder
      • getTopicsToSerDeClassNameOrDefault

        @Deprecated
        public java.lang.String getTopicsToSerDeClassNameOrDefault​(java.lang.String key,
                                                                   java.lang.String defaultValue)
        Deprecated.
         @deprecated -- use topicsToSchema
         
        map<string, string> topicsToSerDeClassName = 4 [deprecated = true];
        Specified by:
        getTopicsToSerDeClassNameOrDefault in interface Function.SourceSpecOrBuilder
      • getTopicsToSerDeClassNameOrThrow

        @Deprecated
        public java.lang.String getTopicsToSerDeClassNameOrThrow​(java.lang.String key)
        Deprecated.
         @deprecated -- use topicsToSchema
         
        map<string, string> topicsToSerDeClassName = 4 [deprecated = true];
        Specified by:
        getTopicsToSerDeClassNameOrThrow in interface Function.SourceSpecOrBuilder
      • getTopicsPattern

        @Deprecated
        public java.lang.String getTopicsPattern()
        Deprecated.
        string topicsPattern = 7 [deprecated = true];
        Specified by:
        getTopicsPattern in interface Function.SourceSpecOrBuilder
        Returns:
        The topicsPattern.
      • getTopicsPatternBytes

        @Deprecated
        public com.google.protobuf.ByteString getTopicsPatternBytes()
        Deprecated.
        string topicsPattern = 7 [deprecated = true];
        Specified by:
        getTopicsPatternBytes in interface Function.SourceSpecOrBuilder
        Returns:
        The bytes for topicsPattern.
      • getBuiltin

        public java.lang.String getBuiltin()
         If specified, this will refer to an archive that is
         already present in the server 
         
        string builtin = 8;
        Specified by:
        getBuiltin in interface Function.SourceSpecOrBuilder
        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 = 8;
        Specified by:
        getBuiltinBytes in interface Function.SourceSpecOrBuilder
        Returns:
        The bytes for builtin.
      • getSubscriptionPositionValue

        public int getSubscriptionPositionValue()
        .proto.SubscriptionPosition subscriptionPosition = 12;
        Specified by:
        getSubscriptionPositionValue in interface Function.SourceSpecOrBuilder
        Returns:
        The enum numeric value on the wire for subscriptionPosition.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Function.SourceSpec parseFrom​(java.nio.ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Function.SourceSpec parseFrom​(java.nio.ByteBuffer data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Function.SourceSpec parseFrom​(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Function.SourceSpec parseFrom​(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Function.SourceSpec parseFrom​(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Function.SourceSpec parseFrom​(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Function.SourceSpec parseFrom​(java.io.InputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Function.SourceSpec parseFrom​(java.io.InputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Function.SourceSpec parseDelimitedFrom​(java.io.InputStream input)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Function.SourceSpec parseDelimitedFrom​(java.io.InputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Function.SourceSpec parseFrom​(com.google.protobuf.CodedInputStream input)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Function.SourceSpec parseFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public Function.SourceSpec.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Function.SourceSpec.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Function.SourceSpec.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Function.SourceSpec> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Function.SourceSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder