Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddAllMasters
(Iterable<? extends ReplicationMasterInfo> values) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
addAllSlaves
(Iterable<? extends ReplicationSlaveInfo> values) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
addMasters
(int index, ReplicationMasterInfo value) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
addMasters
(int index, ReplicationMasterInfo.Builder builderForValue) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
addMasters
(ReplicationMasterInfo value) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
addMasters
(ReplicationMasterInfo.Builder builderForValue) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
addMastersBuilder
(int index) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSlaves
(int index, ReplicationSlaveInfo value) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
addSlaves
(int index, ReplicationSlaveInfo.Builder builderForValue) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
addSlaves
(ReplicationSlaveInfo value) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
addSlaves
(ReplicationSlaveInfo.Builder builderForValue) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
addSlavesBuilder
(int index) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getMasters
(int index) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
getMastersBuilder
(int index) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
int
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
getMastersOrBuilder
(int index) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
List<? extends ReplicationMasterInfoOrBuilder>
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
getSlaves
(int index) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
getSlavesBuilder
(int index) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
int
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
getSlavesOrBuilder
(int index) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
List<? extends ReplicationSlaveInfoOrBuilder>
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ReplicationInfo other) final ReplicationInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeMasters
(int index) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
removeSlaves
(int index) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
setMasters
(int index, ReplicationMasterInfo value) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
setMasters
(int index, ReplicationMasterInfo.Builder builderForValue) repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSlaves
(int index, ReplicationSlaveInfo value) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
setSlaves
(int index, ReplicationSlaveInfo.Builder builderForValue) repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
final ReplicationInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
setField
public ReplicationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
addRepeatedField
public ReplicationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReplicationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ReplicationInfo.Builder>
- Throws:
IOException
-
getMastersList
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
- Specified by:
getMastersList
in interfaceReplicationInfoOrBuilder
-
getMastersCount
public int getMastersCount()repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
- Specified by:
getMastersCount
in interfaceReplicationInfoOrBuilder
-
getMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
- Specified by:
getMasters
in interfaceReplicationInfoOrBuilder
-
setMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
setMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
addMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
addMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
addMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
addMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
addAllMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
clearMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
removeMasters
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
getMastersBuilder
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
getMastersOrBuilder
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
- Specified by:
getMastersOrBuilder
in interfaceReplicationInfoOrBuilder
-
getMastersOrBuilderList
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
- Specified by:
getMastersOrBuilderList
in interfaceReplicationInfoOrBuilder
-
addMastersBuilder
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
addMastersBuilder
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
getMastersBuilderList
repeated .yamcs.protobuf.replication.ReplicationMasterInfo masters = 1;
-
getSlavesList
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
- Specified by:
getSlavesList
in interfaceReplicationInfoOrBuilder
-
getSlavesCount
public int getSlavesCount()repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
- Specified by:
getSlavesCount
in interfaceReplicationInfoOrBuilder
-
getSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
- Specified by:
getSlaves
in interfaceReplicationInfoOrBuilder
-
setSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
setSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
addSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
addSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
addSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
addSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
addAllSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
clearSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
removeSlaves
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
getSlavesBuilder
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
getSlavesOrBuilder
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
- Specified by:
getSlavesOrBuilder
in interfaceReplicationInfoOrBuilder
-
getSlavesOrBuilderList
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
- Specified by:
getSlavesOrBuilderList
in interfaceReplicationInfoOrBuilder
-
addSlavesBuilder
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
addSlavesBuilder
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
getSlavesBuilderList
repeated .yamcs.protobuf.replication.ReplicationSlaveInfo slaves = 2;
-
setUnknownFields
public final ReplicationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-
mergeUnknownFields
public final ReplicationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ReplicationInfo.Builder>
-