# -*- coding: utf-8 -*-
# Copyright 2020 Google LLC. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: googlecloudsdk/third_party/logging_v2/proto/logging.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.api import monitored_resource_pb2 as google_dot_api_dot_monitored__resource__pb2
from google.api import resource_pb2 as google_dot_api_dot_resource__pb2
from googlecloudsdk.third_party.logging_v2.proto import log_entry_pb2 as googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_log__entry__pb2
from googlecloudsdk.third_party.logging_v2.proto import logging_config_pb2 as googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_logging__config__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='googlecloudsdk/third_party/logging_v2/proto/logging.proto',
  package='google.logging.v2',
  syntax='proto3',
  serialized_options=b'\n\025com.google.logging.v2B\014LoggingProtoP\001Z8google.golang.org/genproto/googleapis/logging/v2;logging\370\001\001\252\002\027Google.Cloud.Logging.V2\312\002\027Google\\Cloud\\Logging\\V2\352\002\032Google::Cloud::Logging::V2',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n9googlecloudsdk/third_party/logging_v2/proto/logging.proto\x12\x11google.logging.v2\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a#google/api/monitored_resource.proto\x1a\x19google/api/resource.proto\x1a;googlecloudsdk/third_party/logging_v2/proto/log_entry.proto\x1a@googlecloudsdk/third_party/logging_v2/proto/logging_config.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x1cgoogle/api/annotations.proto\"H\n\x10\x44\x65leteLogRequest\x12\x34\n\x08log_name\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1alogging.googleapis.com/Log\"\xe6\x02\n\x16WriteLogEntriesRequest\x12\x34\n\x08log_name\x18\x01 \x01(\tB\"\xe0\x41\x01\xfa\x41\x1c\n\x1alogging.googleapis.com/Log\x12\x34\n\x08resource\x18\x02 \x01(\x0b\x32\x1d.google.api.MonitoredResourceB\x03\xe0\x41\x01\x12J\n\x06labels\x18\x03 \x03(\x0b\x32\x35.google.logging.v2.WriteLogEntriesRequest.LabelsEntryB\x03\xe0\x41\x01\x12\x31\n\x07\x65ntries\x18\x04 \x03(\x0b\x32\x1b.google.logging.v2.LogEntryB\x03\xe0\x41\x02\x12\x1c\n\x0fpartial_success\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x14\n\x07\x64ry_run\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x19\n\x17WriteLogEntriesResponse\"\xc8\x01\n\x1cWriteLogEntriesPartialErrors\x12]\n\x10log_entry_errors\x18\x01 \x03(\x0b\x32\x43.google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry\x1aI\n\x13LogEntryErrorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status:\x02\x38\x01\"\xcc\x01\n\x15ListLogEntriesRequest\x12\x1a\n\x0bproject_ids\x18\x01 \x03(\tB\x05\x18\x01\xe0\x41\x01\x12:\n\x0eresource_names\x18\x08 \x03(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1alogging.googleapis.com/Log\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x05 \x01(\tB\x03\xe0\x41\x01\"_\n\x16ListLogEntriesResponse\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.google.logging.v2.LogEntry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Z\n\'ListMonitoredResourceDescriptorsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x8a\x01\n(ListMonitoredResourceDescriptorsResponse\x12\x45\n\x14resource_descriptors\x18\x01 \x03(\x0b\x32\'.google.api.MonitoredResourceDescriptor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"v\n\x0fListLogsRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\x12\x1alogging.googleapis.com/Log\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\">\n\x10ListLogsResponse\x12\x11\n\tlog_names\x18\x03 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x80\x01\n\x15TailLogEntriesRequest\x12\x1b\n\x0eresource_names\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x35\n\rbuffer_window\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\"\xdf\x02\n\x16TailLogEntriesResponse\x12,\n\x07\x65ntries\x18\x01 \x03(\x0b\x32\x1b.google.logging.v2.LogEntry\x12S\n\x10suppression_info\x18\x02 \x03(\x0b\x32\x39.google.logging.v2.TailLogEntriesResponse.SuppressionInfo\x1a\xc1\x01\n\x0fSuppressionInfo\x12P\n\x06reason\x18\x01 \x01(\x0e\x32@.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason\x12\x18\n\x10suppressed_count\x18\x02 \x01(\x05\"B\n\x06Reason\x12\x16\n\x12REASON_UNSPECIFIED\x10\x00\x12\x0e\n\nRATE_LIMIT\x10\x01\x12\x10\n\x0cNOT_CONSUMED\x10\x02\x32\x9f\x0c\n\x10LoggingServiceV2\x12\x93\x02\n\tDeleteLog\x12#.google.logging.v2.DeleteLogRequest\x1a\x16.google.protobuf.Empty\"\xc8\x01\x82\xd3\xe4\x93\x02\xb6\x01* /v2/{log_name=projects/*/logs/*}Z\x1b*\x19/v2/{log_name=*/*/logs/*}Z\'*%/v2/{log_name=organizations/*/logs/*}Z!*\x1f/v2/{log_name=folders/*/logs/*}Z)*\'/v2/{log_name=billingAccounts/*/logs/*}\xda\x41\x08log_name\x12\xc6\x01\n\x0fWriteLogEntries\x12).google.logging.v2.WriteLogEntriesRequest\x1a*.google.logging.v2.WriteLogEntriesResponse\"\\\x82\xd3\xe4\x93\x02\x33\"\x11/v2/entries:write:\x01*Z\x1b\"\x16/v2beta1/entries:write:\x01*\xda\x41 log_name,resource,labels,entries\x12\xbf\x01\n\x0eListLogEntries\x12(.google.logging.v2.ListLogEntriesRequest\x1a).google.logging.v2.ListLogEntriesResponse\"X\x82\xd3\xe4\x93\x02\x31\"\x15/v2beta1/entries:list:\x01*Z\x15\"\x10/v2/entries:list:\x01*\xda\x41\x1eresource_names,filter,order_by\x12\xc5\x01\n ListMonitoredResourceDescriptors\x12:.google.logging.v2.ListMonitoredResourceDescriptorsRequest\x1a;.google.logging.v2.ListMonitoredResourceDescriptorsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /v2/monitoredResourceDescriptors\x12\x88\x02\n\x08ListLogs\x12\".google.logging.v2.ListLogsRequest\x1a#.google.logging.v2.ListLogsResponse\"\xb2\x01\x82\xd3\xe4\x93\x02\xa2\x01\x12\x15/v2/{parent=*/*}/logsZ\x1e\x12\x1c/v2/{parent=projects/*}/logsZ#\x12!/v2/{parent=organizations/*}/logsZ\x1d\x12\x1b/v2/{parent=folders/*}/logsZ%\x12#/v2/{parent=billingAccounts/*}/logs\xda\x41\x06parent\x12\x86\x01\n\x0eTailLogEntries\x12(.google.logging.v2.TailLogEntriesRequest\x1a).google.logging.v2.TailLogEntriesResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/entries:tail:\x01*(\x01\x30\x01\x1a\x8d\x02\xca\x41\x16logging.googleapis.com\xd2\x41\xf0\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/logging.admin,https://www.googleapis.com/auth/logging.read,https://www.googleapis.com/auth/logging.writeB\xb5\x01\n\x15\x63om.google.logging.v2B\x0cLoggingProtoP\x01Z8google.golang.org/genproto/googleapis/logging/v2;logging\xf8\x01\x01\xaa\x02\x17Google.Cloud.Logging.V2\xca\x02\x17Google\\Cloud\\Logging\\V2\xea\x02\x1aGoogle::Cloud::Logging::V2b\x06proto3'
  ,
  dependencies=[google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_monitored__resource__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_log__entry__pb2.DESCRIPTOR,googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_logging__config__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,])



_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO_REASON = _descriptor.EnumDescriptor(
  name='Reason',
  full_name='google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='REASON_UNSPECIFIED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='RATE_LIMIT', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='NOT_CONSUMED', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=2315,
  serialized_end=2381,
)
_sym_db.RegisterEnumDescriptor(_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO_REASON)


_DELETELOGREQUEST = _descriptor.Descriptor(
  name='DeleteLogRequest',
  full_name='google.logging.v2.DeleteLogRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='log_name', full_name='google.logging.v2.DeleteLogRequest.log_name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\002\372A\034\n\032logging.googleapis.com/Log', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=512,
  serialized_end=584,
)


_WRITELOGENTRIESREQUEST_LABELSENTRY = _descriptor.Descriptor(
  name='LabelsEntry',
  full_name='google.logging.v2.WriteLogEntriesRequest.LabelsEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='google.logging.v2.WriteLogEntriesRequest.LabelsEntry.key', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='google.logging.v2.WriteLogEntriesRequest.LabelsEntry.value', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=900,
  serialized_end=945,
)

_WRITELOGENTRIESREQUEST = _descriptor.Descriptor(
  name='WriteLogEntriesRequest',
  full_name='google.logging.v2.WriteLogEntriesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='log_name', full_name='google.logging.v2.WriteLogEntriesRequest.log_name', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001\372A\034\n\032logging.googleapis.com/Log', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='resource', full_name='google.logging.v2.WriteLogEntriesRequest.resource', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='labels', full_name='google.logging.v2.WriteLogEntriesRequest.labels', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='entries', full_name='google.logging.v2.WriteLogEntriesRequest.entries', index=3,
      number=4, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\002', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='partial_success', full_name='google.logging.v2.WriteLogEntriesRequest.partial_success', index=4,
      number=5, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='dry_run', full_name='google.logging.v2.WriteLogEntriesRequest.dry_run', index=5,
      number=6, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_WRITELOGENTRIESREQUEST_LABELSENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=587,
  serialized_end=945,
)


_WRITELOGENTRIESRESPONSE = _descriptor.Descriptor(
  name='WriteLogEntriesResponse',
  full_name='google.logging.v2.WriteLogEntriesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=947,
  serialized_end=972,
)


_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY = _descriptor.Descriptor(
  name='LogEntryErrorsEntry',
  full_name='google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry.key', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry.value', index=1,
      number=2, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1102,
  serialized_end=1175,
)

_WRITELOGENTRIESPARTIALERRORS = _descriptor.Descriptor(
  name='WriteLogEntriesPartialErrors',
  full_name='google.logging.v2.WriteLogEntriesPartialErrors',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='log_entry_errors', full_name='google.logging.v2.WriteLogEntriesPartialErrors.log_entry_errors', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=975,
  serialized_end=1175,
)


_LISTLOGENTRIESREQUEST = _descriptor.Descriptor(
  name='ListLogEntriesRequest',
  full_name='google.logging.v2.ListLogEntriesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='project_ids', full_name='google.logging.v2.ListLogEntriesRequest.project_ids', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\030\001\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='resource_names', full_name='google.logging.v2.ListLogEntriesRequest.resource_names', index=1,
      number=8, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\002\372A\034\022\032logging.googleapis.com/Log', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='filter', full_name='google.logging.v2.ListLogEntriesRequest.filter', index=2,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='order_by', full_name='google.logging.v2.ListLogEntriesRequest.order_by', index=3,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='page_size', full_name='google.logging.v2.ListLogEntriesRequest.page_size', index=4,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='page_token', full_name='google.logging.v2.ListLogEntriesRequest.page_token', index=5,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1178,
  serialized_end=1382,
)


_LISTLOGENTRIESRESPONSE = _descriptor.Descriptor(
  name='ListLogEntriesResponse',
  full_name='google.logging.v2.ListLogEntriesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='entries', full_name='google.logging.v2.ListLogEntriesResponse.entries', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='next_page_token', full_name='google.logging.v2.ListLogEntriesResponse.next_page_token', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1384,
  serialized_end=1479,
)


_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST = _descriptor.Descriptor(
  name='ListMonitoredResourceDescriptorsRequest',
  full_name='google.logging.v2.ListMonitoredResourceDescriptorsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='page_size', full_name='google.logging.v2.ListMonitoredResourceDescriptorsRequest.page_size', index=0,
      number=1, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='page_token', full_name='google.logging.v2.ListMonitoredResourceDescriptorsRequest.page_token', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1481,
  serialized_end=1571,
)


_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE = _descriptor.Descriptor(
  name='ListMonitoredResourceDescriptorsResponse',
  full_name='google.logging.v2.ListMonitoredResourceDescriptorsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_descriptors', full_name='google.logging.v2.ListMonitoredResourceDescriptorsResponse.resource_descriptors', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='next_page_token', full_name='google.logging.v2.ListMonitoredResourceDescriptorsResponse.next_page_token', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1574,
  serialized_end=1712,
)


_LISTLOGSREQUEST = _descriptor.Descriptor(
  name='ListLogsRequest',
  full_name='google.logging.v2.ListLogsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='parent', full_name='google.logging.v2.ListLogsRequest.parent', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\002\372A\034\022\032logging.googleapis.com/Log', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='page_size', full_name='google.logging.v2.ListLogsRequest.page_size', index=1,
      number=2, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='page_token', full_name='google.logging.v2.ListLogsRequest.page_token', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1714,
  serialized_end=1832,
)


_LISTLOGSRESPONSE = _descriptor.Descriptor(
  name='ListLogsResponse',
  full_name='google.logging.v2.ListLogsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='log_names', full_name='google.logging.v2.ListLogsResponse.log_names', index=0,
      number=3, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='next_page_token', full_name='google.logging.v2.ListLogsResponse.next_page_token', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1834,
  serialized_end=1896,
)


_TAILLOGENTRIESREQUEST = _descriptor.Descriptor(
  name='TailLogEntriesRequest',
  full_name='google.logging.v2.TailLogEntriesRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='resource_names', full_name='google.logging.v2.TailLogEntriesRequest.resource_names', index=0,
      number=1, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\002', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='filter', full_name='google.logging.v2.TailLogEntriesRequest.filter', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='buffer_window', full_name='google.logging.v2.TailLogEntriesRequest.buffer_window', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\340A\001', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=1899,
  serialized_end=2027,
)


_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO = _descriptor.Descriptor(
  name='SuppressionInfo',
  full_name='google.logging.v2.TailLogEntriesResponse.SuppressionInfo',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='reason', full_name='google.logging.v2.TailLogEntriesResponse.SuppressionInfo.reason', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='suppressed_count', full_name='google.logging.v2.TailLogEntriesResponse.SuppressionInfo.suppressed_count', index=1,
      number=2, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO_REASON,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2188,
  serialized_end=2381,
)

_TAILLOGENTRIESRESPONSE = _descriptor.Descriptor(
  name='TailLogEntriesResponse',
  full_name='google.logging.v2.TailLogEntriesResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='entries', full_name='google.logging.v2.TailLogEntriesResponse.entries', index=0,
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='suppression_info', full_name='google.logging.v2.TailLogEntriesResponse.suppression_info', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=2030,
  serialized_end=2381,
)

_WRITELOGENTRIESREQUEST_LABELSENTRY.containing_type = _WRITELOGENTRIESREQUEST
_WRITELOGENTRIESREQUEST.fields_by_name['resource'].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCE
_WRITELOGENTRIESREQUEST.fields_by_name['labels'].message_type = _WRITELOGENTRIESREQUEST_LABELSENTRY
_WRITELOGENTRIESREQUEST.fields_by_name['entries'].message_type = googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.fields_by_name['value'].message_type = google_dot_rpc_dot_status__pb2._STATUS
_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY.containing_type = _WRITELOGENTRIESPARTIALERRORS
_WRITELOGENTRIESPARTIALERRORS.fields_by_name['log_entry_errors'].message_type = _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY
_LISTLOGENTRIESRESPONSE.fields_by_name['entries'].message_type = googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE.fields_by_name['resource_descriptors'].message_type = google_dot_api_dot_monitored__resource__pb2._MONITOREDRESOURCEDESCRIPTOR
_TAILLOGENTRIESREQUEST.fields_by_name['buffer_window'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO.fields_by_name['reason'].enum_type = _TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO_REASON
_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO.containing_type = _TAILLOGENTRIESRESPONSE
_TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO_REASON.containing_type = _TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO
_TAILLOGENTRIESRESPONSE.fields_by_name['entries'].message_type = googlecloudsdk_dot_third__party_dot_logging__v2_dot_proto_dot_log__entry__pb2._LOGENTRY
_TAILLOGENTRIESRESPONSE.fields_by_name['suppression_info'].message_type = _TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO
DESCRIPTOR.message_types_by_name['DeleteLogRequest'] = _DELETELOGREQUEST
DESCRIPTOR.message_types_by_name['WriteLogEntriesRequest'] = _WRITELOGENTRIESREQUEST
DESCRIPTOR.message_types_by_name['WriteLogEntriesResponse'] = _WRITELOGENTRIESRESPONSE
DESCRIPTOR.message_types_by_name['WriteLogEntriesPartialErrors'] = _WRITELOGENTRIESPARTIALERRORS
DESCRIPTOR.message_types_by_name['ListLogEntriesRequest'] = _LISTLOGENTRIESREQUEST
DESCRIPTOR.message_types_by_name['ListLogEntriesResponse'] = _LISTLOGENTRIESRESPONSE
DESCRIPTOR.message_types_by_name['ListMonitoredResourceDescriptorsRequest'] = _LISTMONITOREDRESOURCEDESCRIPTORSREQUEST
DESCRIPTOR.message_types_by_name['ListMonitoredResourceDescriptorsResponse'] = _LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE
DESCRIPTOR.message_types_by_name['ListLogsRequest'] = _LISTLOGSREQUEST
DESCRIPTOR.message_types_by_name['ListLogsResponse'] = _LISTLOGSRESPONSE
DESCRIPTOR.message_types_by_name['TailLogEntriesRequest'] = _TAILLOGENTRIESREQUEST
DESCRIPTOR.message_types_by_name['TailLogEntriesResponse'] = _TAILLOGENTRIESRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DeleteLogRequest = _reflection.GeneratedProtocolMessageType('DeleteLogRequest', (_message.Message,), {
  'DESCRIPTOR' : _DELETELOGREQUEST,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """The parameters to DeleteLog.
  
  Attributes:
      log_name:
          Required. The resource name of the log to delete:  ::
          "projects/[PROJECT_ID]/logs/[LOG_ID]"
          "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
          "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
          "folders/[FOLDER_ID]/logs/[LOG_ID]"  ``[LOG_ID]`` must be URL-
          encoded. For example, ``"projects/my-project-
          id/logs/syslog"``, ``"organizations/1234567890/logs/cloudresou
          rcemanager.googleapis.com%2Factivity"``. For more information
          about log names, see [LogEntry][google.logging.v2.LogEntry].
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.DeleteLogRequest)
  })
_sym_db.RegisterMessage(DeleteLogRequest)

WriteLogEntriesRequest = _reflection.GeneratedProtocolMessageType('WriteLogEntriesRequest', (_message.Message,), {

  'LabelsEntry' : _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), {
    'DESCRIPTOR' : _WRITELOGENTRIESREQUEST_LABELSENTRY,
    '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
    # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesRequest.LabelsEntry)
    })
  ,
  'DESCRIPTOR' : _WRITELOGENTRIESREQUEST,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """The parameters to WriteLogEntries.
  
  Attributes:
      log_name:
          Optional. A default log resource name that is assigned to all
          log entries in ``entries`` that do not specify a value for
          ``log_name``:  ::     "projects/[PROJECT_ID]/logs/[LOG_ID]"
          "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
          "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
          "folders/[FOLDER_ID]/logs/[LOG_ID]"  ``[LOG_ID]`` must be URL-
          encoded. For example:  ::     "projects/my-project-
          id/logs/syslog"    "organizations/1234567890/logs/cloudresourc
          emanager.googleapis.com%2Factivity"  The permission
          ``logging.logEntries.create`` is needed on each project,
          organization, billing account, or folder that is receiving new
          log entries, whether the resource is specified in ``logName``
          or in an individual log entry.
      resource:
          Optional. A default monitored resource object that is assigned
          to all log entries in ``entries`` that do not specify a value
          for ``resource``. Example:  ::     { "type": "gce_instance",
          "labels": {        "zone": "us-central1-a", "instance_id":
          "00000000000000000000" }}  See
          [LogEntry][google.logging.v2.LogEntry].
      labels:
          Optional. Default labels that are added to the ``labels``
          field of all log entries in ``entries``. If a log entry
          already has a label with the same key as a label in this
          parameter, then the log entry's label is not changed. See
          [LogEntry][google.logging.v2.LogEntry].
      entries:
          Required. The log entries to send to Logging. The order of log
          entries in this list does not matter. Values supplied in this
          method's ``log_name``, ``resource``, and ``labels`` fields are
          copied into those log entries in this list that do not include
          values for their corresponding fields. For more information,
          see the [LogEntry][google.logging.v2.LogEntry] type.  If the
          ``timestamp`` or ``insert_id`` fields are missing in log
          entries, then this method supplies the current time or a
          unique identifier, respectively. The supplied values are
          chosen so that, among the log entries that did not supply
          their own values, the entries earlier in the list will sort
          before the entries later in the list. See the ``entries.list``
          method.  Log entries with timestamps that are more than the
          `logs retention period
          <https://cloud.google.com/logging/quota-policy>`__ in the past
          or more than 24 hours in the future will not be available when
          calling ``entries.list``. However, those log entries can still
          be `exported with LogSinks
          <https://cloud.google.com/logging/docs/api/tasks/exporting-
          logs>`__.  To improve throughput and to avoid exceeding the
          `quota limit <https://cloud.google.com/logging/quota-
          policy>`__ for calls to ``entries.write``, you should try to
          include several log entries in this list, rather than calling
          this method for each individual log entry.
      partial_success:
          Optional. Whether valid entries should be written even if some
          other entries fail due to INVALID_ARGUMENT or
          PERMISSION_DENIED errors. If any entry is not written, then
          the response status is the error associated with one of the
          failed entries and the response includes error details keyed
          by the entries' zero-based index in the ``entries.write``
          method.
      dry_run:
          Optional. If true, the request should expect normal response,
          but the entries won't be persisted nor exported. Useful for
          checking whether the logging API endpoints are working
          properly before sending valuable data.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesRequest)
  })
_sym_db.RegisterMessage(WriteLogEntriesRequest)
_sym_db.RegisterMessage(WriteLogEntriesRequest.LabelsEntry)

WriteLogEntriesResponse = _reflection.GeneratedProtocolMessageType('WriteLogEntriesResponse', (_message.Message,), {
  'DESCRIPTOR' : _WRITELOGENTRIESRESPONSE,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """Result returned from WriteLogEntries.""",
  # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesResponse)
  })
_sym_db.RegisterMessage(WriteLogEntriesResponse)

WriteLogEntriesPartialErrors = _reflection.GeneratedProtocolMessageType('WriteLogEntriesPartialErrors', (_message.Message,), {

  'LogEntryErrorsEntry' : _reflection.GeneratedProtocolMessageType('LogEntryErrorsEntry', (_message.Message,), {
    'DESCRIPTOR' : _WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY,
    '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
    # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesPartialErrors.LogEntryErrorsEntry)
    })
  ,
  'DESCRIPTOR' : _WRITELOGENTRIESPARTIALERRORS,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """Error details for WriteLogEntries with partial success.
  
  Attributes:
      log_entry_errors:
          When ``WriteLogEntriesRequest.partial_success`` is true,
          records the error status for entries that were not written due
          to a permanent error, keyed by the entry's zero-based index in
          ``WriteLogEntriesRequest.entries``.  Failed requests for which
          no entries are written will not include per-entry errors.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.WriteLogEntriesPartialErrors)
  })
_sym_db.RegisterMessage(WriteLogEntriesPartialErrors)
_sym_db.RegisterMessage(WriteLogEntriesPartialErrors.LogEntryErrorsEntry)

ListLogEntriesRequest = _reflection.GeneratedProtocolMessageType('ListLogEntriesRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTLOGENTRIESREQUEST,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """The parameters to ``ListLogEntries``.
  
  Attributes:
      project_ids:
          Optional. Deprecated. Use ``resource_names`` instead. One or
          more project identifiers or project numbers from which to
          retrieve log entries. Example: ``"my-project-1A"``.
      resource_names:
          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.
      filter:
          Optional. A filter that chooses which log entries to return.
          See `Advanced Logs Queries
          <https://cloud.google.com/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.
      order_by:
          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.
      page_size:
          Optional. The maximum number of results to return from this
          request. Default is 50. If the value is negative or exceeds
          1000, the request is rejected. The presence of
          ``next_page_token`` in the response indicates that more
          results might be available.
      page_token:
          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.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogEntriesRequest)
  })
_sym_db.RegisterMessage(ListLogEntriesRequest)

ListLogEntriesResponse = _reflection.GeneratedProtocolMessageType('ListLogEntriesResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTLOGENTRIESRESPONSE,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """Result returned from ``ListLogEntries``.
  
  Attributes:
      entries:
          A list of log entries. If ``entries`` is empty,
          ``nextPageToken`` may still be returned, indicating that more
          entries may exist. See ``nextPageToken`` for more information.
      next_page_token:
          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``.  If a value for
          ``next_page_token`` appears and the ``entries`` field is
          empty, it means that the search found no log entries so far
          but it did not have time to search all the possible log
          entries. Retry the method with this value for ``page_token``
          to continue the search. Alternatively, consider speeding up
          the search by changing your filter to specify a single log
          name or resource type, or to narrow the time range of the
          search.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogEntriesResponse)
  })
_sym_db.RegisterMessage(ListLogEntriesResponse)

ListMonitoredResourceDescriptorsRequest = _reflection.GeneratedProtocolMessageType('ListMonitoredResourceDescriptorsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTMONITOREDRESOURCEDESCRIPTORSREQUEST,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """The parameters to ListMonitoredResourceDescriptors
  
  Attributes:
      page_size:
          Optional. The maximum number of results to return from this
          request. Non-positive values are ignored. The presence of
          ``nextPageToken`` in the response indicates that more results
          might be available.
      page_token:
          Optional. If present, then retrieve the next batch of results
          from the preceding call to this method. ``pageToken`` must be
          the value of ``nextPageToken`` from the previous response. The
          values of other method parameters should be identical to those
          in the previous call.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.ListMonitoredResourceDescriptorsRequest)
  })
_sym_db.RegisterMessage(ListMonitoredResourceDescriptorsRequest)

ListMonitoredResourceDescriptorsResponse = _reflection.GeneratedProtocolMessageType('ListMonitoredResourceDescriptorsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """Result returned from ListMonitoredResourceDescriptors.
  
  Attributes:
      resource_descriptors:
          A list of resource descriptors.
      next_page_token:
          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``.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.ListMonitoredResourceDescriptorsResponse)
  })
_sym_db.RegisterMessage(ListMonitoredResourceDescriptorsResponse)

ListLogsRequest = _reflection.GeneratedProtocolMessageType('ListLogsRequest', (_message.Message,), {
  'DESCRIPTOR' : _LISTLOGSREQUEST,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """The parameters to ListLogs.
  
  Attributes:
      parent:
          Required. The resource name that owns the logs:  ::
          "projects/[PROJECT_ID]"    "organizations/[ORGANIZATION_ID]"
          "billingAccounts/[BILLING_ACCOUNT_ID]"
          "folders/[FOLDER_ID]"
      page_size:
          Optional. The maximum number of results to return from this
          request. Non-positive values are ignored. The presence of
          ``nextPageToken`` in the response indicates that more results
          might be available.
      page_token:
          Optional. If present, then retrieve the next batch of results
          from the preceding call to this method. ``pageToken`` must be
          the value of ``nextPageToken`` from the previous response. The
          values of other method parameters should be identical to those
          in the previous call.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogsRequest)
  })
_sym_db.RegisterMessage(ListLogsRequest)

ListLogsResponse = _reflection.GeneratedProtocolMessageType('ListLogsResponse', (_message.Message,), {
  'DESCRIPTOR' : _LISTLOGSRESPONSE,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """Result returned from ListLogs.
  
  Attributes:
      log_names:
          A list of log names. For example, ``"projects/my-
          project/logs/syslog"`` or ``"organizations/123/logs/cloudresou
          rcemanager.googleapis.com%2Factivity"``.
      next_page_token:
          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``.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.ListLogsResponse)
  })
_sym_db.RegisterMessage(ListLogsResponse)

TailLogEntriesRequest = _reflection.GeneratedProtocolMessageType('TailLogEntriesRequest', (_message.Message,), {
  'DESCRIPTOR' : _TAILLOGENTRIESREQUEST,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """The parameters to ``TailLogEntries``.
  
  Attributes:
      resource_names:
          Required. Name of a parent resource from which to retrieve log
          entries:  ::     "projects/[PROJECT_ID]"
          "organizations/[ORGANIZATION_ID]"
          "billingAccounts/[BILLING_ACCOUNT_ID]"
          "folders/[FOLDER_ID]"
      filter:
          Optional. A filter that chooses which log entries to return.
          See `Advanced Logs Filters <https://cloud.google.com/logging/d
          ocs/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 in ``resource_names`` will cause
          the filter to return no results. The maximum length of the
          filter is 20000 characters.
      buffer_window:
          Optional. The amount of time to buffer log entries at the
          server before being returned to prevent out of order results
          due to late arriving log entries. Valid values are between
          0-60000 milliseconds. Defaults to 2000 milliseconds.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.TailLogEntriesRequest)
  })
_sym_db.RegisterMessage(TailLogEntriesRequest)

TailLogEntriesResponse = _reflection.GeneratedProtocolMessageType('TailLogEntriesResponse', (_message.Message,), {

  'SuppressionInfo' : _reflection.GeneratedProtocolMessageType('SuppressionInfo', (_message.Message,), {
    'DESCRIPTOR' : _TAILLOGENTRIESRESPONSE_SUPPRESSIONINFO,
    '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
    ,
    '__doc__': """Information about entries that were omitted from the session.
    
    Attributes:
        reason:
            The reason that entries were omitted from the session.
        suppressed_count:
            A lower bound on the count of entries omitted due to
            ``reason``.
    """,
    # @@protoc_insertion_point(class_scope:google.logging.v2.TailLogEntriesResponse.SuppressionInfo)
    })
  ,
  'DESCRIPTOR' : _TAILLOGENTRIESRESPONSE,
  '__module__' : 'googlecloudsdk.third_party.logging_v2.proto.logging_pb2'
  ,
  '__doc__': """Result returned from ``TailLogEntries``.
  
  Attributes:
      entries:
          A list of log entries. Each response in the stream will order
          entries with increasing values of ``LogEntry.timestamp``.
          Ordering is not guaranteed between separate responses.
      suppression_info:
          If entries that otherwise would have been included in the
          session were not sent back to the client, counts of relevant
          entries omitted from the session with the reason that they
          were not included. There will be at most one of each reason
          per response. The counts represent the number of suppressed
          entries since the last streamed response.
  """,
  # @@protoc_insertion_point(class_scope:google.logging.v2.TailLogEntriesResponse)
  })
_sym_db.RegisterMessage(TailLogEntriesResponse)
_sym_db.RegisterMessage(TailLogEntriesResponse.SuppressionInfo)


DESCRIPTOR._options = None
_DELETELOGREQUEST.fields_by_name['log_name']._options = None
_WRITELOGENTRIESREQUEST_LABELSENTRY._options = None
_WRITELOGENTRIESREQUEST.fields_by_name['log_name']._options = None
_WRITELOGENTRIESREQUEST.fields_by_name['resource']._options = None
_WRITELOGENTRIESREQUEST.fields_by_name['labels']._options = None
_WRITELOGENTRIESREQUEST.fields_by_name['entries']._options = None
_WRITELOGENTRIESREQUEST.fields_by_name['partial_success']._options = None
_WRITELOGENTRIESREQUEST.fields_by_name['dry_run']._options = None
_WRITELOGENTRIESPARTIALERRORS_LOGENTRYERRORSENTRY._options = None
_LISTLOGENTRIESREQUEST.fields_by_name['project_ids']._options = None
_LISTLOGENTRIESREQUEST.fields_by_name['resource_names']._options = None
_LISTLOGENTRIESREQUEST.fields_by_name['filter']._options = None
_LISTLOGENTRIESREQUEST.fields_by_name['order_by']._options = None
_LISTLOGENTRIESREQUEST.fields_by_name['page_size']._options = None
_LISTLOGENTRIESREQUEST.fields_by_name['page_token']._options = None
_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST.fields_by_name['page_size']._options = None
_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST.fields_by_name['page_token']._options = None
_LISTLOGSREQUEST.fields_by_name['parent']._options = None
_LISTLOGSREQUEST.fields_by_name['page_size']._options = None
_LISTLOGSREQUEST.fields_by_name['page_token']._options = None
_TAILLOGENTRIESREQUEST.fields_by_name['resource_names']._options = None
_TAILLOGENTRIESREQUEST.fields_by_name['filter']._options = None
_TAILLOGENTRIESREQUEST.fields_by_name['buffer_window']._options = None

_LOGGINGSERVICEV2 = _descriptor.ServiceDescriptor(
  name='LoggingServiceV2',
  full_name='google.logging.v2.LoggingServiceV2',
  file=DESCRIPTOR,
  index=0,
  serialized_options=b'\312A\026logging.googleapis.com\322A\360\001https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/logging.admin,https://www.googleapis.com/auth/logging.read,https://www.googleapis.com/auth/logging.write',
  create_key=_descriptor._internal_create_key,
  serialized_start=2384,
  serialized_end=3951,
  methods=[
  _descriptor.MethodDescriptor(
    name='DeleteLog',
    full_name='google.logging.v2.LoggingServiceV2.DeleteLog',
    index=0,
    containing_service=None,
    input_type=_DELETELOGREQUEST,
    output_type=google_dot_protobuf_dot_empty__pb2._EMPTY,
    serialized_options=b'\202\323\344\223\002\266\001* /v2/{log_name=projects/*/logs/*}Z\033*\031/v2/{log_name=*/*/logs/*}Z\'*%/v2/{log_name=organizations/*/logs/*}Z!*\037/v2/{log_name=folders/*/logs/*}Z)*\'/v2/{log_name=billingAccounts/*/logs/*}\332A\010log_name',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='WriteLogEntries',
    full_name='google.logging.v2.LoggingServiceV2.WriteLogEntries',
    index=1,
    containing_service=None,
    input_type=_WRITELOGENTRIESREQUEST,
    output_type=_WRITELOGENTRIESRESPONSE,
    serialized_options=b'\202\323\344\223\0023\"\021/v2/entries:write:\001*Z\033\"\026/v2beta1/entries:write:\001*\332A log_name,resource,labels,entries',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListLogEntries',
    full_name='google.logging.v2.LoggingServiceV2.ListLogEntries',
    index=2,
    containing_service=None,
    input_type=_LISTLOGENTRIESREQUEST,
    output_type=_LISTLOGENTRIESRESPONSE,
    serialized_options=b'\202\323\344\223\0021\"\025/v2beta1/entries:list:\001*Z\025\"\020/v2/entries:list:\001*\332A\036resource_names,filter,order_by',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListMonitoredResourceDescriptors',
    full_name='google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors',
    index=3,
    containing_service=None,
    input_type=_LISTMONITOREDRESOURCEDESCRIPTORSREQUEST,
    output_type=_LISTMONITOREDRESOURCEDESCRIPTORSRESPONSE,
    serialized_options=b'\202\323\344\223\002\"\022 /v2/monitoredResourceDescriptors',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ListLogs',
    full_name='google.logging.v2.LoggingServiceV2.ListLogs',
    index=4,
    containing_service=None,
    input_type=_LISTLOGSREQUEST,
    output_type=_LISTLOGSRESPONSE,
    serialized_options=b'\202\323\344\223\002\242\001\022\025/v2/{parent=*/*}/logsZ\036\022\034/v2/{parent=projects/*}/logsZ#\022!/v2/{parent=organizations/*}/logsZ\035\022\033/v2/{parent=folders/*}/logsZ%\022#/v2/{parent=billingAccounts/*}/logs\332A\006parent',
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='TailLogEntries',
    full_name='google.logging.v2.LoggingServiceV2.TailLogEntries',
    index=5,
    containing_service=None,
    input_type=_TAILLOGENTRIESREQUEST,
    output_type=_TAILLOGENTRIESRESPONSE,
    serialized_options=b'\202\323\344\223\002\025\"\020/v2/entries:tail:\001*',
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_LOGGINGSERVICEV2)

DESCRIPTOR.services_by_name['LoggingServiceV2'] = _LOGGINGSERVICEV2

# @@protoc_insertion_point(module_scope)
