public static final class SnapshotMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SnapshotMetadata.Builder> implements SnapshotMetadataOrBuilder
alluxio.grpc.meta.SnapshotMetadata
Modifier and Type | Method and Description |
---|---|
SnapshotMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SnapshotMetadata |
build() |
SnapshotMetadata |
buildPartial() |
SnapshotMetadata.Builder |
clear() |
SnapshotMetadata.Builder |
clearExists()
optional bool exists = 3; |
SnapshotMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SnapshotMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SnapshotMetadata.Builder |
clearSnapshotIndex()
optional int64 snapshotIndex = 2; |
SnapshotMetadata.Builder |
clearSnapshotTerm()
optional int64 snapshotTerm = 1; |
SnapshotMetadata.Builder |
clone() |
SnapshotMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getExists()
optional bool exists = 3; |
long |
getSnapshotIndex()
optional int64 snapshotIndex = 2; |
long |
getSnapshotTerm()
optional int64 snapshotTerm = 1; |
boolean |
hasExists()
optional bool exists = 3; |
boolean |
hasSnapshotIndex()
optional int64 snapshotIndex = 2; |
boolean |
hasSnapshotTerm()
optional int64 snapshotTerm = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SnapshotMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SnapshotMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
SnapshotMetadata.Builder |
mergeFrom(SnapshotMetadata other) |
SnapshotMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SnapshotMetadata.Builder |
setExists(boolean value)
optional bool exists = 3; |
SnapshotMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SnapshotMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SnapshotMetadata.Builder |
setSnapshotIndex(long value)
optional int64 snapshotIndex = 2; |
SnapshotMetadata.Builder |
setSnapshotTerm(long value)
optional int64 snapshotTerm = 1; |
SnapshotMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<SnapshotMetadata.Builder>
public SnapshotMetadata.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<SnapshotMetadata.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<SnapshotMetadata.Builder>
public SnapshotMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SnapshotMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SnapshotMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SnapshotMetadata.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<SnapshotMetadata.Builder>
public SnapshotMetadata.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<SnapshotMetadata.Builder>
public SnapshotMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotMetadata.Builder>
public SnapshotMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotMetadata.Builder>
public SnapshotMetadata.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<SnapshotMetadata.Builder>
public SnapshotMetadata.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<SnapshotMetadata.Builder>
public SnapshotMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SnapshotMetadata.Builder>
public SnapshotMetadata.Builder mergeFrom(SnapshotMetadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotMetadata.Builder>
public SnapshotMetadata.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<SnapshotMetadata.Builder>
IOException
public boolean hasSnapshotTerm()
optional int64 snapshotTerm = 1;
hasSnapshotTerm
in interface SnapshotMetadataOrBuilder
public long getSnapshotTerm()
optional int64 snapshotTerm = 1;
getSnapshotTerm
in interface SnapshotMetadataOrBuilder
public SnapshotMetadata.Builder setSnapshotTerm(long value)
optional int64 snapshotTerm = 1;
value
- The snapshotTerm to set.public SnapshotMetadata.Builder clearSnapshotTerm()
optional int64 snapshotTerm = 1;
public boolean hasSnapshotIndex()
optional int64 snapshotIndex = 2;
hasSnapshotIndex
in interface SnapshotMetadataOrBuilder
public long getSnapshotIndex()
optional int64 snapshotIndex = 2;
getSnapshotIndex
in interface SnapshotMetadataOrBuilder
public SnapshotMetadata.Builder setSnapshotIndex(long value)
optional int64 snapshotIndex = 2;
value
- The snapshotIndex to set.public SnapshotMetadata.Builder clearSnapshotIndex()
optional int64 snapshotIndex = 2;
public boolean hasExists()
optional bool exists = 3;
hasExists
in interface SnapshotMetadataOrBuilder
public boolean getExists()
optional bool exists = 3;
getExists
in interface SnapshotMetadataOrBuilder
public SnapshotMetadata.Builder setExists(boolean value)
optional bool exists = 3;
value
- The exists to set.public SnapshotMetadata.Builder clearExists()
optional bool exists = 3;
public final SnapshotMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotMetadata.Builder>
public final SnapshotMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SnapshotMetadata.Builder>
Copyright © 2023. All Rights Reserved.