All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bloombox.schema.services.media.v1beta1.MediaServiceBeta1 Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas, Co. All rights reserved.
 *
 * Source and object computer code contained herein is the private intellectual
 * property of Momentum Ideas Co., a Delaware Corporation. Use of this
 * code in source form requires permission in writing before use or the
 * assembly, distribution, or publishing of derivative works, for commercial
 * purposes or any other purpose, from a duly authorized officer of Momentum
 * Ideas Co.
 *
 * 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: media/v1beta1/MediaService_Beta1.proto

package io.bloombox.schema.services.media.v1beta1;

public final class MediaServiceBeta1 {
  private MediaServiceBeta1() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_MediaFile_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_MediaFile_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_MediaContent_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_MediaContent_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_UploadTransaction_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_UploadTransaction_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_OperationResult_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_OperationResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_ListMedia_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_ListMedia_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_ListMedia_Request_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_ListMedia_Request_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_ListMedia_Response_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_ListMedia_Response_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_GetMedia_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_GetMedia_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_GetMedia_Request_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_GetMedia_Request_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_GetMedia_Response_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_GetMedia_Response_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_UploadMedia_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_UploadMedia_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_UploadMedia_Request_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_UploadMedia_Request_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_UploadMedia_Response_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_UploadMedia_Response_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_AttachMedia_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_AttachMedia_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_bloombox_services_media_v1beta1_AttachMedia_Request_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_bloombox_services_media_v1beta1_AttachMedia_Request_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n&media/v1beta1/MediaService_Beta1.proto" +
      "\022\037bloombox.services.media.v1beta1\032\024media" +
      "/MediaKey.proto\032\025media/MediaType.proto\032\025" +
      "media/MediaItem.proto\032\025content/Content.p" +
      "roto\032\033google/protobuf/empty.proto\032\034googl" +
      "e/api/annotations.proto\032(protoc-gen-swag" +
      "ger/options/swagger.proto\"/\n\tMediaFile\022\020" +
      "\n\010filename\030\001 \001(\t\022\020\n\010mimetype\030\002 \001(\t\"\315\001\n\014M" +
      "ediaContent\022+\n\004type\030\001 \001(\0132\035.opencannabis" +
      ".media.MediaType\022:\n\004file\030\002 \001(\0132*.bloombo" +
      "x.services.media.v1beta1.MediaFileH\000\022\016\n\004" +
      "blob\030\003 \001(\010H\000\022.\n\007content\030\004 \001(\0132\035.opencann" +
      "abis.content.Content\022\014\n\004name\030\005 \001(\tB\006\n\004sp" +
      "ec\"N\n\021UploadTransaction\022\016\n\006target\030\001 \001(\t\022" +
      ")\n\003key\030\002 \001(\0132\034.opencannabis.media.MediaK" +
      "ey\">\n\017OperationResult\022+\n\004item\030\001 \001(\0132\035.op" +
      "encannabis.media.MediaItem\"_\n\tListMedia\032" +
      "\030\n\007Request\022\r\n\005scope\030\001 \001(\t\0328\n\010Response\022,\n" +
      "\005media\030\001 \003(\0132\035.opencannabis.media.MediaI" +
      "tem\"\211\001\n\010GetMedia\032C\n\007Request\022\r\n\005scope\030\001 \001" +
      "(\t\022)\n\003key\030\002 \001(\0132\034.opencannabis.media.Med" +
      "iaKey\0328\n\010Response\022,\n\005media\030\001 \001(\0132\035.openc" +
      "annabis.media.MediaItem\"\207\003\n\013UploadMedia\032" +
      "\316\001\n\007Request\022\r\n\005scope\030\001 \001(\t\0221\n\007subject\030\002 " +
      "\001(\0132 .opencannabis.media.MediaSubject\022>\n" +
      "\007content\030\003 \001(\0132-.bloombox.services.media" +
      ".v1beta1.MediaContent\0221\n\007privacy\030\004 \001(\0162 " +
      ".opencannabis.media.MediaPrivacy\022\016\n\006orig" +
      "in\030\005 \001(\t\032\246\001\n\010Response\022I\n\013transaction\030\001 \001" +
      "(\01322.bloombox.services.media.v1beta1.Upl" +
      "oadTransactionH\000\022B\n\006result\030\002 \001(\01320.bloom" +
      "box.services.media.v1beta1.OperationResu" +
      "ltH\000B\013\n\toperation\"R\n\013AttachMedia\032C\n\007Requ" +
      "est\022\r\n\005scope\030\001 \001(\t\022)\n\003key\030\002 \001(\0132\034.openca" +
      "nnabis.media.MediaKey*\224\001\n\nMediaError\022\014\n\010" +
      "NO_ERROR\020\000\022\023\n\017PARTNER_INVALID\020\001\022\024\n\020LOCAT" +
      "ION_INVALID\020\002\022\021\n\rACCESS_DENIED\020\003\022\023\n\017MEDI" +
      "A_NOT_FOUND\020\004\022\021\n\rMEDIA_INVALID\020\005\022\022\n\016INTE" +
      "RNAL_ERROR\020c2\231\010\n\005Media\022\365\001\n\004List\0222.bloomb" +
      "ox.services.media.v1beta1.ListMedia.Requ" +
      "est\0323.bloombox.services.media.v1beta1.Li" +
      "stMedia.Response\"\203\001\202\323\344\223\0022\022-/media/v1beta" +
      "1/{scope=partners/*/locations/*}:\001*\222AH\022\n" +
      "List Media\0324List media items for a given" +
      " partner/location scope.*\004List\022\366\001\n\010Retri" +
      "eve\0221.bloombox.services.media.v1beta1.Ge" +
      "tMedia.Request\0322.bloombox.services.media" +
      ".v1beta1.GetMedia.Response\"\202\001\202\323\344\223\002;\0226/me" +
      "dia/v1beta1/{scope=partners/*/locations/" +
      "*}/{key.id}:\001*\222A>\022\016Retrieve Media\032\"Retri" +
      "eve an individual media item.*\010Retrieve\022" +
      "\237\002\n\006Upload\0224.bloombox.services.media.v1b" +
      "eta1.UploadMedia.Request\0325.bloombox.serv" +
      "ices.media.v1beta1.UploadMedia.Response\"" +
      "\247\001\202\323\344\223\0029\"4/media/v1beta1/{scope=partners" +
      "/*/locations/*}/upload:\001*\222Ae\022\014Create Med" +
      "ia\032MProvision a new media item record, a" +
      "nd update its data with an initial value" +
      ".*\006Upload\022\374\001\n\006Attach\0224.bloombox.services" +
      ".media.v1beta1.AttachMedia.Request\032\026.goo" +
      "gle.protobuf.Empty\"\243\001\202\323\344\223\002B\032=/media/v1be" +
      "ta1/{scope=partners/*/locations/*}/uploa" +
      "d/{key.id}:\001*\222AX\022\014Attach Media\032@Notify t" +
      "he platform that uploaded media is ready" +
      " to be attached.*\006AttachB\211\004\n)io.bloombox" +
      ".schema.services.media.v1beta1H\001P\001\242\002\003BBS" +
      "\222A\320\003\022h\n\tMedia API\032\031https://bloombox.io/t" +
      "erms\"7\n\010Bloombox\022\023https://bloombox.io\032\026d" +
      "[email protected]\007v1beta1\032\022api.bloo" +
      "mbox.cloud*\001\0022\020application/json:\020applica" +
      "tion/jsonZ\320\001\nd\n\013ApiKeyParam\022U\010\002\022JParamet" +
      "er for identifying API key owned by the " +
      "invoking project or system.\032\003key \001\nh\n\014Ap" +
      "iKeyHeader\022X\010\002\022GHeader for identifying A" +
      "PI key owned by the invoking project or " +
      "system.\032\tX-API-Key \001b\021\n\017\n\013ApiKeyParam\022\000b" +
      "\022\n\020\n\014ApiKeyHeader\022\000r/\n\rBloombox APIs\022\036ht" +
      "tps://apidocs.bloombox.cloudb\006proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.    InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          io.opencannabis.schema.media.MediaItemKey.getDescriptor(),
          io.opencannabis.schema.media.MediaItemType.getDescriptor(),
          io.opencannabis.schema.media.AttachedMedia.getDescriptor(),
          io.opencannabis.schema.content.GenericContent.getDescriptor(),
          com.google.protobuf.EmptyProto.getDescriptor(),
          com.google.api.AnnotationsProto.getDescriptor(),
          grpc.gateway.protoc_gen_swagger.options.Swagger.getDescriptor(),
        }, assigner);
    internal_static_bloombox_services_media_v1beta1_MediaFile_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_bloombox_services_media_v1beta1_MediaFile_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_MediaFile_descriptor,
        new java.lang.String[] { "Filename", "Mimetype", });
    internal_static_bloombox_services_media_v1beta1_MediaContent_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_bloombox_services_media_v1beta1_MediaContent_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_MediaContent_descriptor,
        new java.lang.String[] { "Type", "File", "Blob", "Content", "Name", "Spec", });
    internal_static_bloombox_services_media_v1beta1_UploadTransaction_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_bloombox_services_media_v1beta1_UploadTransaction_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_UploadTransaction_descriptor,
        new java.lang.String[] { "Target", "Key", });
    internal_static_bloombox_services_media_v1beta1_OperationResult_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_bloombox_services_media_v1beta1_OperationResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_OperationResult_descriptor,
        new java.lang.String[] { "Item", });
    internal_static_bloombox_services_media_v1beta1_ListMedia_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_bloombox_services_media_v1beta1_ListMedia_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_ListMedia_descriptor,
        new java.lang.String[] { });
    internal_static_bloombox_services_media_v1beta1_ListMedia_Request_descriptor =
      internal_static_bloombox_services_media_v1beta1_ListMedia_descriptor.getNestedTypes().get(0);
    internal_static_bloombox_services_media_v1beta1_ListMedia_Request_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_ListMedia_Request_descriptor,
        new java.lang.String[] { "Scope", });
    internal_static_bloombox_services_media_v1beta1_ListMedia_Response_descriptor =
      internal_static_bloombox_services_media_v1beta1_ListMedia_descriptor.getNestedTypes().get(1);
    internal_static_bloombox_services_media_v1beta1_ListMedia_Response_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_ListMedia_Response_descriptor,
        new java.lang.String[] { "Media", });
    internal_static_bloombox_services_media_v1beta1_GetMedia_descriptor =
      getDescriptor().getMessageTypes().get(5);
    internal_static_bloombox_services_media_v1beta1_GetMedia_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_GetMedia_descriptor,
        new java.lang.String[] { });
    internal_static_bloombox_services_media_v1beta1_GetMedia_Request_descriptor =
      internal_static_bloombox_services_media_v1beta1_GetMedia_descriptor.getNestedTypes().get(0);
    internal_static_bloombox_services_media_v1beta1_GetMedia_Request_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_GetMedia_Request_descriptor,
        new java.lang.String[] { "Scope", "Key", });
    internal_static_bloombox_services_media_v1beta1_GetMedia_Response_descriptor =
      internal_static_bloombox_services_media_v1beta1_GetMedia_descriptor.getNestedTypes().get(1);
    internal_static_bloombox_services_media_v1beta1_GetMedia_Response_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_GetMedia_Response_descriptor,
        new java.lang.String[] { "Media", });
    internal_static_bloombox_services_media_v1beta1_UploadMedia_descriptor =
      getDescriptor().getMessageTypes().get(6);
    internal_static_bloombox_services_media_v1beta1_UploadMedia_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_UploadMedia_descriptor,
        new java.lang.String[] { });
    internal_static_bloombox_services_media_v1beta1_UploadMedia_Request_descriptor =
      internal_static_bloombox_services_media_v1beta1_UploadMedia_descriptor.getNestedTypes().get(0);
    internal_static_bloombox_services_media_v1beta1_UploadMedia_Request_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_UploadMedia_Request_descriptor,
        new java.lang.String[] { "Scope", "Subject", "Content", "Privacy", "Origin", });
    internal_static_bloombox_services_media_v1beta1_UploadMedia_Response_descriptor =
      internal_static_bloombox_services_media_v1beta1_UploadMedia_descriptor.getNestedTypes().get(1);
    internal_static_bloombox_services_media_v1beta1_UploadMedia_Response_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_UploadMedia_Response_descriptor,
        new java.lang.String[] { "Transaction", "Result", "Operation", });
    internal_static_bloombox_services_media_v1beta1_AttachMedia_descriptor =
      getDescriptor().getMessageTypes().get(7);
    internal_static_bloombox_services_media_v1beta1_AttachMedia_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_AttachMedia_descriptor,
        new java.lang.String[] { });
    internal_static_bloombox_services_media_v1beta1_AttachMedia_Request_descriptor =
      internal_static_bloombox_services_media_v1beta1_AttachMedia_descriptor.getNestedTypes().get(0);
    internal_static_bloombox_services_media_v1beta1_AttachMedia_Request_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_bloombox_services_media_v1beta1_AttachMedia_Request_descriptor,
        new java.lang.String[] { "Scope", "Key", });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.AnnotationsProto.http);
    registry.add(grpc.gateway.protoc_gen_swagger.options.Swagger.openapiv2Operation);
    registry.add(grpc.gateway.protoc_gen_swagger.options.Swagger.openapiv2Swagger);
    com.google.protobuf.Descriptors.FileDescriptor
        .internalUpdateFileDescriptor(descriptor, registry);
    io.opencannabis.schema.media.MediaItemKey.getDescriptor();
    io.opencannabis.schema.media.MediaItemType.getDescriptor();
    io.opencannabis.schema.media.AttachedMedia.getDescriptor();
    io.opencannabis.schema.content.GenericContent.getDescriptor();
    com.google.protobuf.EmptyProto.getDescriptor();
    com.google.api.AnnotationsProto.getDescriptor();
    grpc.gateway.protoc_gen_swagger.options.Swagger.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy