Class SnapshotInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SnapshotInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SnapshotInfoOrBuilder
- Enclosing class:
SnapshotInfo
public static final class SnapshotInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
implements SnapshotInfoOrBuilder
Protobuf type
tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()string granularity = 6;bool locked = 7;string reason = 4;string snapshot_id = 1;string source = 5;int64 timestamp = 2;.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorstring granularity = 6;com.google.protobuf.ByteStringstring granularity = 6;booleanbool locked = 7;string reason = 4;com.google.protobuf.ByteStringstring reason = 4;string snapshot_id = 1;com.google.protobuf.ByteStringstring snapshot_id = 1;string source = 5;com.google.protobuf.ByteStringstring source = 5;longint64 timestamp = 2;.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;int.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SnapshotInfo other) setGranularity(String value) string granularity = 6;setGranularityBytes(com.google.protobuf.ByteString value) string granularity = 6;setLocked(boolean value) bool locked = 7;string reason = 4;setReasonBytes(com.google.protobuf.ByteString value) string reason = 4;setSnapshotId(String value) string snapshot_id = 1;setSnapshotIdBytes(com.google.protobuf.ByteString value) string snapshot_id = 1;string source = 5;setSourceBytes(com.google.protobuf.ByteString value) string source = 5;setTimestamp(long value) int64 timestamp = 2;.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;setTriggerTypeValue(int value) .tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SnapshotInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
-
mergeFrom
public SnapshotInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SnapshotInfo.Builder>- Throws:
IOException
-
getSnapshotId
string snapshot_id = 1;- Specified by:
getSnapshotIdin interfaceSnapshotInfoOrBuilder- Returns:
- The snapshotId.
-
getSnapshotIdBytes
public com.google.protobuf.ByteString getSnapshotIdBytes()string snapshot_id = 1;- Specified by:
getSnapshotIdBytesin interfaceSnapshotInfoOrBuilder- Returns:
- The bytes for snapshotId.
-
setSnapshotId
string snapshot_id = 1;- Parameters:
value- The snapshotId to set.- Returns:
- This builder for chaining.
-
clearSnapshotId
string snapshot_id = 1;- Returns:
- This builder for chaining.
-
setSnapshotIdBytes
string snapshot_id = 1;- Parameters:
value- The bytes for snapshotId to set.- Returns:
- This builder for chaining.
-
getTimestamp
public long getTimestamp()int64 timestamp = 2;- Specified by:
getTimestampin interfaceSnapshotInfoOrBuilder- Returns:
- The timestamp.
-
setTimestamp
int64 timestamp = 2;- Parameters:
value- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
int64 timestamp = 2;- Returns:
- This builder for chaining.
-
getTriggerTypeValue
public int getTriggerTypeValue().tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;- Specified by:
getTriggerTypeValuein interfaceSnapshotInfoOrBuilder- Returns:
- The enum numeric value on the wire for triggerType.
-
setTriggerTypeValue
.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;- Parameters:
value- The enum numeric value on the wire for triggerType to set.- Returns:
- This builder for chaining.
-
getTriggerType
.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;- Specified by:
getTriggerTypein interfaceSnapshotInfoOrBuilder- Returns:
- The triggerType.
-
setTriggerType
.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;- Parameters:
value- The triggerType to set.- Returns:
- This builder for chaining.
-
clearTriggerType
.tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;- Returns:
- This builder for chaining.
-
getReason
string reason = 4;- Specified by:
getReasonin interfaceSnapshotInfoOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()string reason = 4;- Specified by:
getReasonBytesin interfaceSnapshotInfoOrBuilder- Returns:
- The bytes for reason.
-
setReason
string reason = 4;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
-
setReasonBytes
string reason = 4;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
getSource
string source = 5;- Specified by:
getSourcein interfaceSnapshotInfoOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()string source = 5;- Specified by:
getSourceBytesin interfaceSnapshotInfoOrBuilder- Returns:
- The bytes for source.
-
setSource
string source = 5;- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
-
setSourceBytes
string source = 5;- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
getGranularity
string granularity = 6;- Specified by:
getGranularityin interfaceSnapshotInfoOrBuilder- Returns:
- The granularity.
-
getGranularityBytes
public com.google.protobuf.ByteString getGranularityBytes()string granularity = 6;- Specified by:
getGranularityBytesin interfaceSnapshotInfoOrBuilder- Returns:
- The bytes for granularity.
-
setGranularity
string granularity = 6;- Parameters:
value- The granularity to set.- Returns:
- This builder for chaining.
-
clearGranularity
string granularity = 6;- Returns:
- This builder for chaining.
-
setGranularityBytes
string granularity = 6;- Parameters:
value- The bytes for granularity to set.- Returns:
- This builder for chaining.
-
getLocked
public boolean getLocked()bool locked = 7;- Specified by:
getLockedin interfaceSnapshotInfoOrBuilder- Returns:
- The locked.
-
setLocked
bool locked = 7;- Parameters:
value- The locked to set.- Returns:
- This builder for chaining.
-
clearLocked
-