Class Function.FunctionAuthenticationSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
org.apache.pulsar.functions.proto.Function.FunctionAuthenticationSpec.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Function.FunctionAuthenticationSpecOrBuilder
Enclosing class:
Function.FunctionAuthenticationSpec

public static final class Function.FunctionAuthenticationSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder> implements Function.FunctionAuthenticationSpecOrBuilder
Protobuf type proto.FunctionAuthenticationSpec
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Function.FunctionAuthenticationSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • setField

      public Function.FunctionAuthenticationSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • clearField

      public Function.FunctionAuthenticationSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • clearOneof

      public Function.FunctionAuthenticationSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • setRepeatedField

      public Function.FunctionAuthenticationSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • addRepeatedField

      public Function.FunctionAuthenticationSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • mergeFrom

      public Function.FunctionAuthenticationSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.FunctionAuthenticationSpec.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • mergeFrom

      public Function.FunctionAuthenticationSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Function.FunctionAuthenticationSpec.Builder>
      Throws:
      IOException
    • getData

      public com.google.protobuf.ByteString getData()
      
       function authentication related data that the function authentication provider
       needs to cache/distribute to all workers support function authentication.
       Depending on the function authentication provider implementation, this can be the actual auth credentials
       or a pointer to the auth credentials that this function should use
       
      bytes data = 1;
      Specified by:
      getData in interface Function.FunctionAuthenticationSpecOrBuilder
      Returns:
      The data.
    • setData

      public Function.FunctionAuthenticationSpec.Builder setData(com.google.protobuf.ByteString value)
      
       function authentication related data that the function authentication provider
       needs to cache/distribute to all workers support function authentication.
       Depending on the function authentication provider implementation, this can be the actual auth credentials
       or a pointer to the auth credentials that this function should use
       
      bytes data = 1;
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      
       function authentication related data that the function authentication provider
       needs to cache/distribute to all workers support function authentication.
       Depending on the function authentication provider implementation, this can be the actual auth credentials
       or a pointer to the auth credentials that this function should use
       
      bytes data = 1;
      Returns:
      This builder for chaining.
    • getProvider

      public String getProvider()
      
       classname of the function auth provicer this data is relevant to
       
      string provider = 2;
      Specified by:
      getProvider in interface Function.FunctionAuthenticationSpecOrBuilder
      Returns:
      The provider.
    • getProviderBytes

      public com.google.protobuf.ByteString getProviderBytes()
      
       classname of the function auth provicer this data is relevant to
       
      string provider = 2;
      Specified by:
      getProviderBytes in interface Function.FunctionAuthenticationSpecOrBuilder
      Returns:
      The bytes for provider.
    • setProvider

      
       classname of the function auth provicer this data is relevant to
       
      string provider = 2;
      Parameters:
      value - The provider to set.
      Returns:
      This builder for chaining.
    • clearProvider

      
       classname of the function auth provicer this data is relevant to
       
      string provider = 2;
      Returns:
      This builder for chaining.
    • setProviderBytes

      public Function.FunctionAuthenticationSpec.Builder setProviderBytes(com.google.protobuf.ByteString value)
      
       classname of the function auth provicer this data is relevant to
       
      string provider = 2;
      Parameters:
      value - The bytes for provider to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Function.FunctionAuthenticationSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
    • mergeUnknownFields

      public final Function.FunctionAuthenticationSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>