• 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/dialogflow/v2/version.proto
18 
19 package com.google.cloud.dialogflow.v2;
20 
21 public interface VersionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.Version)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The unique identifier of this agent version.
31    * Supported formats:
32    * - `projects/&lt;Project ID&gt;/agent/versions/&lt;Version ID&gt;`
33    * - `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agent/versions/&lt;Version
34    *   ID&gt;`
35    * </pre>
36    *
37    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
38    *
39    * @return The name.
40    */
getName()41   java.lang.String getName();
42   /**
43    *
44    *
45    * <pre>
46    * Output only. The unique identifier of this agent version.
47    * Supported formats:
48    * - `projects/&lt;Project ID&gt;/agent/versions/&lt;Version ID&gt;`
49    * - `projects/&lt;Project ID&gt;/locations/&lt;Location ID&gt;/agent/versions/&lt;Version
50    *   ID&gt;`
51    * </pre>
52    *
53    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
54    *
55    * @return The bytes for name.
56    */
getNameBytes()57   com.google.protobuf.ByteString getNameBytes();
58 
59   /**
60    *
61    *
62    * <pre>
63    * Optional. The developer-provided description of this version.
64    * </pre>
65    *
66    * <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
67    *
68    * @return The description.
69    */
getDescription()70   java.lang.String getDescription();
71   /**
72    *
73    *
74    * <pre>
75    * Optional. The developer-provided description of this version.
76    * </pre>
77    *
78    * <code>string description = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
79    *
80    * @return The bytes for description.
81    */
getDescriptionBytes()82   com.google.protobuf.ByteString getDescriptionBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * Output only. The sequential number of this version. This field is read-only
89    * which means it cannot be set by create and update methods.
90    * </pre>
91    *
92    * <code>int32 version_number = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
93    *
94    * @return The versionNumber.
95    */
getVersionNumber()96   int getVersionNumber();
97 
98   /**
99    *
100    *
101    * <pre>
102    * Output only. The creation time of this version. This field is read-only,
103    * i.e., it cannot be set by create and update methods.
104    * </pre>
105    *
106    * <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
107    * </code>
108    *
109    * @return Whether the createTime field is set.
110    */
hasCreateTime()111   boolean hasCreateTime();
112   /**
113    *
114    *
115    * <pre>
116    * Output only. The creation time of this version. This field is read-only,
117    * i.e., it cannot be set by create and update methods.
118    * </pre>
119    *
120    * <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
121    * </code>
122    *
123    * @return The createTime.
124    */
getCreateTime()125   com.google.protobuf.Timestamp getCreateTime();
126   /**
127    *
128    *
129    * <pre>
130    * Output only. The creation time of this version. This field is read-only,
131    * i.e., it cannot be set by create and update methods.
132    * </pre>
133    *
134    * <code>.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
135    * </code>
136    */
getCreateTimeOrBuilder()137   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
138 
139   /**
140    *
141    *
142    * <pre>
143    * Output only. The status of this version. This field is read-only and cannot
144    * be set by create and update methods.
145    * </pre>
146    *
147    * <code>
148    * .google.cloud.dialogflow.v2.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
149    * </code>
150    *
151    * @return The enum numeric value on the wire for status.
152    */
getStatusValue()153   int getStatusValue();
154   /**
155    *
156    *
157    * <pre>
158    * Output only. The status of this version. This field is read-only and cannot
159    * be set by create and update methods.
160    * </pre>
161    *
162    * <code>
163    * .google.cloud.dialogflow.v2.Version.VersionStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
164    * </code>
165    *
166    * @return The status.
167    */
getStatus()168   com.google.cloud.dialogflow.v2.Version.VersionStatus getStatus();
169 }
170