Class Function.SinkSpec

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

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

      • TYPECLASSNAME_FIELD_NUMBER

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

        public static final int PRODUCERSPEC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERDECLASSNAME_FIELD_NUMBER

        public static final int SERDECLASSNAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHEMATYPE_FIELD_NUMBER

        public static final int SCHEMATYPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER

        public static final int FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SCHEMAPROPERTIES_FIELD_NUMBER

        public static final int SCHEMAPROPERTIES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CONSUMERPROPERTIES_FIELD_NUMBER

        public static final int CONSUMERPROPERTIES_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.SinkSpecOrBuilder
        Returns:
        The bytes for configs.
      • getTopic

        public java.lang.String getTopic()
         configs used only when functions output to sink
         
        string topic = 3;
        Specified by:
        getTopic in interface Function.SinkSpecOrBuilder
        Returns:
        The topic.
      • getTopicBytes

        public com.google.protobuf.ByteString getTopicBytes()
         configs used only when functions output to sink
         
        string topic = 3;
        Specified by:
        getTopicBytes in interface Function.SinkSpecOrBuilder
        Returns:
        The bytes for topic.
      • hasProducerSpec

        public boolean hasProducerSpec()
        .proto.ProducerSpec producerSpec = 11;
        Specified by:
        hasProducerSpec in interface Function.SinkSpecOrBuilder
        Returns:
        Whether the producerSpec field is set.
      • 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:
        getBuiltin in interface Function.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:
        getBuiltinBytes in interface Function.SinkSpecOrBuilder
        Returns:
        The bytes for builtin.
      • getSchemaType

        public java.lang.String getSchemaType()
        
         Builtin schema type or custom schema class name
         
        string schemaType = 7;
        Specified by:
        getSchemaType in interface Function.SinkSpecOrBuilder
        Returns:
        The schemaType.
      • getSchemaTypeBytes

        public com.google.protobuf.ByteString getSchemaTypeBytes()
        
         Builtin schema type or custom schema class name
         
        string schemaType = 7;
        Specified by:
        getSchemaTypeBytes in interface Function.SinkSpecOrBuilder
        Returns:
        The bytes for schemaType.
      • getSchemaPropertiesOrDefault

        public java.lang.String getSchemaPropertiesOrDefault​(java.lang.String key,
                                                             java.lang.String defaultValue)
        map<string, string> schemaProperties = 9;
        Specified by:
        getSchemaPropertiesOrDefault in interface Function.SinkSpecOrBuilder
      • 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.SinkSpec parseFrom​(java.nio.ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Function.SinkSpec 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.SinkSpec parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<Function.SinkSpec> 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.SinkSpec getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder