Package org.yamcs.protobuf
Interface DatabaseInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DatabaseInfo
,DatabaseInfo.Builder
public interface DatabaseInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Database namecom.google.protobuf.ByteString
Database namegetPath()
Path on servercom.google.protobuf.ByteString
Path on servergetStreams
(int index) Names of the streams in this databasecom.google.protobuf.ByteString
getStreamsBytes
(int index) Names of the streams in this databaseint
Names of the streams in this databaseNames of the streams in this databasegetTables
(int index) Names of the tables in this databasecom.google.protobuf.ByteString
getTablesBytes
(int index) Names of the tables in this databaseint
Names of the tables in this databaseNames of the tables in this databaseoptional string tablespace = 3;
com.google.protobuf.ByteString
optional string tablespace = 3;
boolean
hasName()
Database nameboolean
hasPath()
Path on serverboolean
optional string tablespace = 3;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Database name
optional string name = 1;
- Returns:
- Whether the name field is set.
-
getName
String getName()Database name
optional string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Database name
optional string name = 1;
- Returns:
- The bytes for name.
-
hasPath
boolean hasPath()Path on server
optional string path = 2;
- Returns:
- Whether the path field is set.
-
getPath
String getPath()Path on server
optional string path = 2;
- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()Path on server
optional string path = 2;
- Returns:
- The bytes for path.
-
hasTablespace
boolean hasTablespace()optional string tablespace = 3;
- Returns:
- Whether the tablespace field is set.
-
getTablespace
String getTablespace()optional string tablespace = 3;
- Returns:
- The tablespace.
-
getTablespaceBytes
com.google.protobuf.ByteString getTablespaceBytes()optional string tablespace = 3;
- Returns:
- The bytes for tablespace.
-
getTablesList
Names of the tables in this database
repeated string tables = 4;
- Returns:
- A list containing the tables.
-
getTablesCount
int getTablesCount()Names of the tables in this database
repeated string tables = 4;
- Returns:
- The count of tables.
-
getTables
Names of the tables in this database
repeated string tables = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The tables at the given index.
-
getTablesBytes
com.google.protobuf.ByteString getTablesBytes(int index) Names of the tables in this database
repeated string tables = 4;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tables at the given index.
-
getStreamsList
Names of the streams in this database
repeated string streams = 5;
- Returns:
- A list containing the streams.
-
getStreamsCount
int getStreamsCount()Names of the streams in this database
repeated string streams = 5;
- Returns:
- The count of streams.
-
getStreams
Names of the streams in this database
repeated string streams = 5;
- Parameters:
index
- The index of the element to return.- Returns:
- The streams at the given index.
-
getStreamsBytes
com.google.protobuf.ByteString getStreamsBytes(int index) Names of the streams in this database
repeated string streams = 5;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the streams at the given index.
-