public static final class ListLogEntriesRequest.Builder extends GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder> implements ListLogEntriesRequestOrBuilder
The parameters to `ListLogEntries`.Protobuf type
google.logging.v2.ListLogEntriesRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ListLogEntriesRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ListLogEntriesRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ListLogEntriesRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder mergeFrom(ListLogEntriesRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public ListLogEntriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ListLogEntriesRequest.Builder>java.io.IOExceptionpublic 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 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 ListLogEntriesRequest.Builder setProjectIds(int index, java.lang.String value)
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;public ListLogEntriesRequest.Builder addProjectIds(java.lang.String value)
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;public ListLogEntriesRequest.Builder addAllProjectIds(java.lang.Iterable<java.lang.String> values)
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;public ListLogEntriesRequest.Builder clearProjectIds()
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;public ListLogEntriesRequest.Builder addProjectIdsBytes(ByteString value)
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;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 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 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 ListLogEntriesRequest.Builder setResourceNames(int index, java.lang.String value)
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;public ListLogEntriesRequest.Builder addResourceNames(java.lang.String value)
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;public ListLogEntriesRequest.Builder addAllResourceNames(java.lang.Iterable<java.lang.String> values)
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;public ListLogEntriesRequest.Builder clearResourceNames()
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;public ListLogEntriesRequest.Builder addResourceNamesBytes(ByteString value)
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;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 ListLogEntriesRequestOrBuilderpublic 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 ListLogEntriesRequest.Builder setFilter(java.lang.String value)
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;public ListLogEntriesRequest.Builder clearFilter()
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;public ListLogEntriesRequest.Builder setFilterBytes(ByteString value)
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;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 ListLogEntriesRequestOrBuilderpublic 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 ListLogEntriesRequest.Builder setOrderBy(java.lang.String value)
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;public ListLogEntriesRequest.Builder clearOrderBy()
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;public ListLogEntriesRequest.Builder setOrderByBytes(ByteString value)
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;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 ListLogEntriesRequestOrBuilderpublic ListLogEntriesRequest.Builder setPageSize(int value)
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;public ListLogEntriesRequest.Builder clearPageSize()
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;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 ListLogEntriesRequestOrBuilderpublic 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 ListLogEntriesRequest.Builder setPageToken(java.lang.String value)
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;public ListLogEntriesRequest.Builder clearPageToken()
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;public ListLogEntriesRequest.Builder setPageTokenBytes(ByteString value)
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;public final ListLogEntriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>public final ListLogEntriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ListLogEntriesRequest.Builder>