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/asset/v1/asset_service.proto 18 19 package com.google.cloud.asset.v1; 20 21 public interface MoveAnalysisOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.MoveAnalysis) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * The user friendly display name of the analysis. E.g. IAM, organization 31 * policy etc. 32 * </pre> 33 * 34 * <code>string display_name = 1;</code> 35 * 36 * @return The displayName. 37 */ getDisplayName()38 java.lang.String getDisplayName(); 39 /** 40 * 41 * 42 * <pre> 43 * The user friendly display name of the analysis. E.g. IAM, organization 44 * policy etc. 45 * </pre> 46 * 47 * <code>string display_name = 1;</code> 48 * 49 * @return The bytes for displayName. 50 */ getDisplayNameBytes()51 com.google.protobuf.ByteString getDisplayNameBytes(); 52 53 /** 54 * 55 * 56 * <pre> 57 * Analysis result of moving the target resource. 58 * </pre> 59 * 60 * <code>.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;</code> 61 * 62 * @return Whether the analysis field is set. 63 */ hasAnalysis()64 boolean hasAnalysis(); 65 /** 66 * 67 * 68 * <pre> 69 * Analysis result of moving the target resource. 70 * </pre> 71 * 72 * <code>.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;</code> 73 * 74 * @return The analysis. 75 */ getAnalysis()76 com.google.cloud.asset.v1.MoveAnalysisResult getAnalysis(); 77 /** 78 * 79 * 80 * <pre> 81 * Analysis result of moving the target resource. 82 * </pre> 83 * 84 * <code>.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;</code> 85 */ getAnalysisOrBuilder()86 com.google.cloud.asset.v1.MoveAnalysisResultOrBuilder getAnalysisOrBuilder(); 87 88 /** 89 * 90 * 91 * <pre> 92 * Description of error encountered when performing the analysis. 93 * </pre> 94 * 95 * <code>.google.rpc.Status error = 3;</code> 96 * 97 * @return Whether the error field is set. 98 */ hasError()99 boolean hasError(); 100 /** 101 * 102 * 103 * <pre> 104 * Description of error encountered when performing the analysis. 105 * </pre> 106 * 107 * <code>.google.rpc.Status error = 3;</code> 108 * 109 * @return The error. 110 */ getError()111 com.google.rpc.Status getError(); 112 /** 113 * 114 * 115 * <pre> 116 * Description of error encountered when performing the analysis. 117 * </pre> 118 * 119 * <code>.google.rpc.Status error = 3;</code> 120 */ getErrorOrBuilder()121 com.google.rpc.StatusOrBuilder getErrorOrBuilder(); 122 getResultCase()123 public com.google.cloud.asset.v1.MoveAnalysis.ResultCase getResultCase(); 124 } 125