Class LoadBalancerBackendInfo.Builder (1.46.0)

public static final class LoadBalancerBackendInfo.Builder extends GeneratedMessageV3.Builder<LoadBalancerBackendInfo.Builder> implements LoadBalancerBackendInfoOrBuilder

For display only. Metadata associated with the load balancer backend.

Protobuf type google.cloud.networkmanagement.v1.LoadBalancerBackendInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LoadBalancerBackendInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

build()

public LoadBalancerBackendInfo build()
Returns
Type Description
LoadBalancerBackendInfo

buildPartial()

public LoadBalancerBackendInfo buildPartial()
Returns
Type Description
LoadBalancerBackendInfo

clear()

public LoadBalancerBackendInfo.Builder clear()
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

clearBackendBucketUri()

public LoadBalancerBackendInfo.Builder clearBackendBucketUri()

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearBackendServiceUri()

public LoadBalancerBackendInfo.Builder clearBackendServiceUri()

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LoadBalancerBackendInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

clearHealthCheckFirewallsConfigState()

public LoadBalancerBackendInfo.Builder clearHealthCheckFirewallsConfigState()

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearHealthCheckUri()

public LoadBalancerBackendInfo.Builder clearHealthCheckUri()

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearInstanceGroupUri()

public LoadBalancerBackendInfo.Builder clearInstanceGroupUri()

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearInstanceUri()

public LoadBalancerBackendInfo.Builder clearInstanceUri()

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearName()

public LoadBalancerBackendInfo.Builder clearName()

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearNetworkEndpointGroupUri()

public LoadBalancerBackendInfo.Builder clearNetworkEndpointGroupUri()

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LoadBalancerBackendInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

clearPscGoogleApiTarget()

public LoadBalancerBackendInfo.Builder clearPscGoogleApiTarget()

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearPscServiceAttachmentUri()

public LoadBalancerBackendInfo.Builder clearPscServiceAttachmentUri()

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

clone()

public LoadBalancerBackendInfo.Builder clone()
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

getBackendBucketUri()

public String getBackendBucketUri()

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Returns
Type Description
String

The backendBucketUri.

getBackendBucketUriBytes()

public ByteString getBackendBucketUriBytes()

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Returns
Type Description
ByteString

The bytes for backendBucketUri.

getBackendServiceUri()

public String getBackendServiceUri()

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Returns
Type Description
String

The backendServiceUri.

getBackendServiceUriBytes()

public ByteString getBackendServiceUriBytes()

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Returns
Type Description
ByteString

The bytes for backendServiceUri.

getDefaultInstanceForType()

public LoadBalancerBackendInfo getDefaultInstanceForType()
Returns
Type Description
LoadBalancerBackendInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHealthCheckFirewallsConfigState()

public LoadBalancerBackendInfo.HealthCheckFirewallsConfigState getHealthCheckFirewallsConfigState()

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LoadBalancerBackendInfo.HealthCheckFirewallsConfigState

The healthCheckFirewallsConfigState.

getHealthCheckFirewallsConfigStateValue()

public int getHealthCheckFirewallsConfigStateValue()

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for healthCheckFirewallsConfigState.

getHealthCheckUri()

public String getHealthCheckUri()

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Returns
Type Description
String

The healthCheckUri.

getHealthCheckUriBytes()

public ByteString getHealthCheckUriBytes()

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Returns
Type Description
ByteString

The bytes for healthCheckUri.

getInstanceGroupUri()

public String getInstanceGroupUri()

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Returns
Type Description
String

The instanceGroupUri.

getInstanceGroupUriBytes()

public ByteString getInstanceGroupUriBytes()

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Returns
Type Description
ByteString

The bytes for instanceGroupUri.

getInstanceUri()

public String getInstanceUri()

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Returns
Type Description
String

The instanceUri.

getInstanceUriBytes()

public ByteString getInstanceUriBytes()

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Returns
Type Description
ByteString

The bytes for instanceUri.

getName()

public String getName()

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNetworkEndpointGroupUri()

public String getNetworkEndpointGroupUri()

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Returns
Type Description
String

The networkEndpointGroupUri.

getNetworkEndpointGroupUriBytes()

public ByteString getNetworkEndpointGroupUriBytes()

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Returns
Type Description
ByteString

The bytes for networkEndpointGroupUri.

getPscGoogleApiTarget()

public String getPscGoogleApiTarget()

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Returns
Type Description
String

The pscGoogleApiTarget.

getPscGoogleApiTargetBytes()

public ByteString getPscGoogleApiTargetBytes()

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Returns
Type Description
ByteString

The bytes for pscGoogleApiTarget.

getPscServiceAttachmentUri()

public String getPscServiceAttachmentUri()

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Returns
Type Description
String

The pscServiceAttachmentUri.

getPscServiceAttachmentUriBytes()

public ByteString getPscServiceAttachmentUriBytes()

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Returns
Type Description
ByteString

The bytes for pscServiceAttachmentUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LoadBalancerBackendInfo other)

public LoadBalancerBackendInfo.Builder mergeFrom(LoadBalancerBackendInfo other)
Parameter
Name Description
other LoadBalancerBackendInfo
Returns
Type Description
LoadBalancerBackendInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoadBalancerBackendInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LoadBalancerBackendInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoadBalancerBackendInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

setBackendBucketUri(String value)

public LoadBalancerBackendInfo.Builder setBackendBucketUri(String value)

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Parameter
Name Description
value String

The backendBucketUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setBackendBucketUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setBackendBucketUriBytes(ByteString value)

URI of the backend bucket this backend targets (if applicable).

string backend_bucket_uri = 8;

Parameter
Name Description
value ByteString

The bytes for backendBucketUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setBackendServiceUri(String value)

public LoadBalancerBackendInfo.Builder setBackendServiceUri(String value)

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Parameter
Name Description
value String

The backendServiceUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setBackendServiceUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setBackendServiceUriBytes(ByteString value)

URI of the backend service this backend belongs to (if applicable).

string backend_service_uri = 3;

Parameter
Name Description
value ByteString

The bytes for backendServiceUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LoadBalancerBackendInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

setHealthCheckFirewallsConfigState(LoadBalancerBackendInfo.HealthCheckFirewallsConfigState value)

public LoadBalancerBackendInfo.Builder setHealthCheckFirewallsConfigState(LoadBalancerBackendInfo.HealthCheckFirewallsConfigState value)

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LoadBalancerBackendInfo.HealthCheckFirewallsConfigState

The healthCheckFirewallsConfigState to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setHealthCheckFirewallsConfigStateValue(int value)

public LoadBalancerBackendInfo.Builder setHealthCheckFirewallsConfigStateValue(int value)

Output only. Health check firewalls configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules

.google.cloud.networkmanagement.v1.LoadBalancerBackendInfo.HealthCheckFirewallsConfigState health_check_firewalls_config_state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for healthCheckFirewallsConfigState to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setHealthCheckUri(String value)

public LoadBalancerBackendInfo.Builder setHealthCheckUri(String value)

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Parameter
Name Description
value String

The healthCheckUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setHealthCheckUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setHealthCheckUriBytes(ByteString value)

URI of the health check attached to this backend (if applicable).

string health_check_uri = 6;

Parameter
Name Description
value ByteString

The bytes for healthCheckUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setInstanceGroupUri(String value)

public LoadBalancerBackendInfo.Builder setInstanceGroupUri(String value)

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Parameter
Name Description
value String

The instanceGroupUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setInstanceGroupUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setInstanceGroupUriBytes(ByteString value)

URI of the instance group this backend belongs to (if applicable).

string instance_group_uri = 4;

Parameter
Name Description
value ByteString

The bytes for instanceGroupUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setInstanceUri(String value)

public LoadBalancerBackendInfo.Builder setInstanceUri(String value)

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Parameter
Name Description
value String

The instanceUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setInstanceUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setInstanceUriBytes(ByteString value)

URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends.

string instance_uri = 2;

Parameter
Name Description
value ByteString

The bytes for instanceUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setName(String value)

public LoadBalancerBackendInfo.Builder setName(String value)

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setNameBytes(ByteString value)

Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setNetworkEndpointGroupUri(String value)

public LoadBalancerBackendInfo.Builder setNetworkEndpointGroupUri(String value)

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Parameter
Name Description
value String

The networkEndpointGroupUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setNetworkEndpointGroupUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setNetworkEndpointGroupUriBytes(ByteString value)

URI of the network endpoint group this backend belongs to (if applicable).

string network_endpoint_group_uri = 5;

Parameter
Name Description
value ByteString

The bytes for networkEndpointGroupUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setPscGoogleApiTarget(String value)

public LoadBalancerBackendInfo.Builder setPscGoogleApiTarget(String value)

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Parameter
Name Description
value String

The pscGoogleApiTarget to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setPscGoogleApiTargetBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setPscGoogleApiTargetBytes(ByteString value)

PSC Google API target this PSC NEG backend targets (if applicable).

string psc_google_api_target = 10;

Parameter
Name Description
value ByteString

The bytes for pscGoogleApiTarget to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setPscServiceAttachmentUri(String value)

public LoadBalancerBackendInfo.Builder setPscServiceAttachmentUri(String value)

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Parameter
Name Description
value String

The pscServiceAttachmentUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setPscServiceAttachmentUriBytes(ByteString value)

public LoadBalancerBackendInfo.Builder setPscServiceAttachmentUriBytes(ByteString value)

URI of the PSC service attachment this PSC NEG backend targets (if applicable).

string psc_service_attachment_uri = 9;

Parameter
Name Description
value ByteString

The bytes for pscServiceAttachmentUri to set.

Returns
Type Description
LoadBalancerBackendInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LoadBalancerBackendInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoadBalancerBackendInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LoadBalancerBackendInfo.Builder
Overrides