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 ForwardingRuleServiceDirectoryRegistrationOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Service Directory namespace to register the forwarding rule under. 31 * </pre> 32 * 33 * <code>optional string namespace = 178476379;</code> 34 * 35 * @return Whether the namespace field is set. 36 */ hasNamespace()37 boolean hasNamespace(); 38 /** 39 * 40 * 41 * <pre> 42 * Service Directory namespace to register the forwarding rule under. 43 * </pre> 44 * 45 * <code>optional string namespace = 178476379;</code> 46 * 47 * @return The namespace. 48 */ getNamespace()49 java.lang.String getNamespace(); 50 /** 51 * 52 * 53 * <pre> 54 * Service Directory namespace to register the forwarding rule under. 55 * </pre> 56 * 57 * <code>optional string namespace = 178476379;</code> 58 * 59 * @return The bytes for namespace. 60 */ getNamespaceBytes()61 com.google.protobuf.ByteString getNamespaceBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * Service Directory service to register the forwarding rule under. 68 * </pre> 69 * 70 * <code>optional string service = 373540533;</code> 71 * 72 * @return Whether the service field is set. 73 */ hasService()74 boolean hasService(); 75 /** 76 * 77 * 78 * <pre> 79 * Service Directory service to register the forwarding rule under. 80 * </pre> 81 * 82 * <code>optional string service = 373540533;</code> 83 * 84 * @return The service. 85 */ getService()86 java.lang.String getService(); 87 /** 88 * 89 * 90 * <pre> 91 * Service Directory service to register the forwarding rule under. 92 * </pre> 93 * 94 * <code>optional string service = 373540533;</code> 95 * 96 * @return The bytes for service. 97 */ getServiceBytes()98 com.google.protobuf.ByteString getServiceBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region. 105 * </pre> 106 * 107 * <code>optional string service_directory_region = 74030416;</code> 108 * 109 * @return Whether the serviceDirectoryRegion field is set. 110 */ hasServiceDirectoryRegion()111 boolean hasServiceDirectoryRegion(); 112 /** 113 * 114 * 115 * <pre> 116 * [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region. 117 * </pre> 118 * 119 * <code>optional string service_directory_region = 74030416;</code> 120 * 121 * @return The serviceDirectoryRegion. 122 */ getServiceDirectoryRegion()123 java.lang.String getServiceDirectoryRegion(); 124 /** 125 * 126 * 127 * <pre> 128 * [Optional] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region. 129 * </pre> 130 * 131 * <code>optional string service_directory_region = 74030416;</code> 132 * 133 * @return The bytes for serviceDirectoryRegion. 134 */ getServiceDirectoryRegionBytes()135 com.google.protobuf.ByteString getServiceDirectoryRegionBytes(); 136 } 137