public final class ListLogsResponse extends GeneratedMessageV3 implements ListLogsResponseOrBuilder
Result returned from ListLogs.
Protobuf type google.logging.v2.ListLogsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListLogsResponseImplements
ListLogsResponseOrBuilderFields
LOG_NAMES_FIELD_NUMBER
public static final int LOG_NAMES_FIELD_NUMBER
Type | Description |
int |
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static ListLogsResponse getDefaultInstance()
Type | Description |
ListLogsResponse |
getDefaultInstanceForType()
public ListLogsResponse getDefaultInstanceForType()
Type | Description |
ListLogsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getLogNames(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The logNames at the given index. |
getLogNamesBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the logNames at the given index. |
getLogNamesCount()
public 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;
Type | Description |
int | The count of logNames. |
getLogNamesList()
public ProtocolStringList 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;
Type | Description |
ProtocolStringList | A list containing the logNames. |
getNextPageToken()
public 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;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public 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;
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<ListLogsResponse> getParserForType()
Type | Description |
Parser<ListLogsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static ListLogsResponse.Builder newBuilder()
Type | Description |
ListLogsResponse.Builder |
newBuilder(ListLogsResponse prototype)
public static ListLogsResponse.Builder newBuilder(ListLogsResponse prototype)
Name | Description |
prototype | ListLogsResponse |
Type | Description |
ListLogsResponse.Builder |
newBuilderForType()
public ListLogsResponse.Builder newBuilderForType()
Type | Description |
ListLogsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListLogsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListLogsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static ListLogsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListLogsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListLogsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListLogsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListLogsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListLogsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListLogsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListLogsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListLogsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListLogsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListLogsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListLogsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListLogsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListLogsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListLogsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListLogsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListLogsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListLogsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListLogsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListLogsResponse> parser()
Type | Description |
Parser<ListLogsResponse> |
toBuilder()
public ListLogsResponse.Builder toBuilder()
Type | Description |
ListLogsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |