Package org.yamcs.protobuf
Class Table.StreamInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
org.yamcs.protobuf.Table.StreamInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Table.StreamInfoOrBuilder
- Enclosing class:
- Table.StreamInfo
public static final class Table.StreamInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
implements Table.StreamInfoOrBuilder
Protobuf type
yamcs.protobuf.table.StreamInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumn
(Iterable<? extends Table.ColumnInfo> values) Deprecated.addAllColumns
(Iterable<? extends Table.ColumnInfo> values) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
addAllSubscribers
(Iterable<String> values) Subscribers represented in the format ``className@hashCode``.addColumn
(int index, Table.ColumnInfo value) Deprecated.addColumn
(int index, Table.ColumnInfo.Builder builderForValue) Deprecated.addColumn
(Table.ColumnInfo value) Deprecated.addColumn
(Table.ColumnInfo.Builder builderForValue) Deprecated.Deprecated.addColumnBuilder
(int index) Deprecated.addColumns
(int index, Table.ColumnInfo value) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
addColumns
(int index, Table.ColumnInfo.Builder builderForValue) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
addColumns
(Table.ColumnInfo value) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
addColumns
(Table.ColumnInfo.Builder builderForValue) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
addColumnsBuilder
(int index) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSubscribers
(String value) Subscribers represented in the format ``className@hashCode``.addSubscribersBytes
(com.google.protobuf.ByteString value) Subscribers represented in the format ``className@hashCode``.build()
clear()
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
optional int64 dataCount = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Stream nameclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string script = 3;
Subscribers represented in the format ``className@hashCode``.clone()
getColumn
(int index) Deprecated.getColumnBuilder
(int index) Deprecated.Deprecated.int
Deprecated.Deprecated.getColumnOrBuilder
(int index) Deprecated.List<? extends Table.ColumnInfoOrBuilder>
Deprecated.getColumns
(int index) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
getColumnsBuilder
(int index) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
int
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
getColumnsOrBuilder
(int index) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
List<? extends Table.ColumnInfoOrBuilder>
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
long
optional int64 dataCount = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
Stream namecom.google.protobuf.ByteString
Stream nameoptional string script = 3;
com.google.protobuf.ByteString
optional string script = 3;
getSubscribers
(int index) Subscribers represented in the format ``className@hashCode``.com.google.protobuf.ByteString
getSubscribersBytes
(int index) Subscribers represented in the format ``className@hashCode``.int
Subscribers represented in the format ``className@hashCode``.com.google.protobuf.ProtocolStringList
Subscribers represented in the format ``className@hashCode``.boolean
optional int64 dataCount = 4;
boolean
hasName()
Stream nameboolean
optional string script = 3;
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
(Table.StreamInfo other) final Table.StreamInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeColumn
(int index) Deprecated.removeColumns
(int index) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
setColumn
(int index, Table.ColumnInfo value) Deprecated.setColumn
(int index, Table.ColumnInfo.Builder builderForValue) Deprecated.setColumns
(int index, Table.ColumnInfo value) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
setColumns
(int index, Table.ColumnInfo.Builder builderForValue) repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
setDataCount
(long value) optional int64 dataCount = 4;
Stream namesetNameBytes
(com.google.protobuf.ByteString value) Stream namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string script = 3;
setScriptBytes
(com.google.protobuf.ByteString value) optional string script = 3;
setSubscribers
(int index, String value) Subscribers represented in the format ``className@hashCode``.final Table.StreamInfo.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<Table.StreamInfo.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<Table.StreamInfo.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<Table.StreamInfo.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<Table.StreamInfo.Builder>
-
setField
public Table.StreamInfo.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<Table.StreamInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
-
setRepeatedField
public Table.StreamInfo.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<Table.StreamInfo.Builder>
-
addRepeatedField
public Table.StreamInfo.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<Table.StreamInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Table.StreamInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
-
mergeFrom
public Table.StreamInfo.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<Table.StreamInfo.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Stream name
optional string name = 1;
- Specified by:
hasName
in interfaceTable.StreamInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Stream name
optional string name = 1;
- Specified by:
getName
in interfaceTable.StreamInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Stream name
optional string name = 1;
- Specified by:
getNameBytes
in interfaceTable.StreamInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
Stream name
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Stream name
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
Stream name
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getColumnList
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
- Specified by:
getColumnList
in interfaceTable.StreamInfoOrBuilder
-
getColumnCount
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
- Specified by:
getColumnCount
in interfaceTable.StreamInfoOrBuilder
-
getColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
- Specified by:
getColumn
in interfaceTable.StreamInfoOrBuilder
-
setColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
setColumn
@Deprecated public Table.StreamInfo.Builder setColumn(int index, Table.ColumnInfo.Builder builderForValue) Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
addColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
addColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
addColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
addColumn
@Deprecated public Table.StreamInfo.Builder addColumn(int index, Table.ColumnInfo.Builder builderForValue) Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
addAllColumn
@Deprecated public Table.StreamInfo.Builder addAllColumn(Iterable<? extends Table.ColumnInfo> values) Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
clearColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
removeColumn
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
getColumnBuilder
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
getColumnOrBuilder
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
- Specified by:
getColumnOrBuilder
in interfaceTable.StreamInfoOrBuilder
-
getColumnOrBuilderList
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
- Specified by:
getColumnOrBuilderList
in interfaceTable.StreamInfoOrBuilder
-
addColumnBuilder
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
addColumnBuilder
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
getColumnBuilderList
Deprecated.repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
-
getColumnsList
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
- Specified by:
getColumnsList
in interfaceTable.StreamInfoOrBuilder
-
getColumnsCount
public int getColumnsCount()repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
- Specified by:
getColumnsCount
in interfaceTable.StreamInfoOrBuilder
-
getColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
- Specified by:
getColumns
in interfaceTable.StreamInfoOrBuilder
-
setColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
setColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
addColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
addColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
addColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
addColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
addAllColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
clearColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
removeColumns
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
getColumnsBuilder
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
getColumnsOrBuilder
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
- Specified by:
getColumnsOrBuilder
in interfaceTable.StreamInfoOrBuilder
-
getColumnsOrBuilderList
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
- Specified by:
getColumnsOrBuilderList
in interfaceTable.StreamInfoOrBuilder
-
addColumnsBuilder
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
addColumnsBuilder
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
getColumnsBuilderList
repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
-
hasScript
public boolean hasScript()optional string script = 3;
- Specified by:
hasScript
in interfaceTable.StreamInfoOrBuilder
- Returns:
- Whether the script field is set.
-
getScript
optional string script = 3;
- Specified by:
getScript
in interfaceTable.StreamInfoOrBuilder
- Returns:
- The script.
-
getScriptBytes
public com.google.protobuf.ByteString getScriptBytes()optional string script = 3;
- Specified by:
getScriptBytes
in interfaceTable.StreamInfoOrBuilder
- Returns:
- The bytes for script.
-
setScript
optional string script = 3;
- Parameters:
value
- The script to set.- Returns:
- This builder for chaining.
-
clearScript
optional string script = 3;
- Returns:
- This builder for chaining.
-
setScriptBytes
optional string script = 3;
- Parameters:
value
- The bytes for script to set.- Returns:
- This builder for chaining.
-
hasDataCount
public boolean hasDataCount()optional int64 dataCount = 4;
- Specified by:
hasDataCount
in interfaceTable.StreamInfoOrBuilder
- Returns:
- Whether the dataCount field is set.
-
getDataCount
public long getDataCount()optional int64 dataCount = 4;
- Specified by:
getDataCount
in interfaceTable.StreamInfoOrBuilder
- Returns:
- The dataCount.
-
setDataCount
optional int64 dataCount = 4;
- Parameters:
value
- The dataCount to set.- Returns:
- This builder for chaining.
-
clearDataCount
optional int64 dataCount = 4;
- Returns:
- This builder for chaining.
-
getSubscribersList
public com.google.protobuf.ProtocolStringList getSubscribersList()Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Specified by:
getSubscribersList
in interfaceTable.StreamInfoOrBuilder
- Returns:
- A list containing the subscribers.
-
getSubscribersCount
public int getSubscribersCount()Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Specified by:
getSubscribersCount
in interfaceTable.StreamInfoOrBuilder
- Returns:
- The count of subscribers.
-
getSubscribers
Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Specified by:
getSubscribers
in interfaceTable.StreamInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The subscribers at the given index.
-
getSubscribersBytes
public com.google.protobuf.ByteString getSubscribersBytes(int index) Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Specified by:
getSubscribersBytes
in interfaceTable.StreamInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the subscribers at the given index.
-
setSubscribers
Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Parameters:
index
- The index to set the value at.value
- The subscribers to set.- Returns:
- This builder for chaining.
-
addSubscribers
Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Parameters:
value
- The subscribers to add.- Returns:
- This builder for chaining.
-
addAllSubscribers
Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Parameters:
values
- The subscribers to add.- Returns:
- This builder for chaining.
-
clearSubscribers
Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Returns:
- This builder for chaining.
-
addSubscribersBytes
Subscribers represented in the format ``className@hashCode``.
repeated string subscribers = 6;
- Parameters:
value
- The bytes of the subscribers to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Table.StreamInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
-
mergeUnknownFields
public final Table.StreamInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
-