public final class ListLogEntriesRequest extends 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`.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, 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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 ListLogEntriesRequestOrBuilder
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"`. 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public 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 ListLogEntriesRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ListLogEntriesRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListLogEntriesRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListLogEntriesRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListLogEntriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListLogEntriesRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListLogEntriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListLogEntriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListLogEntriesRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListLogEntriesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListLogEntriesRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListLogEntriesRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ListLogEntriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ListLogEntriesRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ListLogEntriesRequest.Builder newBuilder()
public static ListLogEntriesRequest.Builder newBuilder(ListLogEntriesRequest prototype)
public ListLogEntriesRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ListLogEntriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ListLogEntriesRequest getDefaultInstance()
public static Parser<ListLogEntriesRequest> parser()
public Parser<ListLogEntriesRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ListLogEntriesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder