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)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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