Class ListSnapshotsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ListSnapshotsResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsResponse.Builder>
tech.skworks.tachyon.service.contracts.snapshot.ListSnapshotsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListSnapshotsResponseOrBuilder
Enclosing class:
ListSnapshotsResponse

public static final class ListSnapshotsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsResponse.Builder> implements ListSnapshotsResponseOrBuilder
Protobuf type tech.skworks.tachyon.service.contracts.snapshot.ListSnapshotsResponse
  • 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<ListSnapshotsResponse.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<ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListSnapshotsResponse.Builder>
    • mergeFrom

      public ListSnapshotsResponse.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<ListSnapshotsResponse.Builder>
      Throws:
      IOException
    • getPlayerId

      public String getPlayerId()
      string player_id = 1;
      Specified by:
      getPlayerId in interface ListSnapshotsResponseOrBuilder
      Returns:
      The playerId.
    • getPlayerIdBytes

      public com.google.protobuf.ByteString getPlayerIdBytes()
      string player_id = 1;
      Specified by:
      getPlayerIdBytes in interface ListSnapshotsResponseOrBuilder
      Returns:
      The bytes for playerId.
    • setPlayerId

      public ListSnapshotsResponse.Builder setPlayerId(String value)
      string player_id = 1;
      Parameters:
      value - The playerId to set.
      Returns:
      This builder for chaining.
    • clearPlayerId

      public ListSnapshotsResponse.Builder clearPlayerId()
      string player_id = 1;
      Returns:
      This builder for chaining.
    • setPlayerIdBytes

      public ListSnapshotsResponse.Builder setPlayerIdBytes(com.google.protobuf.ByteString value)
      string player_id = 1;
      Parameters:
      value - The bytes for playerId to set.
      Returns:
      This builder for chaining.
    • getSnapshotsList

      public List<SnapshotInfo> getSnapshotsList()
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
      Specified by:
      getSnapshotsList in interface ListSnapshotsResponseOrBuilder
    • getSnapshotsCount

      public int getSnapshotsCount()
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
      Specified by:
      getSnapshotsCount in interface ListSnapshotsResponseOrBuilder
    • getSnapshots

      public SnapshotInfo getSnapshots(int index)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
      Specified by:
      getSnapshots in interface ListSnapshotsResponseOrBuilder
    • setSnapshots

      public ListSnapshotsResponse.Builder setSnapshots(int index, SnapshotInfo value)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • setSnapshots

      public ListSnapshotsResponse.Builder setSnapshots(int index, SnapshotInfo.Builder builderForValue)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • addSnapshots

      public ListSnapshotsResponse.Builder addSnapshots(SnapshotInfo value)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • addSnapshots

      public ListSnapshotsResponse.Builder addSnapshots(int index, SnapshotInfo value)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • addSnapshots

      public ListSnapshotsResponse.Builder addSnapshots(SnapshotInfo.Builder builderForValue)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • addSnapshots

      public ListSnapshotsResponse.Builder addSnapshots(int index, SnapshotInfo.Builder builderForValue)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • addAllSnapshots

      public ListSnapshotsResponse.Builder addAllSnapshots(Iterable<? extends SnapshotInfo> values)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • clearSnapshots

      public ListSnapshotsResponse.Builder clearSnapshots()
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • removeSnapshots

      public ListSnapshotsResponse.Builder removeSnapshots(int index)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • getSnapshotsBuilder

      public SnapshotInfo.Builder getSnapshotsBuilder(int index)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • getSnapshotsOrBuilder

      public SnapshotInfoOrBuilder getSnapshotsOrBuilder(int index)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
      Specified by:
      getSnapshotsOrBuilder in interface ListSnapshotsResponseOrBuilder
    • getSnapshotsOrBuilderList

      public List<? extends SnapshotInfoOrBuilder> getSnapshotsOrBuilderList()
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
      Specified by:
      getSnapshotsOrBuilderList in interface ListSnapshotsResponseOrBuilder
    • addSnapshotsBuilder

      public SnapshotInfo.Builder addSnapshotsBuilder()
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • addSnapshotsBuilder

      public SnapshotInfo.Builder addSnapshotsBuilder(int index)
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;
    • getSnapshotsBuilderList

      public List<SnapshotInfo.Builder> getSnapshotsBuilderList()
      repeated .tech.skworks.tachyon.service.contracts.snapshot.SnapshotInfo snapshots = 2;