Package org.yamcs.protobuf
Class DatabaseInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
org.yamcs.protobuf.DatabaseInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,DatabaseInfoOrBuilder
- Enclosing class:
- DatabaseInfo
public static final class DatabaseInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
implements DatabaseInfoOrBuilder
Protobuf type
yamcs.protobuf.archive.DatabaseInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllStreams(Iterable<String> values) Names of the streams in this databaseaddAllTables(Iterable<String> values) Names of the tables in this databaseaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStreams(String value) Names of the streams in this databaseaddStreamsBytes(com.google.protobuf.ByteString value) Names of the streams in this databaseNames of the tables in this databaseaddTablesBytes(com.google.protobuf.ByteString value) Names of the tables in this databasebuild()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Database nameclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Path on serverNames of the streams in this databaseNames of the tables in this databaseoptional string tablespace = 3;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Database namecom.google.protobuf.ByteStringDatabase namegetPath()Path on servercom.google.protobuf.ByteStringPath on servergetStreams(int index) Names of the streams in this databasecom.google.protobuf.ByteStringgetStreamsBytes(int index) Names of the streams in this databaseintNames of the streams in this databasecom.google.protobuf.ProtocolStringListNames of the streams in this databasegetTables(int index) Names of the tables in this databasecom.google.protobuf.ByteStringgetTablesBytes(int index) Names of the tables in this databaseintNames of the tables in this databasecom.google.protobuf.ProtocolStringListNames of the tables in this databaseoptional string tablespace = 3;com.google.protobuf.ByteStringoptional string tablespace = 3;booleanhasName()Database namebooleanhasPath()Path on serverbooleanoptional string tablespace = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(DatabaseInfo other) final DatabaseInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Database namesetNameBytes(com.google.protobuf.ByteString value) Database namePath on serversetPathBytes(com.google.protobuf.ByteString value) Path on serversetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStreams(int index, String value) Names of the streams in this databaseNames of the tables in this databasesetTablespace(String value) optional string tablespace = 3;setTablespaceBytes(com.google.protobuf.ByteString value) optional string tablespace = 3;final DatabaseInfo.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
setField
public DatabaseInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
setRepeatedField
public DatabaseInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
addRepeatedField
public DatabaseInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
mergeFrom
public DatabaseInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatabaseInfo.Builder>- Throws:
IOException
-
hasName
public boolean hasName()Database name
optional string name = 1;- Specified by:
hasNamein interfaceDatabaseInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Database name
optional string name = 1;- Specified by:
getNamein interfaceDatabaseInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Database name
optional string name = 1;- Specified by:
getNameBytesin interfaceDatabaseInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Database name
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Database name
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Database name
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()Path on server
optional string path = 2;- Specified by:
hasPathin interfaceDatabaseInfoOrBuilder- Returns:
- Whether the path field is set.
-
getPath
Path on server
optional string path = 2;- Specified by:
getPathin interfaceDatabaseInfoOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Path on server
optional string path = 2;- Specified by:
getPathBytesin interfaceDatabaseInfoOrBuilder- Returns:
- The bytes for path.
-
setPath
Path on server
optional string path = 2;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Path on server
optional string path = 2;- Returns:
- This builder for chaining.
-
setPathBytes
Path on server
optional string path = 2;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasTablespace
public boolean hasTablespace()optional string tablespace = 3;- Specified by:
hasTablespacein interfaceDatabaseInfoOrBuilder- Returns:
- Whether the tablespace field is set.
-
getTablespace
optional string tablespace = 3;- Specified by:
getTablespacein interfaceDatabaseInfoOrBuilder- Returns:
- The tablespace.
-
getTablespaceBytes
public com.google.protobuf.ByteString getTablespaceBytes()optional string tablespace = 3;- Specified by:
getTablespaceBytesin interfaceDatabaseInfoOrBuilder- Returns:
- The bytes for tablespace.
-
setTablespace
optional string tablespace = 3;- Parameters:
value- The tablespace to set.- Returns:
- This builder for chaining.
-
clearTablespace
optional string tablespace = 3;- Returns:
- This builder for chaining.
-
setTablespaceBytes
optional string tablespace = 3;- Parameters:
value- The bytes for tablespace to set.- Returns:
- This builder for chaining.
-
getTablesList
public com.google.protobuf.ProtocolStringList getTablesList()Names of the tables in this database
repeated string tables = 4;- Specified by:
getTablesListin interfaceDatabaseInfoOrBuilder- Returns:
- A list containing the tables.
-
getTablesCount
public int getTablesCount()Names of the tables in this database
repeated string tables = 4;- Specified by:
getTablesCountin interfaceDatabaseInfoOrBuilder- Returns:
- The count of tables.
-
getTables
Names of the tables in this database
repeated string tables = 4;- Specified by:
getTablesin interfaceDatabaseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tables at the given index.
-
getTablesBytes
public com.google.protobuf.ByteString getTablesBytes(int index) Names of the tables in this database
repeated string tables = 4;- Specified by:
getTablesBytesin interfaceDatabaseInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tables at the given index.
-
setTables
Names of the tables in this database
repeated string tables = 4;- Parameters:
index- The index to set the value at.value- The tables to set.- Returns:
- This builder for chaining.
-
addTables
Names of the tables in this database
repeated string tables = 4;- Parameters:
value- The tables to add.- Returns:
- This builder for chaining.
-
addAllTables
Names of the tables in this database
repeated string tables = 4;- Parameters:
values- The tables to add.- Returns:
- This builder for chaining.
-
clearTables
Names of the tables in this database
repeated string tables = 4;- Returns:
- This builder for chaining.
-
addTablesBytes
Names of the tables in this database
repeated string tables = 4;- Parameters:
value- The bytes of the tables to add.- Returns:
- This builder for chaining.
-
getStreamsList
public com.google.protobuf.ProtocolStringList getStreamsList()Names of the streams in this database
repeated string streams = 5;- Specified by:
getStreamsListin interfaceDatabaseInfoOrBuilder- Returns:
- A list containing the streams.
-
getStreamsCount
public int getStreamsCount()Names of the streams in this database
repeated string streams = 5;- Specified by:
getStreamsCountin interfaceDatabaseInfoOrBuilder- Returns:
- The count of streams.
-
getStreams
Names of the streams in this database
repeated string streams = 5;- Specified by:
getStreamsin interfaceDatabaseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The streams at the given index.
-
getStreamsBytes
public com.google.protobuf.ByteString getStreamsBytes(int index) Names of the streams in this database
repeated string streams = 5;- Specified by:
getStreamsBytesin interfaceDatabaseInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the streams at the given index.
-
setStreams
Names of the streams in this database
repeated string streams = 5;- Parameters:
index- The index to set the value at.value- The streams to set.- Returns:
- This builder for chaining.
-
addStreams
Names of the streams in this database
repeated string streams = 5;- Parameters:
value- The streams to add.- Returns:
- This builder for chaining.
-
addAllStreams
Names of the streams in this database
repeated string streams = 5;- Parameters:
values- The streams to add.- Returns:
- This builder for chaining.
-
clearStreams
Names of the streams in this database
repeated string streams = 5;- Returns:
- This builder for chaining.
-
addStreamsBytes
Names of the streams in this database
repeated string streams = 5;- Parameters:
value- The bytes of the streams to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DatabaseInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-
mergeUnknownFields
public final DatabaseInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DatabaseInfo.Builder>
-