# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: build/bazel/remote/asset/v1/remote_asset.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
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 buildstream._protos.build.bazel.remote.execution.v2 import remote_execution_pb2 as build_dot_bazel_dot_remote_dot_execution_dot_v2_dot_remote__execution__pb2
from buildstream._protos.google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from buildstream._protos.google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.build/bazel/remote/asset/v1/remote_asset.proto\x12\x1b\x62uild.bazel.remote.asset.v1\x1a\x36\x62uild/bazel/remote/execution/v2/remote_execution.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"(\n\tQualifier\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\"\xdc\x01\n\x10\x46\x65tchBlobRequest\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x17oldest_content_accepted\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uris\x18\x04 \x03(\t\x12:\n\nqualifiers\x18\x05 \x03(\x0b\x32&.build.bazel.remote.asset.v1.Qualifier\"\xee\x01\n\x11\x46\x65tchBlobResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12:\n\nqualifiers\x18\x03 \x03(\x0b\x32&.build.bazel.remote.asset.v1.Qualifier\x12.\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x0b\x62lob_digest\x18\x05 \x01(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\"\xe1\x01\n\x15\x46\x65tchDirectoryRequest\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12*\n\x07timeout\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12;\n\x17oldest_content_accepted\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04uris\x18\x04 \x03(\t\x12:\n\nqualifiers\x18\x05 \x03(\x0b\x32&.build.bazel.remote.asset.v1.Qualifier\"\xfd\x01\n\x16\x46\x65tchDirectoryResponse\x12\"\n\x06status\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12:\n\nqualifiers\x18\x03 \x03(\x0b\x32&.build.bazel.remote.asset.v1.Qualifier\x12.\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x15root_directory_digest\x18\x05 \x01(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\"\xeb\x02\n\x0fPushBlobRequest\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12\x0c\n\x04uris\x18\x02 \x03(\t\x12:\n\nqualifiers\x18\x03 \x03(\x0b\x32&.build.bazel.remote.asset.v1.Qualifier\x12-\n\texpire_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x0b\x62lob_digest\x18\x05 \x01(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\x12\x41\n\x10references_blobs\x18\x06 \x03(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\x12G\n\x16references_directories\x18\x07 \x03(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\"\x12\n\x10PushBlobResponse\"\xfa\x02\n\x14PushDirectoryRequest\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12\x0c\n\x04uris\x18\x02 \x03(\t\x12:\n\nqualifiers\x18\x03 \x03(\x0b\x32&.build.bazel.remote.asset.v1.Qualifier\x12-\n\texpire_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x15root_directory_digest\x18\x05 \x01(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\x12\x41\n\x10references_blobs\x18\x06 \x03(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\x12G\n\x16references_directories\x18\x07 \x03(\x0b\x32\'.build.bazel.remote.execution.v2.Digest\"\x17\n\x15PushDirectoryResponse2\xdd\x02\n\x05\x46\x65tch\x12\x9e\x01\n\tFetchBlob\x12-.build.bazel.remote.asset.v1.FetchBlobRequest\x1a..build.bazel.remote.asset.v1.FetchBlobResponse\"2\x82\xd3\xe4\x93\x02,\"\'/v1/{instance_name=**}/assets:fetchBlob:\x01*\x12\xb2\x01\n\x0e\x46\x65tchDirectory\x12\x32.build.bazel.remote.asset.v1.FetchDirectoryRequest\x1a\x33.build.bazel.remote.asset.v1.FetchDirectoryResponse\"7\x82\xd3\xe4\x93\x02\x31\",/v1/{instance_name=**}/assets:fetchDirectory:\x01*2\xd4\x02\n\x04Push\x12\x9a\x01\n\x08PushBlob\x12,.build.bazel.remote.asset.v1.PushBlobRequest\x1a-.build.bazel.remote.asset.v1.PushBlobResponse\"1\x82\xd3\xe4\x93\x02+\"&/v1/{instance_name=**}/assets:pushBlob:\x01*\x12\xae\x01\n\rPushDirectory\x12\x31.build.bazel.remote.asset.v1.PushDirectoryRequest\x1a\x32.build.bazel.remote.asset.v1.PushDirectoryResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/v1/{instance_name=**}/assets:pushDirectory:\x01*Ba\n\x1b\x62uild.bazel.remote.asset.v1B\x10RemoteAssetProtoP\x01Z\x0bremoteasset\xa2\x02\x02RA\xaa\x02\x1b\x42uild.Bazel.Remote.Asset.v1b\x06proto3')



_QUALIFIER = DESCRIPTOR.message_types_by_name['Qualifier']
_FETCHBLOBREQUEST = DESCRIPTOR.message_types_by_name['FetchBlobRequest']
_FETCHBLOBRESPONSE = DESCRIPTOR.message_types_by_name['FetchBlobResponse']
_FETCHDIRECTORYREQUEST = DESCRIPTOR.message_types_by_name['FetchDirectoryRequest']
_FETCHDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['FetchDirectoryResponse']
_PUSHBLOBREQUEST = DESCRIPTOR.message_types_by_name['PushBlobRequest']
_PUSHBLOBRESPONSE = DESCRIPTOR.message_types_by_name['PushBlobResponse']
_PUSHDIRECTORYREQUEST = DESCRIPTOR.message_types_by_name['PushDirectoryRequest']
_PUSHDIRECTORYRESPONSE = DESCRIPTOR.message_types_by_name['PushDirectoryResponse']
Qualifier = _reflection.GeneratedProtocolMessageType('Qualifier', (_message.Message,), {
  'DESCRIPTOR' : _QUALIFIER,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.Qualifier)
  })
_sym_db.RegisterMessage(Qualifier)

FetchBlobRequest = _reflection.GeneratedProtocolMessageType('FetchBlobRequest', (_message.Message,), {
  'DESCRIPTOR' : _FETCHBLOBREQUEST,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.FetchBlobRequest)
  })
_sym_db.RegisterMessage(FetchBlobRequest)

FetchBlobResponse = _reflection.GeneratedProtocolMessageType('FetchBlobResponse', (_message.Message,), {
  'DESCRIPTOR' : _FETCHBLOBRESPONSE,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.FetchBlobResponse)
  })
_sym_db.RegisterMessage(FetchBlobResponse)

FetchDirectoryRequest = _reflection.GeneratedProtocolMessageType('FetchDirectoryRequest', (_message.Message,), {
  'DESCRIPTOR' : _FETCHDIRECTORYREQUEST,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.FetchDirectoryRequest)
  })
_sym_db.RegisterMessage(FetchDirectoryRequest)

FetchDirectoryResponse = _reflection.GeneratedProtocolMessageType('FetchDirectoryResponse', (_message.Message,), {
  'DESCRIPTOR' : _FETCHDIRECTORYRESPONSE,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.FetchDirectoryResponse)
  })
_sym_db.RegisterMessage(FetchDirectoryResponse)

PushBlobRequest = _reflection.GeneratedProtocolMessageType('PushBlobRequest', (_message.Message,), {
  'DESCRIPTOR' : _PUSHBLOBREQUEST,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.PushBlobRequest)
  })
_sym_db.RegisterMessage(PushBlobRequest)

PushBlobResponse = _reflection.GeneratedProtocolMessageType('PushBlobResponse', (_message.Message,), {
  'DESCRIPTOR' : _PUSHBLOBRESPONSE,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.PushBlobResponse)
  })
_sym_db.RegisterMessage(PushBlobResponse)

PushDirectoryRequest = _reflection.GeneratedProtocolMessageType('PushDirectoryRequest', (_message.Message,), {
  'DESCRIPTOR' : _PUSHDIRECTORYREQUEST,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.PushDirectoryRequest)
  })
_sym_db.RegisterMessage(PushDirectoryRequest)

PushDirectoryResponse = _reflection.GeneratedProtocolMessageType('PushDirectoryResponse', (_message.Message,), {
  'DESCRIPTOR' : _PUSHDIRECTORYRESPONSE,
  '__module__' : 'build.bazel.remote.asset.v1.remote_asset_pb2'
  # @@protoc_insertion_point(class_scope:build.bazel.remote.asset.v1.PushDirectoryResponse)
  })
_sym_db.RegisterMessage(PushDirectoryResponse)

_FETCH = DESCRIPTOR.services_by_name['Fetch']
_PUSH = DESCRIPTOR.services_by_name['Push']
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\033build.bazel.remote.asset.v1B\020RemoteAssetProtoP\001Z\013remoteasset\242\002\002RA\252\002\033Build.Bazel.Remote.Asset.v1'
  _FETCH.methods_by_name['FetchBlob']._options = None
  _FETCH.methods_by_name['FetchBlob']._serialized_options = b'\202\323\344\223\002,\"\'/v1/{instance_name=**}/assets:fetchBlob:\001*'
  _FETCH.methods_by_name['FetchDirectory']._options = None
  _FETCH.methods_by_name['FetchDirectory']._serialized_options = b'\202\323\344\223\0021\",/v1/{instance_name=**}/assets:fetchDirectory:\001*'
  _PUSH.methods_by_name['PushBlob']._options = None
  _PUSH.methods_by_name['PushBlob']._serialized_options = b'\202\323\344\223\002+\"&/v1/{instance_name=**}/assets:pushBlob:\001*'
  _PUSH.methods_by_name['PushDirectory']._options = None
  _PUSH.methods_by_name['PushDirectory']._serialized_options = b'\202\323\344\223\0020\"+/v1/{instance_name=**}/assets:pushDirectory:\001*'
  _QUALIFIER._serialized_start=255
  _QUALIFIER._serialized_end=295
  _FETCHBLOBREQUEST._serialized_start=298
  _FETCHBLOBREQUEST._serialized_end=518
  _FETCHBLOBRESPONSE._serialized_start=521
  _FETCHBLOBRESPONSE._serialized_end=759
  _FETCHDIRECTORYREQUEST._serialized_start=762
  _FETCHDIRECTORYREQUEST._serialized_end=987
  _FETCHDIRECTORYRESPONSE._serialized_start=990
  _FETCHDIRECTORYRESPONSE._serialized_end=1243
  _PUSHBLOBREQUEST._serialized_start=1246
  _PUSHBLOBREQUEST._serialized_end=1609
  _PUSHBLOBRESPONSE._serialized_start=1611
  _PUSHBLOBRESPONSE._serialized_end=1629
  _PUSHDIRECTORYREQUEST._serialized_start=1632
  _PUSHDIRECTORYREQUEST._serialized_end=2010
  _PUSHDIRECTORYRESPONSE._serialized_start=2012
  _PUSHDIRECTORYRESPONSE._serialized_end=2035
  _FETCH._serialized_start=2038
  _FETCH._serialized_end=2387
  _PUSH._serialized_start=2390
  _PUSH._serialized_end=2730
# @@protoc_insertion_point(module_scope)
