Package com.google.cloud.compute.v1
Class NetworkEndpointGroup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
- com.google.cloud.compute.v1.NetworkEndpointGroup.Builder
-
- All Implemented Interfaces:
NetworkEndpointGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkEndpointGroup
public static final class NetworkEndpointGroup.Builder extends com.google.protobuf.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 typegoogle.cloud.compute.v1.NetworkEndpointGroup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NetworkEndpointGroup.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkEndpointGroupbuild()NetworkEndpointGroupbuildPartial()NetworkEndpointGroup.Builderclear()NetworkEndpointGroup.BuilderclearAnnotations()NetworkEndpointGroup.BuilderclearAppEngine()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuilderclearCloudFunction()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuilderclearCloudRun()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuilderclearCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.NetworkEndpointGroup.BuilderclearDefaultPort()The default port used if the port number is not specified in the network endpoint.NetworkEndpointGroup.BuilderclearDescription()An optional description of this resource.NetworkEndpointGroup.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NetworkEndpointGroup.BuilderclearId()[Output Only] The unique identifier for the resource.NetworkEndpointGroup.BuilderclearKind()[Output Only] Type of the resource.NetworkEndpointGroup.BuilderclearName()Name of the resource; provided by the client when the resource is created.NetworkEndpointGroup.BuilderclearNetwork()The URL of the network to which all network endpoints in the NEG belong.NetworkEndpointGroup.BuilderclearNetworkEndpointType()Type of network endpoints in this network endpoint group.NetworkEndpointGroup.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NetworkEndpointGroup.BuilderclearPscData()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroup.BuilderclearPscTargetService()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.NetworkEndpointGroup.BuilderclearRegion()[Output Only] The URL of the region where the network endpoint group is located.NetworkEndpointGroup.BuilderclearSelfLink()[Output Only] Server-defined URL for the resource.NetworkEndpointGroup.BuilderclearSize()[Output only] Number of network endpoints in the network endpoint group.NetworkEndpointGroup.BuilderclearSubnetwork()Optional URL of the subnetwork to which all network endpoints in the NEG belong.NetworkEndpointGroup.BuilderclearZone()[Output Only] The URL of the zone where the network endpoint group is located.NetworkEndpointGroup.Builderclone()booleancontainsAnnotations(String key)Metadata defined as annotations on the network endpoint group.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Metadata defined as annotations on the network endpoint group.Map<String,String>getAnnotationsMap()Metadata defined as annotations on the network endpoint group.StringgetAnnotationsOrDefault(String key, String defaultValue)Metadata defined as annotations on the network endpoint group.StringgetAnnotationsOrThrow(String key)Metadata defined as annotations on the network endpoint group.NetworkEndpointGroupAppEnginegetAppEngine()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupAppEngine.BuildergetAppEngineBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupAppEngineOrBuildergetAppEngineOrBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunctiongetCloudFunction()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunction.BuildergetCloudFunctionBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudFunctionOrBuildergetCloudFunctionOrBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRungetCloudRun()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRun.BuildergetCloudRunBuilder()Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroupCloudRunOrBuildergetCloudRunOrBuilder()Only valid when networkEndpointType is "SERVERLESS".StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.NetworkEndpointGroupgetDefaultInstanceForType()intgetDefaultPort()The default port used if the port number is not specified in the network endpoint.StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.Map<String,String>getMutableAnnotations()Deprecated.StringgetName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringgetNameBytes()Name of the resource; provided by the client when the resource is created.StringgetNetwork()The URL of the network to which all network endpoints in the NEG belong.com.google.protobuf.ByteStringgetNetworkBytes()The URL of the network to which all network endpoints in the NEG belong.StringgetNetworkEndpointType()Type of network endpoints in this network endpoint group.com.google.protobuf.ByteStringgetNetworkEndpointTypeBytes()Type of network endpoints in this network endpoint group.NetworkEndpointGroupPscDatagetPscData()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroupPscData.BuildergetPscDataBuilder()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroupPscDataOrBuildergetPscDataOrBuilder()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;StringgetPscTargetService()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.com.google.protobuf.ByteStringgetPscTargetServiceBytes()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.StringgetRegion()[Output Only] The URL of the region where the network endpoint group is located.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The URL of the region where the network endpoint group is located.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.intgetSize()[Output only] Number of network endpoints in the network endpoint group.StringgetSubnetwork()Optional URL of the subnetwork to which all network endpoints in the NEG belong.com.google.protobuf.ByteStringgetSubnetworkBytes()Optional URL of the subnetwork to which all network endpoints in the NEG belong.StringgetZone()[Output Only] The URL of the zone where the network endpoint group is located.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The URL of the zone where the network endpoint group is located.booleanhasAppEngine()Only valid when networkEndpointType is "SERVERLESS".booleanhasCloudFunction()Only valid when networkEndpointType is "SERVERLESS".booleanhasCloudRun()Only valid when networkEndpointType is "SERVERLESS".booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDefaultPort()The default port used if the port number is not specified in the network endpoint.booleanhasDescription()An optional description of this resource.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] Type of the resource.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanhasNetwork()The URL of the network to which all network endpoints in the NEG belong.booleanhasNetworkEndpointType()Type of network endpoints in this network endpoint group.booleanhasPscData()optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;booleanhasPscTargetService()The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.booleanhasRegion()[Output Only] The URL of the region where the network endpoint group is located.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasSize()[Output only] Number of network endpoints in the network endpoint group.booleanhasSubnetwork()Optional URL of the subnetwork to which all network endpoints in the NEG belong.booleanhasZone()[Output Only] The URL of the zone where the network endpoint group is located.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()NetworkEndpointGroup.BuildermergeAppEngine(NetworkEndpointGroupAppEngine value)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildermergeCloudFunction(NetworkEndpointGroupCloudFunction value)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildermergeCloudRun(NetworkEndpointGroupCloudRun value)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildermergeFrom(NetworkEndpointGroup other)NetworkEndpointGroup.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NetworkEndpointGroup.BuildermergeFrom(com.google.protobuf.Message other)NetworkEndpointGroup.BuildermergePscData(NetworkEndpointGroupPscData value)optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NetworkEndpointGroup.BuilderputAllAnnotations(Map<String,String> values)Metadata defined as annotations on the network endpoint group.NetworkEndpointGroup.BuilderputAnnotations(String key, String value)Metadata defined as annotations on the network endpoint group.NetworkEndpointGroup.BuilderremoveAnnotations(String key)Metadata defined as annotations on the network endpoint group.NetworkEndpointGroup.BuildersetAppEngine(NetworkEndpointGroupAppEngine value)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildersetAppEngine(NetworkEndpointGroupAppEngine.Builder builderForValue)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildersetCloudFunction(NetworkEndpointGroupCloudFunction value)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildersetCloudFunction(NetworkEndpointGroupCloudFunction.Builder builderForValue)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildersetCloudRun(NetworkEndpointGroupCloudRun value)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildersetCloudRun(NetworkEndpointGroupCloudRun.Builder builderForValue)Only valid when networkEndpointType is "SERVERLESS".NetworkEndpointGroup.BuildersetCreationTimestamp(String value)[Output Only] Creation timestamp in RFC3339 text format.NetworkEndpointGroup.BuildersetCreationTimestampBytes(com.google.protobuf.ByteString value)[Output Only] Creation timestamp in RFC3339 text format.NetworkEndpointGroup.BuildersetDefaultPort(int value)The default port used if the port number is not specified in the network endpoint.NetworkEndpointGroup.BuildersetDescription(String value)An optional description of this resource.NetworkEndpointGroup.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)An optional description of this resource.NetworkEndpointGroup.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)NetworkEndpointGroup.BuildersetId(long value)[Output Only] The unique identifier for the resource.NetworkEndpointGroup.BuildersetKind(String value)[Output Only] Type of the resource.NetworkEndpointGroup.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.NetworkEndpointGroup.BuildersetName(String value)Name of the resource; provided by the client when the resource is created.NetworkEndpointGroup.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the resource; provided by the client when the resource is created.NetworkEndpointGroup.BuildersetNetwork(String value)The URL of the network to which all network endpoints in the NEG belong.NetworkEndpointGroup.BuildersetNetworkBytes(com.google.protobuf.ByteString value)The URL of the network to which all network endpoints in the NEG belong.NetworkEndpointGroup.BuildersetNetworkEndpointType(String value)Type of network endpoints in this network endpoint group.NetworkEndpointGroup.BuildersetNetworkEndpointTypeBytes(com.google.protobuf.ByteString value)Type of network endpoints in this network endpoint group.NetworkEndpointGroup.BuildersetPscData(NetworkEndpointGroupPscData value)optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroup.BuildersetPscData(NetworkEndpointGroupPscData.Builder builderForValue)optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;NetworkEndpointGroup.BuildersetPscTargetService(String value)The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.NetworkEndpointGroup.BuildersetPscTargetServiceBytes(com.google.protobuf.ByteString value)The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment.NetworkEndpointGroup.BuildersetRegion(String value)[Output Only] The URL of the region where the network endpoint group is located.NetworkEndpointGroup.BuildersetRegionBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the region where the network endpoint group is located.NetworkEndpointGroup.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)NetworkEndpointGroup.BuildersetSelfLink(String value)[Output Only] Server-defined URL for the resource.NetworkEndpointGroup.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for the resource.NetworkEndpointGroup.BuildersetSize(int value)[Output only] Number of network endpoints in the network endpoint group.NetworkEndpointGroup.BuildersetSubnetwork(String value)Optional URL of the subnetwork to which all network endpoints in the NEG belong.NetworkEndpointGroup.BuildersetSubnetworkBytes(com.google.protobuf.ByteString value)Optional URL of the subnetwork to which all network endpoints in the NEG belong.NetworkEndpointGroup.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NetworkEndpointGroup.BuildersetZone(String value)[Output Only] The URL of the zone where the network endpoint group is located.NetworkEndpointGroup.BuildersetZoneBytes(com.google.protobuf.ByteString value)[Output Only] The URL of the zone where the network endpoint group is located.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
clear
public NetworkEndpointGroup.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
getDefaultInstanceForType
public NetworkEndpointGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NetworkEndpointGroup build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NetworkEndpointGroup buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NetworkEndpointGroup.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
setField
public NetworkEndpointGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
clearField
public NetworkEndpointGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
clearOneof
public NetworkEndpointGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
setRepeatedField
public NetworkEndpointGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
addRepeatedField
public NetworkEndpointGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
mergeFrom
public NetworkEndpointGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkEndpointGroup.Builder>
-
mergeFrom
public NetworkEndpointGroup.Builder mergeFrom(NetworkEndpointGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
mergeFrom
public NetworkEndpointGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkEndpointGroup.Builder>- Throws:
IOException
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:NetworkEndpointGroupOrBuilderMetadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsCountin interfaceNetworkEndpointGroupOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
containsAnnotationsin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsMapin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrDefaultin interfaceNetworkEndpointGroupOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;- Specified by:
getAnnotationsOrThrowin interfaceNetworkEndpointGroupOrBuilder
-
clearAnnotations
public NetworkEndpointGroup.Builder clearAnnotations()
-
removeAnnotations
public NetworkEndpointGroup.Builder removeAnnotations(String key)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public NetworkEndpointGroup.Builder putAnnotations(String key, String value)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
putAllAnnotations
public NetworkEndpointGroup.Builder putAllAnnotations(Map<String,String> values)
Metadata defined as annotations on the network endpoint group.
map<string, string> annotations = 112032548;
-
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;- Specified by:
hasAppEnginein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the appEngine field is set.
-
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;- Specified by:
getAppEnginein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The appEngine.
-
setAppEngine
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;
-
setAppEngine
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;
-
mergeAppEngine
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;
-
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;
-
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;
-
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;- Specified by:
getAppEngineOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
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;- Specified by:
hasCloudFunctionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the cloudFunction field is set.
-
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;- Specified by:
getCloudFunctionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The cloudFunction.
-
setCloudFunction
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;
-
setCloudFunction
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;
-
mergeCloudFunction
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;
-
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;
-
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;
-
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;- Specified by:
getCloudFunctionOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
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;- Specified by:
hasCloudRunin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the cloudRun field is set.
-
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;- Specified by:
getCloudRunin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The cloudRun.
-
setCloudRun
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;
-
setCloudRun
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;
-
mergeCloudRun
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;
-
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;
-
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;
-
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;- Specified by:
getCloudRunOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
public NetworkEndpointGroup.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
public NetworkEndpointGroup.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
public NetworkEndpointGroup.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDefaultPort
public boolean hasDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;- Specified by:
hasDefaultPortin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the defaultPort field is set.
-
getDefaultPort
public int getDefaultPort()
The default port used if the port number is not specified in the network endpoint.
optional int32 default_port = 423377855;- Specified by:
getDefaultPortin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The defaultPort.
-
setDefaultPort
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;- Parameters:
value- The defaultPort to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for description.
-
setDescription
public NetworkEndpointGroup.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public NetworkEndpointGroup.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The id.
-
setId
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;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public NetworkEndpointGroup.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Specified by:
getKindin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for kind.
-
setKind
public NetworkEndpointGroup.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setKindBytes
public NetworkEndpointGroup.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
hasNamein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the name field is set.
-
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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
getNamein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
getNameBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for name.
-
setName
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]([-a-z0-9]*[a-z0-9])?` 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;- Parameters:
value- The name to set.- Returns:
- 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]([-a-z0-9]*[a-z0-9])?` 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;- Returns:
- This builder for chaining.
-
setNameBytes
public NetworkEndpointGroup.Builder setNameBytes(com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasNetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the network field is set.
-
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;- Specified by:
getNetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.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;- Specified by:
getNetworkBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for network.
-
setNetwork
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;- Parameters:
value- The network to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setNetworkBytes
public NetworkEndpointGroup.Builder setNetworkBytes(com.google.protobuf.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;- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
hasNetworkEndpointType
public boolean hasNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, 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;- Specified by:
hasNetworkEndpointTypein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the networkEndpointType field is set.
-
getNetworkEndpointType
public String getNetworkEndpointType()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, 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;- Specified by:
getNetworkEndpointTypein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The networkEndpointType.
-
getNetworkEndpointTypeBytes
public com.google.protobuf.ByteString getNetworkEndpointTypeBytes()
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, 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;- Specified by:
getNetworkEndpointTypeBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for networkEndpointType.
-
setNetworkEndpointType
public NetworkEndpointGroup.Builder setNetworkEndpointType(String value)
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, 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;- Parameters:
value- The networkEndpointType to set.- Returns:
- 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, 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;- Returns:
- This builder for chaining.
-
setNetworkEndpointTypeBytes
public NetworkEndpointGroup.Builder setNetworkEndpointTypeBytes(com.google.protobuf.ByteString value)
Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, 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;- Parameters:
value- The bytes for networkEndpointType to set.- Returns:
- This builder for chaining.
-
hasPscData
public boolean hasPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;- Specified by:
hasPscDatain interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the pscData field is set.
-
getPscData
public NetworkEndpointGroupPscData getPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;- Specified by:
getPscDatain interfaceNetworkEndpointGroupOrBuilder- Returns:
- The pscData.
-
setPscData
public NetworkEndpointGroup.Builder setPscData(NetworkEndpointGroupPscData value)
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
-
setPscData
public NetworkEndpointGroup.Builder setPscData(NetworkEndpointGroupPscData.Builder builderForValue)
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
-
mergePscData
public NetworkEndpointGroup.Builder mergePscData(NetworkEndpointGroupPscData value)
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
-
clearPscData
public NetworkEndpointGroup.Builder clearPscData()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
-
getPscDataBuilder
public NetworkEndpointGroupPscData.Builder getPscDataBuilder()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;
-
getPscDataOrBuilder
public NetworkEndpointGroupPscDataOrBuilder getPscDataOrBuilder()
optional .google.cloud.compute.v1.NetworkEndpointGroupPscData psc_data = 71937481;- Specified by:
getPscDataOrBuilderin interfaceNetworkEndpointGroupOrBuilder
-
hasPscTargetService
public boolean hasPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Specified by:
hasPscTargetServicein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the pscTargetService field is set.
-
getPscTargetService
public String getPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Specified by:
getPscTargetServicein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The pscTargetService.
-
getPscTargetServiceBytes
public com.google.protobuf.ByteString getPscTargetServiceBytes()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Specified by:
getPscTargetServiceBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for pscTargetService.
-
setPscTargetService
public NetworkEndpointGroup.Builder setPscTargetService(String value)
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Parameters:
value- The pscTargetService to set.- Returns:
- This builder for chaining.
-
clearPscTargetService
public NetworkEndpointGroup.Builder clearPscTargetService()
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Returns:
- This builder for chaining.
-
setPscTargetServiceBytes
public NetworkEndpointGroup.Builder setPscTargetServiceBytes(com.google.protobuf.ByteString value)
The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com"
optional string psc_target_service = 269132134;- Parameters:
value- The bytes for pscTargetService to set.- Returns:
- This builder for chaining.
-
hasRegion
public boolean hasRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Specified by:
hasRegionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
public String getRegion()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Specified by:
getRegionin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for region.
-
setRegion
public NetworkEndpointGroup.Builder setRegion(String value)
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setRegionBytes
public NetworkEndpointGroup.Builder setRegionBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the region where the network endpoint group is located.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public NetworkEndpointGroup.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
public NetworkEndpointGroup.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
public NetworkEndpointGroup.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasSize
public boolean hasSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;- Specified by:
hasSizein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public int getSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;- Specified by:
getSizein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The size.
-
setSize
public NetworkEndpointGroup.Builder setSize(int value)
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
public NetworkEndpointGroup.Builder clearSize()
[Output only] Number of network endpoints in the network endpoint group.
optional int32 size = 3530753;- Returns:
- This builder for chaining.
-
hasSubnetwork
public boolean hasSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
public String getSubnetwork()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for subnetwork.
-
setSubnetwork
public NetworkEndpointGroup.Builder setSubnetwork(String value)
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Parameters:
value- The subnetwork to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setSubnetworkBytes
public NetworkEndpointGroup.Builder setSubnetworkBytes(com.google.protobuf.ByteString value)
Optional URL of the subnetwork to which all network endpoints in the NEG belong.
optional string subnetwork = 307827694;- Parameters:
value- The bytes for subnetwork to set.- Returns:
- This builder for chaining.
-
hasZone
public boolean hasZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Specified by:
hasZonein interfaceNetworkEndpointGroupOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Specified by:
getZonein interfaceNetworkEndpointGroupOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceNetworkEndpointGroupOrBuilder- Returns:
- The bytes for zone.
-
setZone
public NetworkEndpointGroup.Builder setZone(String value)
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Parameters:
value- The zone to set.- Returns:
- 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;- Returns:
- This builder for chaining.
-
setZoneBytes
public NetworkEndpointGroup.Builder setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] The URL of the zone where the network endpoint group is located.
optional string zone = 3744684;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final NetworkEndpointGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
mergeUnknownFields
public final NetworkEndpointGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NetworkEndpointGroup.Builder>
-
-