- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class NetworkEndpointGroup.Builder extends GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder> implements NetworkEndpointGroupOrBuilder
Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.
Protobuf type google.cloud.compute.v1.NetworkEndpointGroup
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkEndpointGroup.BuilderImplements
NetworkEndpointGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpointGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkEndpointGroup.Builder |
build()
public NetworkEndpointGroup build()
Type | Description |
NetworkEndpointGroup |
buildPartial()
public NetworkEndpointGroup buildPartial()
Type | Description |
NetworkEndpointGroup |
clear()
public NetworkEndpointGroup.Builder clear()
Type | Description |
NetworkEndpointGroup.Builder |
clearAnnotations()
public NetworkEndpointGroup.Builder clearAnnotations()
Type | Description |
NetworkEndpointGroup.Builder |
clearAppEngine()
public NetworkEndpointGroup.Builder clearAppEngine()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Type | Description |
NetworkEndpointGroup.Builder |
clearCloudFunction()
public NetworkEndpointGroup.Builder clearCloudFunction()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Type | Description |
NetworkEndpointGroup.Builder |
clearCloudRun()
public NetworkEndpointGroup.Builder clearCloudRun()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Type | Description |
NetworkEndpointGroup.Builder |
clearCreationTimestamp()
public NetworkEndpointGroup.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearDefaultPort()
public NetworkEndpointGroup.Builder clearDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearDescription()
public NetworkEndpointGroup.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkEndpointGroup.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
NetworkEndpointGroup.Builder |
clearId()
public NetworkEndpointGroup.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearKind()
public NetworkEndpointGroup.Builder clearKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearName()
public NetworkEndpointGroup.Builder clearName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearNetwork()
public NetworkEndpointGroup.Builder clearNetwork()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearNetworkEndpointType()
public NetworkEndpointGroup.Builder clearNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkEndpointGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
NetworkEndpointGroup.Builder |
clearPscTargetService()
public NetworkEndpointGroup.Builder clearPscTargetService()
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearRegion()
public NetworkEndpointGroup.Builder clearRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearSelfLink()
public NetworkEndpointGroup.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearSize()
public NetworkEndpointGroup.Builder clearSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearSubnetwork()
public NetworkEndpointGroup.Builder clearSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clearZone()
public NetworkEndpointGroup.Builder clearZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
clone()
public NetworkEndpointGroup.Builder clone()
Type | Description |
NetworkEndpointGroup.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Type | Description |
Map<String,String> |
getAnnotationsCount()
public int getAnnotationsCount()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
Type | Description |
String |
getAppEngine()
public NetworkEndpointGroupAppEngine getAppEngine()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Type | Description |
NetworkEndpointGroupAppEngine | The appEngine. |
getAppEngineBuilder()
public NetworkEndpointGroupAppEngine.Builder getAppEngineBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Type | Description |
NetworkEndpointGroupAppEngine.Builder |
getAppEngineOrBuilder()
public NetworkEndpointGroupAppEngineOrBuilder getAppEngineOrBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Type | Description |
NetworkEndpointGroupAppEngineOrBuilder |
getCloudFunction()
public NetworkEndpointGroupCloudFunction getCloudFunction()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Type | Description |
NetworkEndpointGroupCloudFunction | The cloudFunction. |
getCloudFunctionBuilder()
public NetworkEndpointGroupCloudFunction.Builder getCloudFunctionBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Type | Description |
NetworkEndpointGroupCloudFunction.Builder |
getCloudFunctionOrBuilder()
public NetworkEndpointGroupCloudFunctionOrBuilder getCloudFunctionOrBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Type | Description |
NetworkEndpointGroupCloudFunctionOrBuilder |
getCloudRun()
public NetworkEndpointGroupCloudRun getCloudRun()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Type | Description |
NetworkEndpointGroupCloudRun | The cloudRun. |
getCloudRunBuilder()
public NetworkEndpointGroupCloudRun.Builder getCloudRunBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Type | Description |
NetworkEndpointGroupCloudRun.Builder |
getCloudRunOrBuilder()
public NetworkEndpointGroupCloudRunOrBuilder getCloudRunOrBuilder()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Type | Description |
NetworkEndpointGroupCloudRunOrBuilder |
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ByteString | The bytes for creationTimestamp. |
getDefaultInstanceForType()
public NetworkEndpointGroup getDefaultInstanceForType()
Type | Description |
NetworkEndpointGroup |
getDefaultPort()
public int getDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;
Type | Description |
int | The defaultPort. |
getDescription()
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getName()
public String getName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public String getNetwork()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;
Type | Description |
ByteString | The bytes for network. |
getNetworkEndpointType()
public String getNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;
Type | Description |
String | The networkEndpointType. |
getNetworkEndpointTypeBytes()
public ByteString getNetworkEndpointTypeBytes()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;
Type | Description |
ByteString | The bytes for networkEndpointType. |
getPscTargetService()
public String getPscTargetService()
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;
Type | Description |
String | The pscTargetService. |
getPscTargetServiceBytes()
public ByteString getPscTargetServiceBytes()
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;
Type | Description |
ByteString | The bytes for pscTargetService. |
getRegion()
public String getRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
Type | Description |
String | The region. |
getRegionBytes()
public ByteString getRegionBytes()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
Type | Description |
ByteString | The bytes for region. |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
getSize()
public int getSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;
Type | Description |
int | The size. |
getSubnetwork()
public String getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
Type | Description |
String | The subnetwork. |
getSubnetworkBytes()
public ByteString getSubnetworkBytes()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
Type | Description |
ByteString | The bytes for subnetwork. |
getZone()
public String getZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
Type | Description |
String | The zone. |
getZoneBytes()
public ByteString getZoneBytes()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
Type | Description |
ByteString | The bytes for zone. |
hasAppEngine()
public boolean hasAppEngine()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Type | Description |
boolean | Whether the appEngine field is set. |
hasCloudFunction()
public boolean hasCloudFunction()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Type | Description |
boolean | Whether the cloudFunction field is set. |
hasCloudRun()
public boolean hasCloudRun()
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Type | Description |
boolean | Whether the cloudRun field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDefaultPort()
public boolean hasDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;
Type | Description |
boolean | Whether the defaultPort field is set. |
hasDescription()
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
hasId()
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasName()
public boolean hasName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Type | Description |
boolean | Whether the name field is set. |
hasNetwork()
public boolean hasNetwork()
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;
Type | Description |
boolean | Whether the network field is set. |
hasNetworkEndpointType()
public boolean hasNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;
Type | Description |
boolean | Whether the networkEndpointType field is set. |
hasPscTargetService()
public boolean hasPscTargetService()
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;
Type | Description |
boolean | Whether the pscTargetService field is set. |
hasRegion()
public boolean hasRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
Type | Description |
boolean | Whether the region field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
hasSize()
public boolean hasSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;
Type | Description |
boolean | Whether the size field is set. |
hasSubnetwork()
public boolean hasSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
Type | Description |
boolean | Whether the subnetwork field is set. |
hasZone()
public boolean hasZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
Type | Description |
boolean | Whether the zone field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAppEngine(NetworkEndpointGroupAppEngine value)
public NetworkEndpointGroup.Builder mergeAppEngine(NetworkEndpointGroupAppEngine value)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Name | Description |
value | NetworkEndpointGroupAppEngine |
Type | Description |
NetworkEndpointGroup.Builder |
mergeCloudFunction(NetworkEndpointGroupCloudFunction value)
public NetworkEndpointGroup.Builder mergeCloudFunction(NetworkEndpointGroupCloudFunction value)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Name | Description |
value | NetworkEndpointGroupCloudFunction |
Type | Description |
NetworkEndpointGroup.Builder |
mergeCloudRun(NetworkEndpointGroupCloudRun value)
public NetworkEndpointGroup.Builder mergeCloudRun(NetworkEndpointGroupCloudRun value)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Name | Description |
value | NetworkEndpointGroupCloudRun |
Type | Description |
NetworkEndpointGroup.Builder |
mergeFrom(NetworkEndpointGroup other)
public NetworkEndpointGroup.Builder mergeFrom(NetworkEndpointGroup other)
Name | Description |
other | NetworkEndpointGroup |
Type | Description |
NetworkEndpointGroup.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkEndpointGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
NetworkEndpointGroup.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkEndpointGroup.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
NetworkEndpointGroup.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpointGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkEndpointGroup.Builder |
putAllAnnotations(Map<String,String> values)
public NetworkEndpointGroup.Builder putAllAnnotations(Map<String,String> values)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Name | Description |
values | Map<String,String> |
Type | Description |
NetworkEndpointGroup.Builder |
putAnnotations(String key, String value)
public NetworkEndpointGroup.Builder putAnnotations(String key, String value)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
value | String |
Type | Description |
NetworkEndpointGroup.Builder |
removeAnnotations(String key)
public NetworkEndpointGroup.Builder removeAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
Name | Description |
key | String |
Type | Description |
NetworkEndpointGroup.Builder |
setAppEngine(NetworkEndpointGroupAppEngine value)
public NetworkEndpointGroup.Builder setAppEngine(NetworkEndpointGroupAppEngine value)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Name | Description |
value | NetworkEndpointGroupAppEngine |
Type | Description |
NetworkEndpointGroup.Builder |
setAppEngine(NetworkEndpointGroupAppEngine.Builder builderForValue)
public NetworkEndpointGroup.Builder setAppEngine(NetworkEndpointGroupAppEngine.Builder builderForValue)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupAppEngine app_engine = 340788768;
Name | Description |
builderForValue | NetworkEndpointGroupAppEngine.Builder |
Type | Description |
NetworkEndpointGroup.Builder |
setCloudFunction(NetworkEndpointGroupCloudFunction value)
public NetworkEndpointGroup.Builder setCloudFunction(NetworkEndpointGroupCloudFunction value)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Name | Description |
value | NetworkEndpointGroupCloudFunction |
Type | Description |
NetworkEndpointGroup.Builder |
setCloudFunction(NetworkEndpointGroupCloudFunction.Builder builderForValue)
public NetworkEndpointGroup.Builder setCloudFunction(NetworkEndpointGroupCloudFunction.Builder builderForValue)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudFunction cloud_function = 519893666;
Name | Description |
builderForValue | NetworkEndpointGroupCloudFunction.Builder |
Type | Description |
NetworkEndpointGroup.Builder |
setCloudRun(NetworkEndpointGroupCloudRun value)
public NetworkEndpointGroup.Builder setCloudRun(NetworkEndpointGroupCloudRun value)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Name | Description |
value | NetworkEndpointGroupCloudRun |
Type | Description |
NetworkEndpointGroup.Builder |
setCloudRun(NetworkEndpointGroupCloudRun.Builder builderForValue)
public NetworkEndpointGroup.Builder setCloudRun(NetworkEndpointGroupCloudRun.Builder builderForValue)
Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set.
optional .google.cloud.compute.v1.NetworkEndpointGroupCloudRun cloud_run = 111060353;
Name | Description |
builderForValue | NetworkEndpointGroupCloudRun.Builder |
Type | Description |
NetworkEndpointGroup.Builder |
setCreationTimestamp(String value)
public NetworkEndpointGroup.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | String The creationTimestamp to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public NetworkEndpointGroup.Builder setCreationTimestampBytes(ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | ByteString The bytes for creationTimestamp to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setDefaultPort(int value)
public NetworkEndpointGroup.Builder setDefaultPort(int value)
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;
Name | Description |
value | int The defaultPort to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setDescription(String value)
public NetworkEndpointGroup.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | String The description to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public NetworkEndpointGroup.Builder setDescriptionBytes(ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpointGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
NetworkEndpointGroup.Builder |
setId(long value)
public NetworkEndpointGroup.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Name | Description |
value | long The id to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setKind(String value)
public NetworkEndpointGroup.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public NetworkEndpointGroup.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setName(String value)
public NetworkEndpointGroup.Builder setName(String value)
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Name | Description |
value | String The name to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public NetworkEndpointGroup.Builder setNameBytes(ByteString value)
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setNetwork(String value)
public NetworkEndpointGroup.Builder setNetwork(String value)
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;
Name | Description |
value | String The network to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public NetworkEndpointGroup.Builder setNetworkBytes(ByteString value)
The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.
optional string network = 232872494;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setNetworkEndpointType(String value)
public NetworkEndpointGroup.Builder setNetworkEndpointType(String value)
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;
Name | Description |
value | String The networkEndpointType to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setNetworkEndpointTypeBytes(ByteString value)
public NetworkEndpointGroup.Builder setNetworkEndpointTypeBytes(ByteString value)
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. Check the NetworkEndpointType enum for the list of possible values.
optional string network_endpoint_type = 118301523;
Name | Description |
value | ByteString The bytes for networkEndpointType to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setPscTargetService(String value)
public NetworkEndpointGroup.Builder setPscTargetService(String value)
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;
Name | Description |
value | String The pscTargetService to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setPscTargetServiceBytes(ByteString value)
public NetworkEndpointGroup.Builder setPscTargetServiceBytes(ByteString value)
The target service url used to set up private service connection to a Google API. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;
Name | Description |
value | ByteString The bytes for pscTargetService to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setRegion(String value)
public NetworkEndpointGroup.Builder setRegion(String value)
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
Name | Description |
value | String The region to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setRegionBytes(ByteString value)
public NetworkEndpointGroup.Builder setRegionBytes(ByteString value)
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;
Name | Description |
value | ByteString The bytes for region to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkEndpointGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
NetworkEndpointGroup.Builder |
setSelfLink(String value)
public NetworkEndpointGroup.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | String The selfLink to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public NetworkEndpointGroup.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setSize(int value)
public NetworkEndpointGroup.Builder setSize(int value)
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;
Name | Description |
value | int The size to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setSubnetwork(String value)
public NetworkEndpointGroup.Builder setSubnetwork(String value)
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
Name | Description |
value | String The subnetwork to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setSubnetworkBytes(ByteString value)
public NetworkEndpointGroup.Builder setSubnetworkBytes(ByteString value)
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;
Name | Description |
value | ByteString The bytes for subnetwork to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpointGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
NetworkEndpointGroup.Builder |
setZone(String value)
public NetworkEndpointGroup.Builder setZone(String value)
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
Name | Description |
value | String The zone to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |
setZoneBytes(ByteString value)
public NetworkEndpointGroup.Builder setZoneBytes(ByteString value)
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;
Name | Description |
value | ByteString The bytes for zone to set. |
Type | Description |
NetworkEndpointGroup.Builder | This builder for chaining. |