类 Function.FunctionAuthenticationSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
-
- org.apache.pulsar.functions.proto.Function.FunctionAuthenticationSpec.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,Function.FunctionAuthenticationSpecOrBuilder
public static final class Function.FunctionAuthenticationSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder> implements Function.FunctionAuthenticationSpecOrBuilder
Protobuf typeproto.FunctionAuthenticationSpec
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Function.FunctionAuthenticationSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Function.FunctionAuthenticationSpecbuild()Function.FunctionAuthenticationSpecbuildPartial()Function.FunctionAuthenticationSpec.Builderclear()Function.FunctionAuthenticationSpec.BuilderclearData()function authentication related data that the function authentication provider needs to cache/distribute to all workers support function authentication.Function.FunctionAuthenticationSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Function.FunctionAuthenticationSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Function.FunctionAuthenticationSpec.BuilderclearProvider()classname of the function auth provicer this data is relevant toFunction.FunctionAuthenticationSpec.Builderclone()com.google.protobuf.ByteStringgetData()function authentication related data that the function authentication provider needs to cache/distribute to all workers support function authentication.Function.FunctionAuthenticationSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetProvider()classname of the function auth provicer this data is relevant tocom.google.protobuf.ByteStringgetProviderBytes()classname of the function auth provicer this data is relevant toprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Function.FunctionAuthenticationSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Function.FunctionAuthenticationSpec.BuildermergeFrom(com.google.protobuf.Message other)Function.FunctionAuthenticationSpec.BuildermergeFrom(Function.FunctionAuthenticationSpec other)Function.FunctionAuthenticationSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Function.FunctionAuthenticationSpec.BuildersetData(com.google.protobuf.ByteString value)function authentication related data that the function authentication provider needs to cache/distribute to all workers support function authentication.Function.FunctionAuthenticationSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Function.FunctionAuthenticationSpec.BuildersetProvider(java.lang.String value)classname of the function auth provicer this data is relevant toFunction.FunctionAuthenticationSpec.BuildersetProviderBytes(com.google.protobuf.ByteString value)classname of the function auth provicer this data is relevant toFunction.FunctionAuthenticationSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Function.FunctionAuthenticationSpec.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.FunctionAuthenticationSpec.Builder>
-
clear
public Function.FunctionAuthenticationSpec.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.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.FunctionAuthenticationSpec.Builder>
-
getDefaultInstanceForType
public Function.FunctionAuthenticationSpec getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public Function.FunctionAuthenticationSpec build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public Function.FunctionAuthenticationSpec buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public Function.FunctionAuthenticationSpec.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
-
setField
public Function.FunctionAuthenticationSpec.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.FunctionAuthenticationSpec.Builder>
-
clearField
public Function.FunctionAuthenticationSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
-
clearOneof
public Function.FunctionAuthenticationSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
-
setRepeatedField
public Function.FunctionAuthenticationSpec.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.FunctionAuthenticationSpec.Builder>
-
addRepeatedField
public Function.FunctionAuthenticationSpec.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.FunctionAuthenticationSpec.Builder>
-
mergeFrom
public Function.FunctionAuthenticationSpec.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.FunctionAuthenticationSpec.Builder>
-
mergeFrom
public Function.FunctionAuthenticationSpec.Builder mergeFrom(Function.FunctionAuthenticationSpec other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中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 java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.FunctionAuthenticationSpec.Builder>- 抛出:
java.io.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;- 指定者:
getData在接口中Function.FunctionAuthenticationSpecOrBuilder- 返回:
- 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;- 参数:
value- The data to set.- 返回:
- This builder for chaining.
-
clearData
public Function.FunctionAuthenticationSpec.Builder 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;- 返回:
- This builder for chaining.
-
getProvider
public java.lang.String getProvider()
classname of the function auth provicer this data is relevant to
string provider = 2;- 指定者:
getProvider在接口中Function.FunctionAuthenticationSpecOrBuilder- 返回:
- The provider.
-
getProviderBytes
public com.google.protobuf.ByteString getProviderBytes()
classname of the function auth provicer this data is relevant to
string provider = 2;- 指定者:
getProviderBytes在接口中Function.FunctionAuthenticationSpecOrBuilder- 返回:
- The bytes for provider.
-
setProvider
public Function.FunctionAuthenticationSpec.Builder setProvider(java.lang.String value)
classname of the function auth provicer this data is relevant to
string provider = 2;- 参数:
value- The provider to set.- 返回:
- This builder for chaining.
-
clearProvider
public Function.FunctionAuthenticationSpec.Builder clearProvider()
classname of the function auth provicer this data is relevant to
string provider = 2;- 返回:
- 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;- 参数:
value- The bytes for provider to set.- 返回:
- This builder for chaining.
-
setUnknownFields
public final Function.FunctionAuthenticationSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
-
mergeUnknownFields
public final Function.FunctionAuthenticationSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.FunctionAuthenticationSpec.Builder>
-
-