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 NetworkEndpointGroupAppEngineOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NetworkEndpointGroupAppEngine) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". 31 * </pre> 32 * 33 * <code>optional string service = 373540533;</code> 34 * 35 * @return Whether the service field is set. 36 */ hasService()37 boolean hasService(); 38 /** 39 * 40 * 41 * <pre> 42 * Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". 43 * </pre> 44 * 45 * <code>optional string service = 373540533;</code> 46 * 47 * @return The service. 48 */ getService()49 java.lang.String getService(); 50 /** 51 * 52 * 53 * <pre> 54 * Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". 55 * </pre> 56 * 57 * <code>optional string service = 373540533;</code> 58 * 59 * @return The bytes for service. 60 */ getServiceBytes()61 com.google.protobuf.ByteString getServiceBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. 68 * </pre> 69 * 70 * <code>optional string url_mask = 103352252;</code> 71 * 72 * @return Whether the urlMask field is set. 73 */ hasUrlMask()74 boolean hasUrlMask(); 75 /** 76 * 77 * 78 * <pre> 79 * A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. 80 * </pre> 81 * 82 * <code>optional string url_mask = 103352252;</code> 83 * 84 * @return The urlMask. 85 */ getUrlMask()86 java.lang.String getUrlMask(); 87 /** 88 * 89 * 90 * <pre> 91 * A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "<service>-dot-appname.appspot.com/<version>". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. 92 * </pre> 93 * 94 * <code>optional string url_mask = 103352252;</code> 95 * 96 * @return The bytes for urlMask. 97 */ getUrlMaskBytes()98 com.google.protobuf.ByteString getUrlMaskBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". 105 * </pre> 106 * 107 * <code>optional string version = 351608024;</code> 108 * 109 * @return Whether the version field is set. 110 */ hasVersion()111 boolean hasVersion(); 112 /** 113 * 114 * 115 * <pre> 116 * Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". 117 * </pre> 118 * 119 * <code>optional string version = 351608024;</code> 120 * 121 * @return The version. 122 */ getVersion()123 java.lang.String getVersion(); 124 /** 125 * 126 * 127 * <pre> 128 * Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". 129 * </pre> 130 * 131 * <code>optional string version = 351608024;</code> 132 * 133 * @return The bytes for version. 134 */ getVersionBytes()135 com.google.protobuf.ByteString getVersionBytes(); 136 } 137