Send feedback
Class NetworkEndpointGroupAppEngine (1.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.29.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
SERVICE_FIELD_NUMBER
public static final int SERVICE_FIELD_NUMBER
Field Value Type Description int
URL_MASK_FIELD_NUMBER
public static final int URL_MASK_FIELD_NUMBER
Field Value Type Description int
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static NetworkEndpointGroupAppEngine getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static NetworkEndpointGroupAppEngine . Builder newBuilder ()
newBuilder(NetworkEndpointGroupAppEngine prototype)
public static NetworkEndpointGroupAppEngine . Builder newBuilder ( NetworkEndpointGroupAppEngine prototype )
public static NetworkEndpointGroupAppEngine parseDelimitedFrom ( InputStream input )
public static NetworkEndpointGroupAppEngine parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static NetworkEndpointGroupAppEngine parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkEndpointGroupAppEngine parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static NetworkEndpointGroupAppEngine parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkEndpointGroupAppEngine parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NetworkEndpointGroupAppEngine parseFrom ( CodedInputStream input )
public static NetworkEndpointGroupAppEngine parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NetworkEndpointGroupAppEngine parseFrom ( InputStream input )
public static NetworkEndpointGroupAppEngine parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static NetworkEndpointGroupAppEngine parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkEndpointGroupAppEngine parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<NetworkEndpointGroupAppEngine> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public NetworkEndpointGroupAppEngine getDefaultInstanceForType ()
getParserForType()
public Parser<NetworkEndpointGroupAppEngine> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
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 Type Description ByteString
The bytes for service.
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 "<service>-dot-appname.appspot.com/<version>". 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 "<service>-dot-appname.appspot.com/<version>". 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 ByteString
The bytes for urlMask.
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 Type Description ByteString
The bytes for version.
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 "<service>-dot-appname.appspot.com/<version>". 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 Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public NetworkEndpointGroupAppEngine . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkEndpointGroupAppEngine . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public NetworkEndpointGroupAppEngine . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]