• 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/channel/v1/entitlements.proto
18 
19 package com.google.cloud.channel.v1;
20 
21 public interface TrialSettingsOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.TrialSettings)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Determines if the entitlement is in a trial or not:
31    * * `true` - The entitlement is in trial.
32    * * `false` - The entitlement is not in trial.
33    * </pre>
34    *
35    * <code>bool trial = 1;</code>
36    *
37    * @return The trial.
38    */
getTrial()39   boolean getTrial();
40 
41   /**
42    *
43    *
44    * <pre>
45    * Date when the trial ends. The value is in milliseconds
46    * using the UNIX Epoch format. See an example [Epoch
47    * converter](https://www.epochconverter.com).
48    * </pre>
49    *
50    * <code>.google.protobuf.Timestamp end_time = 2;</code>
51    *
52    * @return Whether the endTime field is set.
53    */
hasEndTime()54   boolean hasEndTime();
55   /**
56    *
57    *
58    * <pre>
59    * Date when the trial ends. The value is in milliseconds
60    * using the UNIX Epoch format. See an example [Epoch
61    * converter](https://www.epochconverter.com).
62    * </pre>
63    *
64    * <code>.google.protobuf.Timestamp end_time = 2;</code>
65    *
66    * @return The endTime.
67    */
getEndTime()68   com.google.protobuf.Timestamp getEndTime();
69   /**
70    *
71    *
72    * <pre>
73    * Date when the trial ends. The value is in milliseconds
74    * using the UNIX Epoch format. See an example [Epoch
75    * converter](https://www.epochconverter.com).
76    * </pre>
77    *
78    * <code>.google.protobuf.Timestamp end_time = 2;</code>
79    */
getEndTimeOrBuilder()80   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
81 }
82