Class ReplicationInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
org.yamcs.protobuf.ReplicationInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ReplicationInfoOrBuilder
Enclosing class:
ReplicationInfo

public static final class ReplicationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder> implements ReplicationInfoOrBuilder
Protobuf type yamcs.protobuf.replication.ReplicationInfo
  • Method Details

    • getDescriptor

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

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

      public ReplicationInfo.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.GeneratedMessageV3.Builder<ReplicationInfo.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.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public ReplicationInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • setField

      public ReplicationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • clearField

      public ReplicationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • clearOneof

      public ReplicationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • setRepeatedField

      public ReplicationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • addRepeatedField

      public ReplicationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • mergeFrom

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

      public ReplicationInfo.Builder mergeFrom(ReplicationInfo other)
    • isInitialized

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

      public ReplicationInfo.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<ReplicationInfo.Builder>
      Throws:
      IOException
    • getMastersList

      public List<ReplicationMasterInfo> getMastersList()
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
      Specified by:
      getMastersList in interface ReplicationInfoOrBuilder
    • getMastersCount

      public int getMastersCount()
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
      Specified by:
      getMastersCount in interface ReplicationInfoOrBuilder
    • getMasters

      public ReplicationMasterInfo getMasters(int index)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
      Specified by:
      getMasters in interface ReplicationInfoOrBuilder
    • setMasters

      public ReplicationInfo.Builder setMasters(int index, ReplicationMasterInfo value)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • setMasters

      public ReplicationInfo.Builder setMasters(int index, ReplicationMasterInfo.Builder builderForValue)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • addMasters

      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • addMasters

      public ReplicationInfo.Builder addMasters(int index, ReplicationMasterInfo value)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • addMasters

      public ReplicationInfo.Builder addMasters(ReplicationMasterInfo.Builder builderForValue)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • addMasters

      public ReplicationInfo.Builder addMasters(int index, ReplicationMasterInfo.Builder builderForValue)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • addAllMasters

      public ReplicationInfo.Builder addAllMasters(Iterable<? extends ReplicationMasterInfo> values)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • clearMasters

      public ReplicationInfo.Builder clearMasters()
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • removeMasters

      public ReplicationInfo.Builder removeMasters(int index)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • getMastersBuilder

      public ReplicationMasterInfo.Builder getMastersBuilder(int index)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • getMastersOrBuilder

      public ReplicationMasterInfoOrBuilder getMastersOrBuilder(int index)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
      Specified by:
      getMastersOrBuilder in interface ReplicationInfoOrBuilder
    • getMastersOrBuilderList

      public List<? extends ReplicationMasterInfoOrBuilder> getMastersOrBuilderList()
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
      Specified by:
      getMastersOrBuilderList in interface ReplicationInfoOrBuilder
    • addMastersBuilder

      public ReplicationMasterInfo.Builder addMastersBuilder()
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • addMastersBuilder

      public ReplicationMasterInfo.Builder addMastersBuilder(int index)
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • getMastersBuilderList

      public List<ReplicationMasterInfo.Builder> getMastersBuilderList()
      repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
    • getSlavesList

      public List<ReplicationSlaveInfo> getSlavesList()
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
      Specified by:
      getSlavesList in interface ReplicationInfoOrBuilder
    • getSlavesCount

      public int getSlavesCount()
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
      Specified by:
      getSlavesCount in interface ReplicationInfoOrBuilder
    • getSlaves

      public ReplicationSlaveInfo getSlaves(int index)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
      Specified by:
      getSlaves in interface ReplicationInfoOrBuilder
    • setSlaves

      public ReplicationInfo.Builder setSlaves(int index, ReplicationSlaveInfo value)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • setSlaves

      public ReplicationInfo.Builder setSlaves(int index, ReplicationSlaveInfo.Builder builderForValue)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • addSlaves

      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • addSlaves

      public ReplicationInfo.Builder addSlaves(int index, ReplicationSlaveInfo value)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • addSlaves

      public ReplicationInfo.Builder addSlaves(ReplicationSlaveInfo.Builder builderForValue)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • addSlaves

      public ReplicationInfo.Builder addSlaves(int index, ReplicationSlaveInfo.Builder builderForValue)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • addAllSlaves

      public ReplicationInfo.Builder addAllSlaves(Iterable<? extends ReplicationSlaveInfo> values)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • clearSlaves

      public ReplicationInfo.Builder clearSlaves()
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • removeSlaves

      public ReplicationInfo.Builder removeSlaves(int index)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • getSlavesBuilder

      public ReplicationSlaveInfo.Builder getSlavesBuilder(int index)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • getSlavesOrBuilder

      public ReplicationSlaveInfoOrBuilder getSlavesOrBuilder(int index)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
      Specified by:
      getSlavesOrBuilder in interface ReplicationInfoOrBuilder
    • getSlavesOrBuilderList

      public List<? extends ReplicationSlaveInfoOrBuilder> getSlavesOrBuilderList()
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
      Specified by:
      getSlavesOrBuilderList in interface ReplicationInfoOrBuilder
    • addSlavesBuilder

      public ReplicationSlaveInfo.Builder addSlavesBuilder()
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • addSlavesBuilder

      public ReplicationSlaveInfo.Builder addSlavesBuilder(int index)
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • getSlavesBuilderList

      public List<ReplicationSlaveInfo.Builder> getSlavesBuilderList()
      repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
    • setUnknownFields

      public final ReplicationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
    • mergeUnknownFields

      public final ReplicationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>