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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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(Object obj) |
static ListLogEntriesRequest |
getDefaultInstance() |
ListLogEntriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFilter()
Optional.
|
com.google.protobuf.ByteString |
getFilterBytes()
Optional.
|
String |
getOrderBy()
Optional.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Optional.
|
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
com.google.protobuf.Parser<ListLogEntriesRequest> |
getParserForType() |
String |
getProjectIds(int index)
Deprecated.
|
com.google.protobuf.ByteString |
getProjectIdsBytes(int index)
Deprecated.
|
int |
getProjectIdsCount()
Deprecated.
|
com.google.protobuf.ProtocolStringList |
getProjectIdsList()
Deprecated.
|
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) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ListLogEntriesRequest |
parseDelimitedFrom(InputStream input) |
static ListLogEntriesRequest |
parseDelimitedFrom(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(ByteBuffer data) |
static ListLogEntriesRequest |
parseFrom(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(InputStream input) |
static ListLogEntriesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListLogEntriesRequest> |
parser() |
ListLogEntriesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3@Deprecated public 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"`.
repeated string project_ids = 1 [deprecated = true];getProjectIdsList in interface ListLogEntriesRequestOrBuilder@Deprecated public 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"`.
repeated string project_ids = 1 [deprecated = true];getProjectIdsCount in interface ListLogEntriesRequestOrBuilder@Deprecated public 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"`.
repeated string project_ids = 1 [deprecated = true];getProjectIds in interface ListLogEntriesRequestOrBuilderindex - The index of the element to return.@Deprecated public 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"`.
repeated string project_ids = 1 [deprecated = true];getProjectIdsBytes in interface ListLogEntriesRequestOrBuilderindex - The index of the value to return.public 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getResourceNamesCount in interface ListLogEntriesRequestOrBuilderpublic 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getResourceNames in interface ListLogEntriesRequestOrBuilderindex - The index of the element to return.public 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getResourceNamesBytes in interface ListLogEntriesRequestOrBuilderindex - The index of the value to return.public String getFilter()
Optional. A filter that chooses which log entries to return. See [Advanced Logs Queries](/logging/docs/view/advanced-queries). 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 Queries](/logging/docs/view/advanced-queries). 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 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 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 IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListLogEntriesRequest parseFrom(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(InputStream input) throws IOException
IOExceptionpublic static ListLogEntriesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListLogEntriesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListLogEntriesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListLogEntriesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListLogEntriesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
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.MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.