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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface RegionSetPolicyRequestOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RegionSetPolicyRequest) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. 31 * </pre> 32 * 33 * <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code> 34 */ getBindingsList()35 java.util.List<com.google.cloud.compute.v1.Binding> getBindingsList(); 36 /** 37 * 38 * 39 * <pre> 40 * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. 41 * </pre> 42 * 43 * <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code> 44 */ getBindings(int index)45 com.google.cloud.compute.v1.Binding getBindings(int index); 46 /** 47 * 48 * 49 * <pre> 50 * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. 51 * </pre> 52 * 53 * <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code> 54 */ getBindingsCount()55 int getBindingsCount(); 56 /** 57 * 58 * 59 * <pre> 60 * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. 61 * </pre> 62 * 63 * <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code> 64 */ getBindingsOrBuilderList()65 java.util.List<? extends com.google.cloud.compute.v1.BindingOrBuilder> getBindingsOrBuilderList(); 66 /** 67 * 68 * 69 * <pre> 70 * Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. 71 * </pre> 72 * 73 * <code>repeated .google.cloud.compute.v1.Binding bindings = 403251854;</code> 74 */ getBindingsOrBuilder(int index)75 com.google.cloud.compute.v1.BindingOrBuilder getBindingsOrBuilder(int index); 76 77 /** 78 * 79 * 80 * <pre> 81 * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. 82 * </pre> 83 * 84 * <code>optional string etag = 3123477;</code> 85 * 86 * @return Whether the etag field is set. 87 */ hasEtag()88 boolean hasEtag(); 89 /** 90 * 91 * 92 * <pre> 93 * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. 94 * </pre> 95 * 96 * <code>optional string etag = 3123477;</code> 97 * 98 * @return The etag. 99 */ getEtag()100 java.lang.String getEtag(); 101 /** 102 * 103 * 104 * <pre> 105 * Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. 106 * </pre> 107 * 108 * <code>optional string etag = 3123477;</code> 109 * 110 * @return The bytes for etag. 111 */ getEtagBytes()112 com.google.protobuf.ByteString getEtagBytes(); 113 114 /** 115 * 116 * 117 * <pre> 118 * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. 119 * </pre> 120 * 121 * <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code> 122 * 123 * @return Whether the policy field is set. 124 */ hasPolicy()125 boolean hasPolicy(); 126 /** 127 * 128 * 129 * <pre> 130 * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. 131 * </pre> 132 * 133 * <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code> 134 * 135 * @return The policy. 136 */ getPolicy()137 com.google.cloud.compute.v1.Policy getPolicy(); 138 /** 139 * 140 * 141 * <pre> 142 * REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. 143 * </pre> 144 * 145 * <code>optional .google.cloud.compute.v1.Policy policy = 91071794;</code> 146 */ getPolicyOrBuilder()147 com.google.cloud.compute.v1.PolicyOrBuilder getPolicyOrBuilder(); 148 } 149