public final class ListLogEntriesRequest extends com.google.protobuf.GeneratedMessageV3 implements ListLogEntriesRequestOrBuilder
The parameters to `ListLogEntries`.Protobuf type
google.logging.v2.ListLogEntriesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListLogEntriesRequest.Builder
The parameters to `ListLogEntries`.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FILTER_FIELD_NUMBER |
static int |
ORDER_BY_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PROJECT_IDS_FIELD_NUMBER |
static int |
RESOURCE_NAMES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ListLogEntriesRequest |
getDefaultInstance() |
ListLogEntriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
java.lang.String |
getOrderBy()
Optional.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Optional.
|
int |
getPageSize()
Optional.
|
java.lang.String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
com.google.protobuf.Parser<ListLogEntriesRequest> |
getParserForType() |
java.lang.String |
getProjectIds(int index)
Deprecated.
|
com.google.protobuf.ByteString |
getProjectIdsBytes(int index)
Deprecated.
|
int |
getProjectIdsCount()
Deprecated.
|
com.google.protobuf.ProtocolStringList |
getProjectIdsList()
Deprecated.
|
java.lang.String |
getResourceNames(int index)
Required.
|
com.google.protobuf.ByteString |
getResourceNamesBytes(int index)
Required.
|
int |
getResourceNamesCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getResourceNamesList()
Required.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListLogEntriesRequest.Builder |
newBuilder() |
static ListLogEntriesRequest.Builder |
newBuilder(ListLogEntriesRequest prototype) |
ListLogEntriesRequest.Builder |
newBuilderForType() |
protected ListLogEntriesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ListLogEntriesRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ListLogEntriesRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLogEntriesRequest |
parseFrom(byte[] data) |
static ListLogEntriesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLogEntriesRequest |
parseFrom(java.nio.ByteBuffer data) |
static ListLogEntriesRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLogEntriesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListLogEntriesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLogEntriesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListLogEntriesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListLogEntriesRequest |
parseFrom(java.io.InputStream input) |
static ListLogEntriesRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListLogEntriesRequest> |
parser() |
ListLogEntriesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECT_IDS_FIELD_NUMBER
public static final int RESOURCE_NAMES_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getProjectIdsList()
Deprecated. Use `resource_names` instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: `"my-project-1A"`. If present, these project identifiers are converted to resource name format and added to the list of resources in `resource_names`.
repeated string project_ids = 1;getProjectIdsList in interface ListLogEntriesRequestOrBuilderpublic int getProjectIdsCount()
Deprecated. Use `resource_names` instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: `"my-project-1A"`. If present, these project identifiers are converted to resource name format and added to the list of resources in `resource_names`.
repeated string project_ids = 1;getProjectIdsCount in interface ListLogEntriesRequestOrBuilderpublic java.lang.String getProjectIds(int index)
Deprecated. Use `resource_names` instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: `"my-project-1A"`. If present, these project identifiers are converted to resource name format and added to the list of resources in `resource_names`.
repeated string project_ids = 1;getProjectIds in interface ListLogEntriesRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdsBytes(int index)
Deprecated. Use `resource_names` instead. One or more project identifiers or project numbers from which to retrieve log entries. Example: `"my-project-1A"`. If present, these project identifiers are converted to resource name format and added to the list of resources in `resource_names`.
repeated string project_ids = 1;getProjectIdsBytes in interface ListLogEntriesRequestOrBuilderpublic com.google.protobuf.ProtocolStringList getResourceNamesList()
Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
Projects listed in the `project_ids` field are added to this list.
repeated string resource_names = 8;getResourceNamesList in interface ListLogEntriesRequestOrBuilderpublic int getResourceNamesCount()
Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
Projects listed in the `project_ids` field are added to this list.
repeated string resource_names = 8;getResourceNamesCount in interface ListLogEntriesRequestOrBuilderpublic java.lang.String getResourceNames(int index)
Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
Projects listed in the `project_ids` field are added to this list.
repeated string resource_names = 8;getResourceNames in interface ListLogEntriesRequestOrBuilderpublic com.google.protobuf.ByteString getResourceNamesBytes(int index)
Required. Names of one or more parent resources from which to
retrieve log entries:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
Projects listed in the `project_ids` field are added to this list.
repeated string resource_names = 8;getResourceNamesBytes in interface ListLogEntriesRequestOrBuilderpublic java.lang.String getFilter()
Optional. A filter that chooses which log entries to return. See [Advanced Logs Filters](/logging/docs/view/advanced_filters). Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in `resource_names`. Referencing a parent resource that is not listed in `resource_names` will cause the filter to return no results. The maximum length of the filter is 20000 characters.
string filter = 2;getFilter in interface ListLogEntriesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. A filter that chooses which log entries to return. See [Advanced Logs Filters](/logging/docs/view/advanced_filters). Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in `resource_names`. Referencing a parent resource that is not listed in `resource_names` will cause the filter to return no results. The maximum length of the filter is 20000 characters.
string filter = 2;getFilterBytes in interface ListLogEntriesRequestOrBuilderpublic java.lang.String getOrderBy()
Optional. How the results should be sorted. Presently, the only permitted values are `"timestamp asc"` (default) and `"timestamp desc"`. The first option returns entries in order of increasing values of `LogEntry.timestamp` (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their `insert_id` values.
string order_by = 3;getOrderBy in interface ListLogEntriesRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. How the results should be sorted. Presently, the only permitted values are `"timestamp asc"` (default) and `"timestamp desc"`. The first option returns entries in order of increasing values of `LogEntry.timestamp` (oldest first), and the second option returns entries in order of decreasing timestamps (newest first). Entries with equal timestamps are returned in order of their `insert_id` values.
string order_by = 3;getOrderByBytes in interface ListLogEntriesRequestOrBuilderpublic int getPageSize()
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available.
int32 page_size = 4;getPageSize in interface ListLogEntriesRequestOrBuilderpublic java.lang.String getPageToken()
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 5;getPageToken in interface ListLogEntriesRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 5;getPageTokenBytes in interface ListLogEntriesRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListLogEntriesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListLogEntriesRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListLogEntriesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListLogEntriesRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListLogEntriesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListLogEntriesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ListLogEntriesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListLogEntriesRequest.Builder newBuilder()
public static ListLogEntriesRequest.Builder newBuilder(ListLogEntriesRequest prototype)
public ListLogEntriesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListLogEntriesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListLogEntriesRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListLogEntriesRequest> parser()
public com.google.protobuf.Parser<ListLogEntriesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListLogEntriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder