Class LoadBalancerBackendInfo.Builder (1.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LoadBalancerBackendInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides

build()

public LoadBalancerBackendInfo build()
Returns
TypeDescription
LoadBalancerBackendInfo

buildPartial()

public LoadBalancerBackendInfo buildPartial()
Returns
TypeDescription
LoadBalancerBackendInfo

clear()

public LoadBalancerBackendInfo.Builder clear()
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides

clearBackendBucketUri()

public LoadBalancerBackendInfo.Builder clearBackendBucketUri()

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

string backend_bucket_uri = 8;

Returns
TypeDescription
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
TypeDescription
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LoadBalancerBackendInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
LoadBalancerBackendInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LoadBalancerBackendInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
LoadBalancerBackendInfo.Builder

This builder for chaining.

clone()

public LoadBalancerBackendInfo.Builder clone()
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides

getBackendBucketUri()

public String getBackendBucketUri()

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

string backend_bucket_uri = 8;

Returns
TypeDescription
String

The backendBucketUri.

getBackendBucketUriBytes()

public ByteString getBackendBucketUriBytes()

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

string backend_bucket_uri = 8;

Returns
TypeDescription
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
TypeDescription
String

The backendServiceUri.

getBackendServiceUriBytes()

public ByteString getBackendServiceUriBytes()

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

string backend_service_uri = 3;

Returns
TypeDescription
ByteString

The bytes for backendServiceUri.

getDefaultInstanceForType()

public LoadBalancerBackendInfo getDefaultInstanceForType()
Returns
TypeDescription
LoadBalancerBackendInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The healthCheckUri.

getHealthCheckUriBytes()

public ByteString getHealthCheckUriBytes()

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

string health_check_uri = 6;

Returns
TypeDescription
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
TypeDescription
String

The instanceGroupUri.

getInstanceGroupUriBytes()

public ByteString getInstanceGroupUriBytes()

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

string instance_group_uri = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pscServiceAttachmentUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LoadBalancerBackendInfo other)

public LoadBalancerBackendInfo.Builder mergeFrom(LoadBalancerBackendInfo other)
Parameter
NameDescription
otherLoadBalancerBackendInfo
Returns
TypeDescription
LoadBalancerBackendInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LoadBalancerBackendInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LoadBalancerBackendInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LoadBalancerBackendInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The backendBucketUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for backendBucketUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The backendServiceUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for backendServiceUri to set.

Returns
TypeDescription
LoadBalancerBackendInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LoadBalancerBackendInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueLoadBalancerBackendInfo.HealthCheckFirewallsConfigState

The healthCheckFirewallsConfigState to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The healthCheckUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for healthCheckUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The instanceGroupUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceGroupUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The instanceUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The networkEndpointGroupUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for networkEndpointGroupUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The pscGoogleApiTarget to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pscGoogleApiTarget to set.

Returns
TypeDescription
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
NameDescription
valueString

The pscServiceAttachmentUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pscServiceAttachmentUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LoadBalancerBackendInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LoadBalancerBackendInfo.Builder
Overrides