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 RegistryCredentialOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.iot.v1.RegistryCredential) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * A public key certificate used to verify the device credentials. 31 * </pre> 32 * 33 * <code>.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;</code> 34 * 35 * @return Whether the publicKeyCertificate field is set. 36 */ hasPublicKeyCertificate()37 boolean hasPublicKeyCertificate(); 38 /** 39 * 40 * 41 * <pre> 42 * A public key certificate used to verify the device credentials. 43 * </pre> 44 * 45 * <code>.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;</code> 46 * 47 * @return The publicKeyCertificate. 48 */ getPublicKeyCertificate()49 com.google.cloud.iot.v1.PublicKeyCertificate getPublicKeyCertificate(); 50 /** 51 * 52 * 53 * <pre> 54 * A public key certificate used to verify the device credentials. 55 * </pre> 56 * 57 * <code>.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;</code> 58 */ getPublicKeyCertificateOrBuilder()59 com.google.cloud.iot.v1.PublicKeyCertificateOrBuilder getPublicKeyCertificateOrBuilder(); 60 getCredentialCase()61 public com.google.cloud.iot.v1.RegistryCredential.CredentialCase getCredentialCase(); 62 } 63