public final class NetworkEndpointGroupAppEngine extends GeneratedMessageV3 implements NetworkEndpointGroupAppEngineOrBuilder
Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.
Protobuf type google.cloud.compute.v1.NetworkEndpointGroupAppEngine
Static Fields
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value
URL_MASK_FIELD_NUMBER
public static final int URL_MASK_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NetworkEndpointGroupAppEngine getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NetworkEndpointGroupAppEngine.Builder newBuilder()
Returns
newBuilder(NetworkEndpointGroupAppEngine prototype)
public static NetworkEndpointGroupAppEngine.Builder newBuilder(NetworkEndpointGroupAppEngine prototype)
Parameter
Returns
public static NetworkEndpointGroupAppEngine parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkEndpointGroupAppEngine parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NetworkEndpointGroupAppEngine parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkEndpointGroupAppEngine parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NetworkEndpointGroupAppEngine parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkEndpointGroupAppEngine parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkEndpointGroupAppEngine parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NetworkEndpointGroupAppEngine parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkEndpointGroupAppEngine parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkEndpointGroupAppEngine parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NetworkEndpointGroupAppEngine parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkEndpointGroupAppEngine parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NetworkEndpointGroupAppEngine> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NetworkEndpointGroupAppEngine getDefaultInstanceForType()
Returns
getParserForType()
public Parser<NetworkEndpointGroupAppEngine> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getService()
public String getService()
Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
optional string service = 373540533;
Returns
Type | Description |
String | The service.
|
getServiceBytes()
public ByteString getServiceBytes()
Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
optional string service = 373540533;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUrlMask()
public String getUrlMask()
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 "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
optional string url_mask = 103352252;
Returns
Type | Description |
String | The urlMask.
|
getUrlMaskBytes()
public ByteString getUrlMaskBytes()
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 "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
optional string url_mask = 103352252;
Returns
getVersion()
public String getVersion()
Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
optional string version = 351608024;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
optional string version = 351608024;
Returns
hasService()
public boolean hasService()
Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service".
optional string service = 373540533;
Returns
Type | Description |
boolean | Whether the service field is set.
|
hasUrlMask()
public boolean hasUrlMask()
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 "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively.
optional string url_mask = 103352252;
Returns
Type | Description |
boolean | Whether the urlMask field is set.
|
hasVersion()
public boolean hasVersion()
Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2".
optional string version = 351608024;
Returns
Type | Description |
boolean | Whether the version field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NetworkEndpointGroupAppEngine.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkEndpointGroupAppEngine.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NetworkEndpointGroupAppEngine.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions