类 Function.CryptoSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
- org.apache.pulsar.functions.proto.Function.CryptoSpec.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,Function.CryptoSpecOrBuilder
- 封闭类:
- Function.CryptoSpec
public static final class Function.CryptoSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder> implements Function.CryptoSpecOrBuilder
Protobuf typeproto.CryptoSpec
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Function.CryptoSpec.BuilderaddAllProducerEncryptionKeyName(java.lang.Iterable<java.lang.String> values)key names used by producer to encrypt dataFunction.CryptoSpec.BuilderaddProducerEncryptionKeyName(java.lang.String value)key names used by producer to encrypt dataFunction.CryptoSpec.BuilderaddProducerEncryptionKeyNameBytes(com.google.protobuf.ByteString value)key names used by producer to encrypt dataFunction.CryptoSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Function.CryptoSpecbuild()Function.CryptoSpecbuildPartial()Function.CryptoSpec.Builderclear()Function.CryptoSpec.BuilderclearConsumerCryptoFailureAction()define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEFunction.CryptoSpec.BuilderclearCryptoKeyReaderClassName()string cryptoKeyReaderClassName = 1;Function.CryptoSpec.BuilderclearCryptoKeyReaderConfig()string cryptoKeyReaderConfig = 2;Function.CryptoSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Function.CryptoSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Function.CryptoSpec.BuilderclearProducerCryptoFailureAction()define the action if producer fail to encrypt data one of FAIL, SENDFunction.CryptoSpec.BuilderclearProducerEncryptionKeyName()key names used by producer to encrypt dataFunction.CryptoSpec.Builderclone()Function.CryptoSpec.FailureActiongetConsumerCryptoFailureAction()define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEintgetConsumerCryptoFailureActionValue()define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEjava.lang.StringgetCryptoKeyReaderClassName()string cryptoKeyReaderClassName = 1;com.google.protobuf.ByteStringgetCryptoKeyReaderClassNameBytes()string cryptoKeyReaderClassName = 1;java.lang.StringgetCryptoKeyReaderConfig()string cryptoKeyReaderConfig = 2;com.google.protobuf.ByteStringgetCryptoKeyReaderConfigBytes()string cryptoKeyReaderConfig = 2;Function.CryptoSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Function.CryptoSpec.FailureActiongetProducerCryptoFailureAction()define the action if producer fail to encrypt data one of FAIL, SENDintgetProducerCryptoFailureActionValue()define the action if producer fail to encrypt data one of FAIL, SENDjava.lang.StringgetProducerEncryptionKeyName(int index)key names used by producer to encrypt datacom.google.protobuf.ByteStringgetProducerEncryptionKeyNameBytes(int index)key names used by producer to encrypt dataintgetProducerEncryptionKeyNameCount()key names used by producer to encrypt datacom.google.protobuf.ProtocolStringListgetProducerEncryptionKeyNameList()key names used by producer to encrypt dataprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Function.CryptoSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Function.CryptoSpec.BuildermergeFrom(com.google.protobuf.Message other)Function.CryptoSpec.BuildermergeFrom(Function.CryptoSpec other)Function.CryptoSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Function.CryptoSpec.BuildersetConsumerCryptoFailureAction(Function.CryptoSpec.FailureAction value)define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEFunction.CryptoSpec.BuildersetConsumerCryptoFailureActionValue(int value)define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEFunction.CryptoSpec.BuildersetCryptoKeyReaderClassName(java.lang.String value)string cryptoKeyReaderClassName = 1;Function.CryptoSpec.BuildersetCryptoKeyReaderClassNameBytes(com.google.protobuf.ByteString value)string cryptoKeyReaderClassName = 1;Function.CryptoSpec.BuildersetCryptoKeyReaderConfig(java.lang.String value)string cryptoKeyReaderConfig = 2;Function.CryptoSpec.BuildersetCryptoKeyReaderConfigBytes(com.google.protobuf.ByteString value)string cryptoKeyReaderConfig = 2;Function.CryptoSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Function.CryptoSpec.BuildersetProducerCryptoFailureAction(Function.CryptoSpec.FailureAction value)define the action if producer fail to encrypt data one of FAIL, SENDFunction.CryptoSpec.BuildersetProducerCryptoFailureActionValue(int value)define the action if producer fail to encrypt data one of FAIL, SENDFunction.CryptoSpec.BuildersetProducerEncryptionKeyName(int index, java.lang.String value)key names used by producer to encrypt dataFunction.CryptoSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Function.CryptoSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
clear
public Function.CryptoSpec.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
getDefaultInstanceForType
public Function.CryptoSpec getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public Function.CryptoSpec build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public Function.CryptoSpec buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public Function.CryptoSpec.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
setField
public Function.CryptoSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
clearField
public Function.CryptoSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
clearOneof
public Function.CryptoSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
setRepeatedField
public Function.CryptoSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
addRepeatedField
public Function.CryptoSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
mergeFrom
public Function.CryptoSpec.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.CryptoSpec.Builder>
-
mergeFrom
public Function.CryptoSpec.Builder mergeFrom(Function.CryptoSpec other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
mergeFrom
public Function.CryptoSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.CryptoSpec.Builder>- 抛出:
java.io.IOException
-
getCryptoKeyReaderClassName
public java.lang.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.
-
setCryptoKeyReaderClassName
public Function.CryptoSpec.Builder setCryptoKeyReaderClassName(java.lang.String value)
string cryptoKeyReaderClassName = 1;- 参数:
value- The cryptoKeyReaderClassName to set.- 返回:
- This builder for chaining.
-
clearCryptoKeyReaderClassName
public Function.CryptoSpec.Builder clearCryptoKeyReaderClassName()
string cryptoKeyReaderClassName = 1;- 返回:
- This builder for chaining.
-
setCryptoKeyReaderClassNameBytes
public Function.CryptoSpec.Builder setCryptoKeyReaderClassNameBytes(com.google.protobuf.ByteString value)
string cryptoKeyReaderClassName = 1;- 参数:
value- The bytes for cryptoKeyReaderClassName to set.- 返回:
- This builder for chaining.
-
getCryptoKeyReaderConfig
public java.lang.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.
-
setCryptoKeyReaderConfig
public Function.CryptoSpec.Builder setCryptoKeyReaderConfig(java.lang.String value)
string cryptoKeyReaderConfig = 2;- 参数:
value- The cryptoKeyReaderConfig to set.- 返回:
- This builder for chaining.
-
clearCryptoKeyReaderConfig
public Function.CryptoSpec.Builder clearCryptoKeyReaderConfig()
string cryptoKeyReaderConfig = 2;- 返回:
- This builder for chaining.
-
setCryptoKeyReaderConfigBytes
public Function.CryptoSpec.Builder setCryptoKeyReaderConfigBytes(com.google.protobuf.ByteString value)
string cryptoKeyReaderConfig = 2;- 参数:
value- The bytes for cryptoKeyReaderConfig to set.- 返回:
- This builder for chaining.
-
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 java.lang.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.
-
setProducerEncryptionKeyName
public Function.CryptoSpec.Builder setProducerEncryptionKeyName(int index, java.lang.String value)
key names used by producer to encrypt data
repeated string producerEncryptionKeyName = 3;- 参数:
index- The index to set the value at.value- The producerEncryptionKeyName to set.- 返回:
- This builder for chaining.
-
addProducerEncryptionKeyName
public Function.CryptoSpec.Builder addProducerEncryptionKeyName(java.lang.String value)
key names used by producer to encrypt data
repeated string producerEncryptionKeyName = 3;- 参数:
value- The producerEncryptionKeyName to add.- 返回:
- This builder for chaining.
-
addAllProducerEncryptionKeyName
public Function.CryptoSpec.Builder addAllProducerEncryptionKeyName(java.lang.Iterable<java.lang.String> values)
key names used by producer to encrypt data
repeated string producerEncryptionKeyName = 3;- 参数:
values- The producerEncryptionKeyName to add.- 返回:
- This builder for chaining.
-
clearProducerEncryptionKeyName
public Function.CryptoSpec.Builder clearProducerEncryptionKeyName()
key names used by producer to encrypt data
repeated string producerEncryptionKeyName = 3;- 返回:
- This builder for chaining.
-
addProducerEncryptionKeyNameBytes
public Function.CryptoSpec.Builder addProducerEncryptionKeyNameBytes(com.google.protobuf.ByteString value)
key names used by producer to encrypt data
repeated string producerEncryptionKeyName = 3;- 参数:
value- The bytes of the producerEncryptionKeyName to add.- 返回:
- This builder for chaining.
-
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.
-
setProducerCryptoFailureActionValue
public Function.CryptoSpec.Builder setProducerCryptoFailureActionValue(int value)
define the action if producer fail to encrypt data one of FAIL, SEND
.proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;- 参数:
value- The enum numeric value on the wire for producerCryptoFailureAction to set.- 返回:
- This builder for chaining.
-
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.
-
setProducerCryptoFailureAction
public Function.CryptoSpec.Builder setProducerCryptoFailureAction(Function.CryptoSpec.FailureAction value)
define the action if producer fail to encrypt data one of FAIL, SEND
.proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;- 参数:
value- The producerCryptoFailureAction to set.- 返回:
- This builder for chaining.
-
clearProducerCryptoFailureAction
public Function.CryptoSpec.Builder clearProducerCryptoFailureAction()
define the action if producer fail to encrypt data one of FAIL, SEND
.proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;- 返回:
- This builder for chaining.
-
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.
-
setConsumerCryptoFailureActionValue
public Function.CryptoSpec.Builder setConsumerCryptoFailureActionValue(int value)
define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUME
.proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;- 参数:
value- The enum numeric value on the wire for consumerCryptoFailureAction to set.- 返回:
- This builder for chaining.
-
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.
-
setConsumerCryptoFailureAction
public Function.CryptoSpec.Builder setConsumerCryptoFailureAction(Function.CryptoSpec.FailureAction value)
define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUME
.proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;- 参数:
value- The consumerCryptoFailureAction to set.- 返回:
- This builder for chaining.
-
clearConsumerCryptoFailureAction
public Function.CryptoSpec.Builder clearConsumerCryptoFailureAction()
define the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUME
.proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;- 返回:
- This builder for chaining.
-
setUnknownFields
public final Function.CryptoSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
mergeUnknownFields
public final Function.CryptoSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
-
-