public static final class SnapshotData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder> implements SnapshotDataOrBuilder
alluxio.grpc.meta.SnapshotData
Modifier and Type | Method and Description |
---|---|
SnapshotData.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SnapshotData |
build() |
SnapshotData |
buildPartial() |
SnapshotData.Builder |
clear() |
SnapshotData.Builder |
clearChunk()
optional bytes chunk = 3; |
SnapshotData.Builder |
clearEof()
optional bool eof = 5; |
SnapshotData.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SnapshotData.Builder |
clearOffset()
optional int64 offset = 4; |
SnapshotData.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SnapshotData.Builder |
clearSnapshotIndex()
optional int64 snapshotIndex = 2; |
SnapshotData.Builder |
clearSnapshotTerm()
optional int64 snapshotTerm = 1; |
SnapshotData.Builder |
clone() |
com.google.protobuf.ByteString |
getChunk()
optional bytes chunk = 3; |
SnapshotData |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEof()
optional bool eof = 5; |
long |
getOffset()
optional int64 offset = 4; |
long |
getSnapshotIndex()
optional int64 snapshotIndex = 2; |
long |
getSnapshotTerm()
optional int64 snapshotTerm = 1; |
boolean |
hasChunk()
optional bytes chunk = 3; |
boolean |
hasEof()
optional bool eof = 5; |
boolean |
hasOffset()
optional int64 offset = 4; |
boolean |
hasSnapshotIndex()
optional int64 snapshotIndex = 2; |
boolean |
hasSnapshotTerm()
optional int64 snapshotTerm = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SnapshotData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SnapshotData.Builder |
mergeFrom(com.google.protobuf.Message other) |
SnapshotData.Builder |
mergeFrom(SnapshotData other) |
SnapshotData.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SnapshotData.Builder |
setChunk(com.google.protobuf.ByteString value)
optional bytes chunk = 3; |
SnapshotData.Builder |
setEof(boolean value)
optional bool eof = 5; |
SnapshotData.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SnapshotData.Builder |
setOffset(long value)
optional int64 offset = 4; |
SnapshotData.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SnapshotData.Builder |
setSnapshotIndex(long value)
optional int64 snapshotIndex = 2; |
SnapshotData.Builder |
setSnapshotTerm(long value)
optional int64 snapshotTerm = 1; |
SnapshotData.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SnapshotData build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SnapshotData buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SnapshotData.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SnapshotData.Builder>
public SnapshotData.Builder mergeFrom(SnapshotData other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public SnapshotData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SnapshotData.Builder>
IOException
public boolean hasSnapshotTerm()
optional int64 snapshotTerm = 1;
hasSnapshotTerm
in interface SnapshotDataOrBuilder
public long getSnapshotTerm()
optional int64 snapshotTerm = 1;
getSnapshotTerm
in interface SnapshotDataOrBuilder
public SnapshotData.Builder setSnapshotTerm(long value)
optional int64 snapshotTerm = 1;
value
- The snapshotTerm to set.public SnapshotData.Builder clearSnapshotTerm()
optional int64 snapshotTerm = 1;
public boolean hasSnapshotIndex()
optional int64 snapshotIndex = 2;
hasSnapshotIndex
in interface SnapshotDataOrBuilder
public long getSnapshotIndex()
optional int64 snapshotIndex = 2;
getSnapshotIndex
in interface SnapshotDataOrBuilder
public SnapshotData.Builder setSnapshotIndex(long value)
optional int64 snapshotIndex = 2;
value
- The snapshotIndex to set.public SnapshotData.Builder clearSnapshotIndex()
optional int64 snapshotIndex = 2;
public boolean hasChunk()
optional bytes chunk = 3;
hasChunk
in interface SnapshotDataOrBuilder
public com.google.protobuf.ByteString getChunk()
optional bytes chunk = 3;
getChunk
in interface SnapshotDataOrBuilder
public SnapshotData.Builder setChunk(com.google.protobuf.ByteString value)
optional bytes chunk = 3;
value
- The chunk to set.public SnapshotData.Builder clearChunk()
optional bytes chunk = 3;
public boolean hasOffset()
optional int64 offset = 4;
hasOffset
in interface SnapshotDataOrBuilder
public long getOffset()
optional int64 offset = 4;
getOffset
in interface SnapshotDataOrBuilder
public SnapshotData.Builder setOffset(long value)
optional int64 offset = 4;
value
- The offset to set.public SnapshotData.Builder clearOffset()
optional int64 offset = 4;
public boolean hasEof()
optional bool eof = 5;
hasEof
in interface SnapshotDataOrBuilder
public boolean getEof()
optional bool eof = 5;
getEof
in interface SnapshotDataOrBuilder
public SnapshotData.Builder setEof(boolean value)
optional bool eof = 5;
value
- The eof to set.public SnapshotData.Builder clearEof()
optional bool eof = 5;
public final SnapshotData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
public final SnapshotData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotData.Builder>
Copyright © 2023. All Rights Reserved.