Class MLDataFormats.OffloadContext
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.bookkeeper.mledger.proto.MLDataFormats.OffloadContext
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,MLDataFormats.OffloadContextOrBuilder
- Enclosing class:
- MLDataFormats
public static final class MLDataFormats.OffloadContext
extends com.google.protobuf.GeneratedMessageV3
implements MLDataFormats.OffloadContextOrBuilder
Protobuf type
OffloadContext- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeOffloadContextNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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 com.google.protobuf.Parser<MLDataFormats.OffloadContext>Deprecated.static 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 TypeMethodDescriptionbooleanbooleanoptional bool bookkeeperDeleted = 4;booleanoptional bool complete = 3;static MLDataFormats.OffloadContextstatic final com.google.protobuf.Descriptors.Descriptoroptional .OffloadDriverMetadata driverMetadata = 6;optional .OffloadDriverMetadata driverMetadata = 6;getOffloadSegment(int index) repeated .OffloadSegment offloadSegment = 7;intrepeated .OffloadSegment offloadSegment = 7;repeated .OffloadSegment offloadSegment = 7;getOffloadSegmentOrBuilder(int index) repeated .OffloadSegment offloadSegment = 7;List<? extends MLDataFormats.OffloadSegmentOrBuilder>repeated .OffloadSegment offloadSegment = 7;com.google.protobuf.Parser<MLDataFormats.OffloadContext>intlongoptional int64 timestamp = 5;longoptional int64 uidLsb = 2;longoptional int64 uidMsb = 1;final com.google.protobuf.UnknownFieldSetbooleanoptional bool bookkeeperDeleted = 4;booleanoptional bool complete = 3;booleanoptional .OffloadDriverMetadata driverMetadata = 6;inthashCode()booleanoptional int64 timestamp = 5;booleanoptional int64 uidLsb = 2;booleanoptional int64 uidMsb = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(MLDataFormats.OffloadContext prototype) protected MLDataFormats.OffloadContext.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static MLDataFormats.OffloadContextparseDelimitedFrom(InputStream input) static MLDataFormats.OffloadContextparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLDataFormats.OffloadContextparseFrom(byte[] data) static MLDataFormats.OffloadContextparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLDataFormats.OffloadContextparseFrom(com.google.protobuf.ByteString data) static MLDataFormats.OffloadContextparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLDataFormats.OffloadContextparseFrom(com.google.protobuf.CodedInputStream input) static MLDataFormats.OffloadContextparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLDataFormats.OffloadContextparseFrom(InputStream input) static MLDataFormats.OffloadContextparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MLDataFormats.OffloadContextparseFrom(ByteBuffer data) static MLDataFormats.OffloadContextparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MLDataFormats.OffloadContext>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, hasField, hasOneof
-
Field Details
-
UIDMSB_FIELD_NUMBER
public static final int UIDMSB_FIELD_NUMBER- See Also:
-
UIDLSB_FIELD_NUMBER
public static final int UIDLSB_FIELD_NUMBER- See Also:
-
COMPLETE_FIELD_NUMBER
public static final int COMPLETE_FIELD_NUMBER- See Also:
-
BOOKKEEPERDELETED_FIELD_NUMBER
public static final int BOOKKEEPERDELETED_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
DRIVERMETADATA_FIELD_NUMBER
public static final int DRIVERMETADATA_FIELD_NUMBER- See Also:
-
OFFLOADSEGMENT_FIELD_NUMBER
public static final int OFFLOADSEGMENT_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasUidMsb
public boolean hasUidMsb()optional int64 uidMsb = 1;- Specified by:
hasUidMsbin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- Whether the uidMsb field is set.
-
getUidMsb
public long getUidMsb()optional int64 uidMsb = 1;- Specified by:
getUidMsbin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- The uidMsb.
-
hasUidLsb
public boolean hasUidLsb()optional int64 uidLsb = 2;- Specified by:
hasUidLsbin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- Whether the uidLsb field is set.
-
getUidLsb
public long getUidLsb()optional int64 uidLsb = 2;- Specified by:
getUidLsbin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- The uidLsb.
-
hasComplete
public boolean hasComplete()optional bool complete = 3;- Specified by:
hasCompletein interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- Whether the complete field is set.
-
getComplete
public boolean getComplete()optional bool complete = 3;- Specified by:
getCompletein interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- The complete.
-
hasBookkeeperDeleted
public boolean hasBookkeeperDeleted()optional bool bookkeeperDeleted = 4;- Specified by:
hasBookkeeperDeletedin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- Whether the bookkeeperDeleted field is set.
-
getBookkeeperDeleted
public boolean getBookkeeperDeleted()optional bool bookkeeperDeleted = 4;- Specified by:
getBookkeeperDeletedin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- The bookkeeperDeleted.
-
hasTimestamp
public boolean hasTimestamp()optional int64 timestamp = 5;- Specified by:
hasTimestampin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()optional int64 timestamp = 5;- Specified by:
getTimestampin interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- The timestamp.
-
hasDriverMetadata
public boolean hasDriverMetadata()optional .OffloadDriverMetadata driverMetadata = 6;- Specified by:
hasDriverMetadatain interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- Whether the driverMetadata field is set.
-
getDriverMetadata
optional .OffloadDriverMetadata driverMetadata = 6;- Specified by:
getDriverMetadatain interfaceMLDataFormats.OffloadContextOrBuilder- Returns:
- The driverMetadata.
-
getDriverMetadataOrBuilder
optional .OffloadDriverMetadata driverMetadata = 6;- Specified by:
getDriverMetadataOrBuilderin interfaceMLDataFormats.OffloadContextOrBuilder
-
getOffloadSegmentList
repeated .OffloadSegment offloadSegment = 7;- Specified by:
getOffloadSegmentListin interfaceMLDataFormats.OffloadContextOrBuilder
-
getOffloadSegmentOrBuilderList
repeated .OffloadSegment offloadSegment = 7;- Specified by:
getOffloadSegmentOrBuilderListin interfaceMLDataFormats.OffloadContextOrBuilder
-
getOffloadSegmentCount
public int getOffloadSegmentCount()repeated .OffloadSegment offloadSegment = 7;- Specified by:
getOffloadSegmentCountin interfaceMLDataFormats.OffloadContextOrBuilder
-
getOffloadSegment
repeated .OffloadSegment offloadSegment = 7;- Specified by:
getOffloadSegmentin interfaceMLDataFormats.OffloadContextOrBuilder
-
getOffloadSegmentOrBuilder
repeated .OffloadSegment offloadSegment = 7;- Specified by:
getOffloadSegmentOrBuilderin interfaceMLDataFormats.OffloadContextOrBuilder
-
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 MLDataFormats.OffloadContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static MLDataFormats.OffloadContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static MLDataFormats.OffloadContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static MLDataFormats.OffloadContext 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
public static MLDataFormats.OffloadContext.Builder newBuilder(MLDataFormats.OffloadContext prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MLDataFormats.OffloadContext.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
-