Package com.google.logging.v2
Interface ListLogsResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListLogsResponse
,ListLogsResponse.Builder
public interface ListLogsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLogNames(int index)
A list of log names.com.google.protobuf.ByteString
getLogNamesBytes(int index)
A list of log names.int
getLogNamesCount()
A list of log names.List<String>
getLogNamesList()
A list of log names.String
getNextPageToken()
If there might be more results than those appearing in this response, then `nextPageToken` is included.com.google.protobuf.ByteString
getNextPageTokenBytes()
If there might be more results than those appearing in this response, then `nextPageToken` is included.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLogNamesList
List<String> getLogNamesList()
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
- Returns:
- A list containing the logNames.
-
getLogNamesCount
int getLogNamesCount()
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
- Returns:
- The count of logNames.
-
getLogNames
String getLogNames(int index)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The logNames at the given index.
-
getLogNamesBytes
com.google.protobuf.ByteString getLogNamesBytes(int index)
A list of log names. For example, `"projects/my-project/logs/syslog"` or `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
repeated string log_names = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the logNames at the given index.
-
getNextPageToken
String getNextPageToken()
If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
com.google.protobuf.ByteString getNextPageTokenBytes()
If there might be more results than those appearing in this response, then `nextPageToken` is included. To get the next set of results, call this method again using the value of `nextPageToken` as `pageToken`.
string next_page_token = 2;
- Returns:
- The bytes for nextPageToken.
-
-