Class Function.FunctionMetaData
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Function.FunctionMetaData
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Function.FunctionMetaDataOrBuilder
- Enclosing class:
- Function
public static final class Function.FunctionMetaData
extends com.google.protobuf.GeneratedMessageV3
implements Function.FunctionMetaDataOrBuilder
Protobuf type
proto.FunctionMetaData- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeproto.FunctionMetaDataNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsInstanceStates(int key) map<int32, .proto.FunctionState> instanceStates = 5;booleanlonguint64 createTime = 4;static Function.FunctionMetaDatastatic final com.google.protobuf.Descriptors.Descriptor.proto.FunctionAuthenticationSpec functionAuthSpec = 6;.proto.FunctionAuthenticationSpec functionAuthSpec = 6;.proto.FunctionDetails functionDetails = 1;.proto.FunctionDetails functionDetails = 1;Deprecated.intmap<int32, .proto.FunctionState> instanceStates = 5;map<int32, .proto.FunctionState> instanceStates = 5;getInstanceStatesOrDefault(int key, Function.FunctionState defaultValue) map<int32, .proto.FunctionState> instanceStates = 5;getInstanceStatesOrThrow(int key) map<int32, .proto.FunctionState> instanceStates = 5;Deprecated.map<int32, .proto.FunctionState> instanceStates = 5;intgetInstanceStatesValueOrDefault(int key, int defaultValue) map<int32, .proto.FunctionState> instanceStates = 5;intgetInstanceStatesValueOrThrow(int key) map<int32, .proto.FunctionState> instanceStates = 5;.proto.PackageLocationMetaData packageLocation = 2;.proto.PackageLocationMetaData packageLocation = 2;com.google.protobuf.Parser<Function.FunctionMetaData>int.proto.PackageLocationMetaData transformFunctionPackageLocation = 7;.proto.PackageLocationMetaData transformFunctionPackageLocation = 7;longuint64 version = 3;boolean.proto.FunctionAuthenticationSpec functionAuthSpec = 6;boolean.proto.FunctionDetails functionDetails = 1;inthashCode()boolean.proto.PackageLocationMetaData packageLocation = 2;boolean.proto.PackageLocationMetaData transformFunctionPackageLocation = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(Function.FunctionMetaData prototype) protected Function.FunctionMetaData.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Function.FunctionMetaDataparseDelimitedFrom(InputStream input) static Function.FunctionMetaDataparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.FunctionMetaDataparseFrom(byte[] data) static Function.FunctionMetaDataparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.FunctionMetaDataparseFrom(com.google.protobuf.ByteString data) static Function.FunctionMetaDataparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.FunctionMetaDataparseFrom(com.google.protobuf.CodedInputStream input) static Function.FunctionMetaDataparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.FunctionMetaDataparseFrom(InputStream input) static Function.FunctionMetaDataparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.FunctionMetaDataparseFrom(ByteBuffer data) static Function.FunctionMetaDataparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Function.FunctionMetaData>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FUNCTIONDETAILS_FIELD_NUMBER
public static final int FUNCTIONDETAILS_FIELD_NUMBER- See Also:
-
PACKAGELOCATION_FIELD_NUMBER
public static final int PACKAGELOCATION_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
CREATETIME_FIELD_NUMBER
public static final int CREATETIME_FIELD_NUMBER- See Also:
-
INSTANCESTATES_FIELD_NUMBER
public static final int INSTANCESTATES_FIELD_NUMBER- See Also:
-
FUNCTIONAUTHSPEC_FIELD_NUMBER
public static final int FUNCTIONAUTHSPEC_FIELD_NUMBER- See Also:
-
TRANSFORMFUNCTIONPACKAGELOCATION_FIELD_NUMBER
public static final int TRANSFORMFUNCTIONPACKAGELOCATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasFunctionDetails
public boolean hasFunctionDetails().proto.FunctionDetails functionDetails = 1;- Specified by:
hasFunctionDetailsin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- Whether the functionDetails field is set.
-
getFunctionDetails
.proto.FunctionDetails functionDetails = 1;- Specified by:
getFunctionDetailsin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- The functionDetails.
-
getFunctionDetailsOrBuilder
.proto.FunctionDetails functionDetails = 1;- Specified by:
getFunctionDetailsOrBuilderin interfaceFunction.FunctionMetaDataOrBuilder
-
hasPackageLocation
public boolean hasPackageLocation().proto.PackageLocationMetaData packageLocation = 2;- Specified by:
hasPackageLocationin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- Whether the packageLocation field is set.
-
getPackageLocation
.proto.PackageLocationMetaData packageLocation = 2;- Specified by:
getPackageLocationin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- The packageLocation.
-
getPackageLocationOrBuilder
.proto.PackageLocationMetaData packageLocation = 2;- Specified by:
getPackageLocationOrBuilderin interfaceFunction.FunctionMetaDataOrBuilder
-
getVersion
public long getVersion()uint64 version = 3;- Specified by:
getVersionin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- The version.
-
getCreateTime
public long getCreateTime()uint64 createTime = 4;- Specified by:
getCreateTimein interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- The createTime.
-
getInstanceStatesCount
public int getInstanceStatesCount()Description copied from interface:Function.FunctionMetaDataOrBuildermap<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesCountin interfaceFunction.FunctionMetaDataOrBuilder
-
containsInstanceStates
public boolean containsInstanceStates(int key) map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
containsInstanceStatesin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStates
Deprecated.UsegetInstanceStatesMap()instead.- Specified by:
getInstanceStatesin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesMap
map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesMapin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesOrDefault
public Function.FunctionState getInstanceStatesOrDefault(int key, Function.FunctionState defaultValue) map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesOrDefaultin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesOrThrow
map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesOrThrowin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesValue
Deprecated.UsegetInstanceStatesValueMap()instead.- Specified by:
getInstanceStatesValuein interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesValueMap
map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesValueMapin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesValueOrDefault
public int getInstanceStatesValueOrDefault(int key, int defaultValue) map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesValueOrDefaultin interfaceFunction.FunctionMetaDataOrBuilder
-
getInstanceStatesValueOrThrow
public int getInstanceStatesValueOrThrow(int key) map<int32, .proto.FunctionState> instanceStates = 5;- Specified by:
getInstanceStatesValueOrThrowin interfaceFunction.FunctionMetaDataOrBuilder
-
hasFunctionAuthSpec
public boolean hasFunctionAuthSpec().proto.FunctionAuthenticationSpec functionAuthSpec = 6;- Specified by:
hasFunctionAuthSpecin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- Whether the functionAuthSpec field is set.
-
getFunctionAuthSpec
.proto.FunctionAuthenticationSpec functionAuthSpec = 6;- Specified by:
getFunctionAuthSpecin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- The functionAuthSpec.
-
getFunctionAuthSpecOrBuilder
.proto.FunctionAuthenticationSpec functionAuthSpec = 6;- Specified by:
getFunctionAuthSpecOrBuilderin interfaceFunction.FunctionMetaDataOrBuilder
-
hasTransformFunctionPackageLocation
public boolean hasTransformFunctionPackageLocation().proto.PackageLocationMetaData transformFunctionPackageLocation = 7;- Specified by:
hasTransformFunctionPackageLocationin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- Whether the transformFunctionPackageLocation field is set.
-
getTransformFunctionPackageLocation
.proto.PackageLocationMetaData transformFunctionPackageLocation = 7;- Specified by:
getTransformFunctionPackageLocationin interfaceFunction.FunctionMetaDataOrBuilder- Returns:
- The transformFunctionPackageLocation.
-
getTransformFunctionPackageLocationOrBuilder
.proto.PackageLocationMetaData transformFunctionPackageLocation = 7;- Specified by:
getTransformFunctionPackageLocationOrBuilderin interfaceFunction.FunctionMetaDataOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Function.FunctionMetaData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.FunctionMetaData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.FunctionMetaData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.FunctionMetaData 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.FunctionMetaData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.FunctionMetaData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Function.FunctionMetaData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Function.FunctionMetaData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Function.FunctionMetaData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Function.FunctionMetaData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Function.FunctionMetaData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-