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

com.google.shopping.merchant.promotions.v1beta.PromotionsProto Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * 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
 *
 *     https://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: google/shopping/merchant/promotions/v1beta/promotions.proto

// Protobuf Java Version: 3.25.4
package com.google.shopping.merchant.promotions.v1beta;

public final class PromotionsProto {
  private PromotionsProto() {}

  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_google_shopping_merchant_promotions_v1beta_Promotion_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_shopping_merchant_promotions_v1beta_Promotion_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_shopping_merchant_promotions_v1beta_InsertPromotionRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_shopping_merchant_promotions_v1beta_InsertPromotionRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_shopping_merchant_promotions_v1beta_GetPromotionRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_shopping_merchant_promotions_v1beta_GetPromotionRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsResponse_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;google/shopping/merchant/promotions/v1"
          + "beta/promotions.proto\022*google.shopping.m"
          + "erchant.promotions.v1beta\032\034google/api/an"
          + "notations.proto\032\027google/api/client.proto"
          + "\032\037google/api/field_behavior.proto\032\031googl"
          + "e/api/resource.proto\032Bgoogle/shopping/me"
          + "rchant/promotions/v1beta/promotions_comm"
          + "on.proto\032 google/shopping/type/types.pro"
          + "to\"\205\005\n\tPromotion\022\021\n\004name\030\001 \001(\tB\003\340A\010\022\031\n\014p"
          + "romotion_id\030\002 \001(\tB\003\340A\002\022\035\n\020content_langua"
          + "ge\030\003 \001(\tB\003\340A\002\022\033\n\016target_country\030\004 \001(\tB\003\340"
          + "A\002\022^\n\022redemption_channel\030\005 \003(\0162=.google."
          + "shopping.merchant.promotions.v1beta.Rede"
          + "mptionChannelB\003\340A\002\022\030\n\013data_source\030\006 \001(\tB"
          + "\003\340A\003\022O\n\nattributes\030\007 \001(\01326.google.shoppi"
          + "ng.merchant.promotions.v1beta.Attributes"
          + "B\003\340A\001\022E\n\021custom_attributes\030\010 \003(\0132%.googl"
          + "e.shopping.type.CustomAttributeB\003\340A\001\022Z\n\020"
          + "promotion_status\030\t \001(\0132;.google.shopping"
          + ".merchant.promotions.v1beta.PromotionSta"
          + "tusB\003\340A\003\022 \n\016version_number\030\n \001(\003B\003\340A\001H\000\210"
          + "\001\001:k\352Ah\n$merchantapi.googleapis.com/Prom"
          + "otion\022)accounts/{account}/promotions/{pr"
          + "omotion}*\npromotions2\tpromotionB\021\n\017_vers"
          + "ion_number\"\226\001\n\026InsertPromotionRequest\022\023\n"
          + "\006parent\030\001 \001(\tB\003\340A\002\022M\n\tpromotion\030\002 \001(\01325."
          + "google.shopping.merchant.promotions.v1be"
          + "ta.PromotionB\003\340A\002\022\030\n\013data_source\030\003 \001(\tB\003"
          + "\340A\002\"Q\n\023GetPromotionRequest\022:\n\004name\030\001 \001(\t"
          + "B,\340A\002\372A&\n$merchantapi.googleapis.com/Pro"
          + "motion\"]\n\025ListPromotionsRequest\022\023\n\006paren"
          + "t\030\001 \001(\tB\003\340A\002\022\026\n\tpage_size\030\002 \001(\005B\003\340A\003\022\027\n\n"
          + "page_token\030\003 \001(\tB\003\340A\003\"|\n\026ListPromotionsR"
          + "esponse\022I\n\npromotions\030\001 \003(\01325.google.sho"
          + "pping.merchant.promotions.v1beta.Promoti"
          + "on\022\027\n\017next_page_token\030\002 \001(\t2\331\005\n\021Promotio"
          + "nsService\022\321\001\n\017InsertPromotion\022B.google.s"
          + "hopping.merchant.promotions.v1beta.Inser"
          + "tPromotionRequest\0325.google.shopping.merc"
          + "hant.promotions.v1beta.Promotion\"C\202\323\344\223\002="
          + "\"8/promotions/v1beta/{parent=accounts/*}"
          + "/promotions:insert:\001*\022\310\001\n\014GetPromotion\022?"
          + ".google.shopping.merchant.promotions.v1b"
          + "eta.GetPromotionRequest\0325.google.shoppin"
          + "g.merchant.promotions.v1beta.Promotion\"@"
          + "\332A\004name\202\323\344\223\0023\0221/promotions/v1beta/{name="
          + "accounts/*/promotions/*}\022\333\001\n\016ListPromoti"
          + "ons\022A.google.shopping.merchant.promotion"
          + "s.v1beta.ListPromotionsRequest\032B.google."
          + "shopping.merchant.promotions.v1beta.List"
          + "PromotionsResponse\"B\332A\006parent\202\323\344\223\0023\0221/pr"
          + "omotions/v1beta/{parent=accounts/*}/prom"
          + "otions\032G\312A\032merchantapi.googleapis.com\322A\'"
          + "https://www.googleapis.com/auth/contentB"
          + "\324\001\n.com.google.shopping.merchant.promoti"
          + "ons.v1betaB\017PromotionsProtoP\001ZTcloud.goo"
          + "gle.com/go/shopping/merchant/promotions/"
          + "apiv1beta/promotionspb;promotionspb\352A8\n\""
          + "merchantapi.googleapis.com/Account\022\022acco"
          + "unts/{account}b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.AnnotationsProto.getDescriptor(),
              com.google.api.ClientProto.getDescriptor(),
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.shopping.merchant.promotions.v1beta.PromotionsCommonProto.getDescriptor(),
              com.google.shopping.type.TypesProto.getDescriptor(),
            });
    internal_static_google_shopping_merchant_promotions_v1beta_Promotion_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_shopping_merchant_promotions_v1beta_Promotion_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_shopping_merchant_promotions_v1beta_Promotion_descriptor,
            new java.lang.String[] {
              "Name",
              "PromotionId",
              "ContentLanguage",
              "TargetCountry",
              "RedemptionChannel",
              "DataSource",
              "Attributes",
              "CustomAttributes",
              "PromotionStatus",
              "VersionNumber",
            });
    internal_static_google_shopping_merchant_promotions_v1beta_InsertPromotionRequest_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_shopping_merchant_promotions_v1beta_InsertPromotionRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_shopping_merchant_promotions_v1beta_InsertPromotionRequest_descriptor,
            new java.lang.String[] {
              "Parent", "Promotion", "DataSource",
            });
    internal_static_google_shopping_merchant_promotions_v1beta_GetPromotionRequest_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_shopping_merchant_promotions_v1beta_GetPromotionRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_shopping_merchant_promotions_v1beta_GetPromotionRequest_descriptor,
            new java.lang.String[] {
              "Name",
            });
    internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsRequest_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsRequest_descriptor,
            new java.lang.String[] {
              "Parent", "PageSize", "PageToken",
            });
    internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsResponse_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_shopping_merchant_promotions_v1beta_ListPromotionsResponse_descriptor,
            new java.lang.String[] {
              "Promotions", "NextPageToken",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ClientProto.defaultHost);
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.AnnotationsProto.http);
    registry.add(com.google.api.ClientProto.methodSignature);
    registry.add(com.google.api.ClientProto.oauthScopes);
    registry.add(com.google.api.ResourceProto.resource);
    registry.add(com.google.api.ResourceProto.resourceDefinition);
    registry.add(com.google.api.ResourceProto.resourceReference);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.AnnotationsProto.getDescriptor();
    com.google.api.ClientProto.getDescriptor();
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.shopping.merchant.promotions.v1beta.PromotionsCommonProto.getDescriptor();
    com.google.shopping.type.TypesProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy