Package com.google.cloud.asset.v1
Interface QueryResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QueryResult
,QueryResult.Builder
public interface QueryResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getNextPageToken()
Token to retrieve the next page of the results.com.google.protobuf.ByteString
getNextPageTokenBytes()
Token to retrieve the next page of the results.com.google.protobuf.Struct
getRows(int index)
Each row hold a query result in the format of `Struct`.int
getRowsCount()
Each row hold a query result in the format of `Struct`.List<com.google.protobuf.Struct>
getRowsList()
Each row hold a query result in the format of `Struct`.com.google.protobuf.StructOrBuilder
getRowsOrBuilder(int index)
Each row hold a query result in the format of `Struct`.List<? extends com.google.protobuf.StructOrBuilder>
getRowsOrBuilderList()
Each row hold a query result in the format of `Struct`.TableSchema
getSchema()
Describes the format of the [rows].TableSchemaOrBuilder
getSchemaOrBuilder()
Describes the format of the [rows].long
getTotalRows()
Total rows of the whole query results.boolean
hasSchema()
Describes the format of the [rows].-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRowsList
List<com.google.protobuf.Struct> getRowsList()
Each row hold a query result in the format of `Struct`.
repeated .google.protobuf.Struct rows = 1;
-
getRows
com.google.protobuf.Struct getRows(int index)
Each row hold a query result in the format of `Struct`.
repeated .google.protobuf.Struct rows = 1;
-
getRowsCount
int getRowsCount()
Each row hold a query result in the format of `Struct`.
repeated .google.protobuf.Struct rows = 1;
-
getRowsOrBuilderList
List<? extends com.google.protobuf.StructOrBuilder> getRowsOrBuilderList()
Each row hold a query result in the format of `Struct`.
repeated .google.protobuf.Struct rows = 1;
-
getRowsOrBuilder
com.google.protobuf.StructOrBuilder getRowsOrBuilder(int index)
Each row hold a query result in the format of `Struct`.
repeated .google.protobuf.Struct rows = 1;
-
hasSchema
boolean hasSchema()
Describes the format of the [rows].
.google.cloud.asset.v1.TableSchema schema = 2;
- Returns:
- Whether the schema field is set.
-
getSchema
TableSchema getSchema()
Describes the format of the [rows].
.google.cloud.asset.v1.TableSchema schema = 2;
- Returns:
- The schema.
-
getSchemaOrBuilder
TableSchemaOrBuilder getSchemaOrBuilder()
Describes the format of the [rows].
.google.cloud.asset.v1.TableSchema schema = 2;
-
getNextPageToken
String getNextPageToken()
Token to retrieve the next page of the results.
string next_page_token = 3;
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()
Token to retrieve the next page of the results.
string next_page_token = 3;
- Returns:
- The bytes for nextPageToken.
-
getTotalRows
long getTotalRows()
Total rows of the whole query results.
int64 total_rows = 4;
- Returns:
- The totalRows.
-
-