• 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/kms/v1/resources.proto
18 
19 package com.google.cloud.kms.v1;
20 
21 public interface KeyRingOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.kms.v1.KeyRing)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Output only. The resource name for the
31    * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
32    * `projects/&#42;&#47;locations/&#42;&#47;keyRings/&#42;`.
33    * </pre>
34    *
35    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
36    *
37    * @return The name.
38    */
getName()39   java.lang.String getName();
40   /**
41    *
42    *
43    * <pre>
44    * Output only. The resource name for the
45    * [KeyRing][google.cloud.kms.v1.KeyRing] in the format
46    * `projects/&#42;&#47;locations/&#42;&#47;keyRings/&#42;`.
47    * </pre>
48    *
49    * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
50    *
51    * @return The bytes for name.
52    */
getNameBytes()53   com.google.protobuf.ByteString getNameBytes();
54 
55   /**
56    *
57    *
58    * <pre>
59    * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
60    * was created.
61    * </pre>
62    *
63    * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
64    * </code>
65    *
66    * @return Whether the createTime field is set.
67    */
hasCreateTime()68   boolean hasCreateTime();
69   /**
70    *
71    *
72    * <pre>
73    * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
74    * was created.
75    * </pre>
76    *
77    * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
78    * </code>
79    *
80    * @return The createTime.
81    */
getCreateTime()82   com.google.protobuf.Timestamp getCreateTime();
83   /**
84    *
85    *
86    * <pre>
87    * Output only. The time at which this [KeyRing][google.cloud.kms.v1.KeyRing]
88    * was created.
89    * </pre>
90    *
91    * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
92    * </code>
93    */
getCreateTimeOrBuilder()94   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
95 }
96