• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/retail/v2/promotion.proto
18 
19 package com.google.cloud.retail.v2;
20 
21 public interface PromotionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.Promotion)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * ID of the promotion. For example, "free gift".
31    * The value must be a UTF-8 encoded string with a length limit of 128
32    * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
33    * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
34    * returned.
35    * Google Merchant Center property
36    * [promotion](https://support.google.com/merchants/answer/7050148).
37    * </pre>
38    *
39    * <code>string promotion_id = 1;</code>
40    *
41    * @return The promotionId.
42    */
getPromotionId()43   java.lang.String getPromotionId();
44   /**
45    *
46    *
47    * <pre>
48    * ID of the promotion. For example, "free gift".
49    * The value must be a UTF-8 encoded string with a length limit of 128
50    * characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example,
51    * id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is
52    * returned.
53    * Google Merchant Center property
54    * [promotion](https://support.google.com/merchants/answer/7050148).
55    * </pre>
56    *
57    * <code>string promotion_id = 1;</code>
58    *
59    * @return The bytes for promotionId.
60    */
getPromotionIdBytes()61   com.google.protobuf.ByteString getPromotionIdBytes();
62 }
63