类 Function.CryptoSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Function.CryptoSpec
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Function.CryptoSpecOrBuilder
封闭类:
Function

public static final class Function.CryptoSpec extends com.google.protobuf.GeneratedMessageV3 implements Function.CryptoSpecOrBuilder
Protobuf type proto.CryptoSpec
另请参阅:
  • 字段详细资料

    • CRYPTOKEYREADERCLASSNAME_FIELD_NUMBER

      public static final int CRYPTOKEYREADERCLASSNAME_FIELD_NUMBER
      另请参阅:
    • CRYPTOKEYREADERCONFIG_FIELD_NUMBER

      public static final int CRYPTOKEYREADERCONFIG_FIELD_NUMBER
      另请参阅:
    • PRODUCERENCRYPTIONKEYNAME_FIELD_NUMBER

      public static final int PRODUCERENCRYPTIONKEYNAME_FIELD_NUMBER
      另请参阅:
    • PRODUCERCRYPTOFAILUREACTION_FIELD_NUMBER

      public static final int PRODUCERCRYPTOFAILUREACTION_FIELD_NUMBER
      另请参阅:
    • CONSUMERCRYPTOFAILUREACTION_FIELD_NUMBER

      public static final int CONSUMERCRYPTOFAILUREACTION_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      指定者:
      getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
    • getCryptoKeyReaderClassName

      public String getCryptoKeyReaderClassName()
      string cryptoKeyReaderClassName = 1;
      指定者:
      getCryptoKeyReaderClassName 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The cryptoKeyReaderClassName.
    • getCryptoKeyReaderClassNameBytes

      public com.google.protobuf.ByteString getCryptoKeyReaderClassNameBytes()
      string cryptoKeyReaderClassName = 1;
      指定者:
      getCryptoKeyReaderClassNameBytes 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The bytes for cryptoKeyReaderClassName.
    • getCryptoKeyReaderConfig

      public String getCryptoKeyReaderConfig()
      string cryptoKeyReaderConfig = 2;
      指定者:
      getCryptoKeyReaderConfig 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The cryptoKeyReaderConfig.
    • getCryptoKeyReaderConfigBytes

      public com.google.protobuf.ByteString getCryptoKeyReaderConfigBytes()
      string cryptoKeyReaderConfig = 2;
      指定者:
      getCryptoKeyReaderConfigBytes 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The bytes for cryptoKeyReaderConfig.
    • getProducerEncryptionKeyNameList

      public com.google.protobuf.ProtocolStringList getProducerEncryptionKeyNameList()
       key names used by producer to encrypt data
       
      repeated string producerEncryptionKeyName = 3;
      指定者:
      getProducerEncryptionKeyNameList 在接口中 Function.CryptoSpecOrBuilder
      返回:
      A list containing the producerEncryptionKeyName.
    • getProducerEncryptionKeyNameCount

      public int getProducerEncryptionKeyNameCount()
       key names used by producer to encrypt data
       
      repeated string producerEncryptionKeyName = 3;
      指定者:
      getProducerEncryptionKeyNameCount 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The count of producerEncryptionKeyName.
    • getProducerEncryptionKeyName

      public String getProducerEncryptionKeyName(int index)
       key names used by producer to encrypt data
       
      repeated string producerEncryptionKeyName = 3;
      指定者:
      getProducerEncryptionKeyName 在接口中 Function.CryptoSpecOrBuilder
      参数:
      index - The index of the element to return.
      返回:
      The producerEncryptionKeyName at the given index.
    • getProducerEncryptionKeyNameBytes

      public com.google.protobuf.ByteString getProducerEncryptionKeyNameBytes(int index)
       key names used by producer to encrypt data
       
      repeated string producerEncryptionKeyName = 3;
      指定者:
      getProducerEncryptionKeyNameBytes 在接口中 Function.CryptoSpecOrBuilder
      参数:
      index - The index of the value to return.
      返回:
      The bytes of the producerEncryptionKeyName at the given index.
    • getProducerCryptoFailureActionValue

      public int getProducerCryptoFailureActionValue()
       define the action if producer fail to encrypt data
       one of FAIL, SEND
       
      .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
      指定者:
      getProducerCryptoFailureActionValue 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The enum numeric value on the wire for producerCryptoFailureAction.
    • getProducerCryptoFailureAction

      public Function.CryptoSpec.FailureAction getProducerCryptoFailureAction()
       define the action if producer fail to encrypt data
       one of FAIL, SEND
       
      .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
      指定者:
      getProducerCryptoFailureAction 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The producerCryptoFailureAction.
    • getConsumerCryptoFailureActionValue

      public int getConsumerCryptoFailureActionValue()
       define the action if consumer fail to decrypt data
       one of FAIL, DISCARD, CONSUME
       
      .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
      指定者:
      getConsumerCryptoFailureActionValue 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The enum numeric value on the wire for consumerCryptoFailureAction.
    • getConsumerCryptoFailureAction

      public Function.CryptoSpec.FailureAction getConsumerCryptoFailureAction()
       define the action if consumer fail to decrypt data
       one of FAIL, DISCARD, CONSUME
       
      .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
      指定者:
      getConsumerCryptoFailureAction 在接口中 Function.CryptoSpecOrBuilder
      返回:
      The consumerCryptoFailureAction.
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      指定者:
      getSerializedSize 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      指定者:
      equals 在接口中 com.google.protobuf.Message
      覆盖:
      equals 在类中 com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 com.google.protobuf.Message
      覆盖:
      hashCode 在类中 com.google.protobuf.AbstractMessage
    • parseFrom

      public static Function.CryptoSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Function.CryptoSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Function.CryptoSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Function.CryptoSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Function.CryptoSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Function.CryptoSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Function.CryptoSpec parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Function.CryptoSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static Function.CryptoSpec parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static Function.CryptoSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Function.CryptoSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Function.CryptoSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • newBuilderForType

      public Function.CryptoSpec.Builder newBuilderForType()
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

      public static Function.CryptoSpec.Builder newBuilder()
    • newBuilder

      public static Function.CryptoSpec.Builder newBuilder(Function.CryptoSpec prototype)
    • toBuilder

      public Function.CryptoSpec.Builder toBuilder()
      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected Function.CryptoSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Function.CryptoSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Function.CryptoSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<Function.CryptoSpec> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Function.CryptoSpec getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder