• 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/iot/v1/resources.proto
18 
19 package com.google.cloud.iot.v1;
20 
21 public interface PublicKeyCertificateOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.PublicKeyCertificate)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The certificate format.
31    * </pre>
32    *
33    * <code>.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;</code>
34    *
35    * @return The enum numeric value on the wire for format.
36    */
getFormatValue()37   int getFormatValue();
38   /**
39    *
40    *
41    * <pre>
42    * The certificate format.
43    * </pre>
44    *
45    * <code>.google.cloud.iot.v1.PublicKeyCertificateFormat format = 1;</code>
46    *
47    * @return The format.
48    */
getFormat()49   com.google.cloud.iot.v1.PublicKeyCertificateFormat getFormat();
50 
51   /**
52    *
53    *
54    * <pre>
55    * The certificate data.
56    * </pre>
57    *
58    * <code>string certificate = 2;</code>
59    *
60    * @return The certificate.
61    */
getCertificate()62   java.lang.String getCertificate();
63   /**
64    *
65    *
66    * <pre>
67    * The certificate data.
68    * </pre>
69    *
70    * <code>string certificate = 2;</code>
71    *
72    * @return The bytes for certificate.
73    */
getCertificateBytes()74   com.google.protobuf.ByteString getCertificateBytes();
75 
76   /**
77    *
78    *
79    * <pre>
80    * [Output only] The certificate details. Used only for X.509 certificates.
81    * </pre>
82    *
83    * <code>.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;</code>
84    *
85    * @return Whether the x509Details field is set.
86    */
hasX509Details()87   boolean hasX509Details();
88   /**
89    *
90    *
91    * <pre>
92    * [Output only] The certificate details. Used only for X.509 certificates.
93    * </pre>
94    *
95    * <code>.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;</code>
96    *
97    * @return The x509Details.
98    */
getX509Details()99   com.google.cloud.iot.v1.X509CertificateDetails getX509Details();
100   /**
101    *
102    *
103    * <pre>
104    * [Output only] The certificate details. Used only for X.509 certificates.
105    * </pre>
106    *
107    * <code>.google.cloud.iot.v1.X509CertificateDetails x509_details = 3;</code>
108    */
getX509DetailsOrBuilder()109   com.google.cloud.iot.v1.X509CertificateDetailsOrBuilder getX509DetailsOrBuilder();
110 }
111