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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
    • clear

      public SnapshotInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SnapshotInfo.Builder>
    • getDefaultInstanceForType

      public SnapshotInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SnapshotInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SnapshotInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SnapshotInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotInfo.Builder>
    • mergeFrom

      public SnapshotInfo.Builder mergeFrom(SnapshotInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SnapshotInfo.Builder>
      Throws:
      IOException
    • getSnapshotId

      public String getSnapshotId()
      string snapshot_id = 1;
      Specified by:
      getSnapshotId in interface SnapshotInfoOrBuilder
      Returns:
      The snapshotId.
    • getSnapshotIdBytes

      public com.google.protobuf.ByteString getSnapshotIdBytes()
      string snapshot_id = 1;
      Specified by:
      getSnapshotIdBytes in interface SnapshotInfoOrBuilder
      Returns:
      The bytes for snapshotId.
    • setSnapshotId

      public SnapshotInfo.Builder setSnapshotId(String value)
      string snapshot_id = 1;
      Parameters:
      value - The snapshotId to set.
      Returns:
      This builder for chaining.
    • clearSnapshotId

      public SnapshotInfo.Builder clearSnapshotId()
      string snapshot_id = 1;
      Returns:
      This builder for chaining.
    • setSnapshotIdBytes

      public SnapshotInfo.Builder setSnapshotIdBytes(com.google.protobuf.ByteString value)
      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:
      getTimestamp in interface SnapshotInfoOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public SnapshotInfo.Builder setTimestamp(long value)
      int64 timestamp = 2;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public SnapshotInfo.Builder 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:
      getTriggerTypeValue in interface SnapshotInfoOrBuilder
      Returns:
      The enum numeric value on the wire for triggerType.
    • setTriggerTypeValue

      public SnapshotInfo.Builder setTriggerTypeValue(int value)
      .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

      public SnapshotTriggerType getTriggerType()
      .tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;
      Specified by:
      getTriggerType in interface SnapshotInfoOrBuilder
      Returns:
      The triggerType.
    • setTriggerType

      public SnapshotInfo.Builder setTriggerType(SnapshotTriggerType value)
      .tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;
      Parameters:
      value - The triggerType to set.
      Returns:
      This builder for chaining.
    • clearTriggerType

      public SnapshotInfo.Builder clearTriggerType()
      .tech.skworks.tachyon.service.contracts.snapshot.SnapshotTriggerType trigger_type = 3;
      Returns:
      This builder for chaining.
    • getReason

      public String getReason()
      string reason = 4;
      Specified by:
      getReason in interface SnapshotInfoOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
      string reason = 4;
      Specified by:
      getReasonBytes in interface SnapshotInfoOrBuilder
      Returns:
      The bytes for reason.
    • setReason

      public SnapshotInfo.Builder setReason(String value)
      string reason = 4;
      Parameters:
      value - The reason to set.
      Returns:
      This builder for chaining.
    • clearReason

      public SnapshotInfo.Builder clearReason()
      string reason = 4;
      Returns:
      This builder for chaining.
    • setReasonBytes

      public SnapshotInfo.Builder setReasonBytes(com.google.protobuf.ByteString value)
      string reason = 4;
      Parameters:
      value - The bytes for reason to set.
      Returns:
      This builder for chaining.
    • getSource

      public String getSource()
      string source = 5;
      Specified by:
      getSource in interface SnapshotInfoOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      string source = 5;
      Specified by:
      getSourceBytes in interface SnapshotInfoOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public SnapshotInfo.Builder setSource(String value)
      string source = 5;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public SnapshotInfo.Builder clearSource()
      string source = 5;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public SnapshotInfo.Builder setSourceBytes(com.google.protobuf.ByteString value)
      string source = 5;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getGranularity

      public String getGranularity()
      string granularity = 6;
      Specified by:
      getGranularity in interface SnapshotInfoOrBuilder
      Returns:
      The granularity.
    • getGranularityBytes

      public com.google.protobuf.ByteString getGranularityBytes()
      string granularity = 6;
      Specified by:
      getGranularityBytes in interface SnapshotInfoOrBuilder
      Returns:
      The bytes for granularity.
    • setGranularity

      public SnapshotInfo.Builder setGranularity(String value)
      string granularity = 6;
      Parameters:
      value - The granularity to set.
      Returns:
      This builder for chaining.
    • clearGranularity

      public SnapshotInfo.Builder clearGranularity()
      string granularity = 6;
      Returns:
      This builder for chaining.
    • setGranularityBytes

      public SnapshotInfo.Builder setGranularityBytes(com.google.protobuf.ByteString value)
      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:
      getLocked in interface SnapshotInfoOrBuilder
      Returns:
      The locked.
    • setLocked

      public SnapshotInfo.Builder setLocked(boolean value)
      bool locked = 7;
      Parameters:
      value - The locked to set.
      Returns:
      This builder for chaining.
    • clearLocked

      public SnapshotInfo.Builder clearLocked()
      bool locked = 7;
      Returns:
      This builder for chaining.