Class LoadBalancerBackend.Builder (1.47.0)

public static final class LoadBalancerBackend.Builder extends GeneratedMessageV3.Builder<LoadBalancerBackend.Builder> implements LoadBalancerBackendOrBuilder

For display only. Metadata associated with a specific load balancer backend.

Protobuf type google.cloud.networkmanagement.v1beta1.LoadBalancerBackend

Static Methods

getDescriptor()

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

Methods

addAllHealthCheckAllowingFirewallRules(Iterable<String> values)

public LoadBalancerBackend.Builder addAllHealthCheckAllowingFirewallRules(Iterable<String> values)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
Name Description
values Iterable<String>

The healthCheckAllowingFirewallRules to add.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

addAllHealthCheckBlockingFirewallRules(Iterable<String> values)

public LoadBalancerBackend.Builder addAllHealthCheckBlockingFirewallRules(Iterable<String> values)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
Name Description
values Iterable<String>

The healthCheckBlockingFirewallRules to add.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

addHealthCheckAllowingFirewallRules(String value)

public LoadBalancerBackend.Builder addHealthCheckAllowingFirewallRules(String value)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
Name Description
value String

The healthCheckAllowingFirewallRules to add.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

addHealthCheckAllowingFirewallRulesBytes(ByteString value)

public LoadBalancerBackend.Builder addHealthCheckAllowingFirewallRulesBytes(ByteString value)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
Name Description
value ByteString

The bytes of the healthCheckAllowingFirewallRules to add.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

addHealthCheckBlockingFirewallRules(String value)

public LoadBalancerBackend.Builder addHealthCheckBlockingFirewallRules(String value)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
Name Description
value String

The healthCheckBlockingFirewallRules to add.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

addHealthCheckBlockingFirewallRulesBytes(ByteString value)

public LoadBalancerBackend.Builder addHealthCheckBlockingFirewallRulesBytes(ByteString value)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
Name Description
value ByteString

The bytes of the healthCheckBlockingFirewallRules to add.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LoadBalancerBackend build()
Returns
Type Description
LoadBalancerBackend

buildPartial()

public LoadBalancerBackend buildPartial()
Returns
Type Description
LoadBalancerBackend

clear()

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

clearDisplayName()

public LoadBalancerBackend.Builder clearDisplayName()

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHealthCheckAllowingFirewallRules()

public LoadBalancerBackend.Builder clearHealthCheckAllowingFirewallRules()

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

clearHealthCheckBlockingFirewallRules()

public LoadBalancerBackend.Builder clearHealthCheckBlockingFirewallRules()

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

clearHealthCheckFirewallState()

public LoadBalancerBackend.Builder clearHealthCheckFirewallState()

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public LoadBalancerBackend.Builder clearUri()

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public LoadBalancerBackend getDefaultInstanceForType()
Returns
Type Description
LoadBalancerBackend

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getHealthCheckAllowingFirewallRules(int index)

public String getHealthCheckAllowingFirewallRules(int index)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The healthCheckAllowingFirewallRules at the given index.

getHealthCheckAllowingFirewallRulesBytes(int index)

public ByteString getHealthCheckAllowingFirewallRulesBytes(int index)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the healthCheckAllowingFirewallRules at the given index.

getHealthCheckAllowingFirewallRulesCount()

public int getHealthCheckAllowingFirewallRulesCount()

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Returns
Type Description
int

The count of healthCheckAllowingFirewallRules.

getHealthCheckAllowingFirewallRulesList()

public ProtocolStringList getHealthCheckAllowingFirewallRulesList()

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Returns
Type Description
ProtocolStringList

A list containing the healthCheckAllowingFirewallRules.

getHealthCheckBlockingFirewallRules(int index)

public String getHealthCheckBlockingFirewallRules(int index)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The healthCheckBlockingFirewallRules at the given index.

getHealthCheckBlockingFirewallRulesBytes(int index)

public ByteString getHealthCheckBlockingFirewallRulesBytes(int index)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the healthCheckBlockingFirewallRules at the given index.

getHealthCheckBlockingFirewallRulesCount()

public int getHealthCheckBlockingFirewallRulesCount()

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Returns
Type Description
int

The count of healthCheckBlockingFirewallRules.

getHealthCheckBlockingFirewallRulesList()

public ProtocolStringList getHealthCheckBlockingFirewallRulesList()

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Returns
Type Description
ProtocolStringList

A list containing the healthCheckBlockingFirewallRules.

getHealthCheckFirewallState()

public LoadBalancerBackend.HealthCheckFirewallState getHealthCheckFirewallState()

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Returns
Type Description
LoadBalancerBackend.HealthCheckFirewallState

The healthCheckFirewallState.

getHealthCheckFirewallStateValue()

public int getHealthCheckFirewallStateValue()

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Returns
Type Description
int

The enum numeric value on the wire for healthCheckFirewallState.

getUri()

public String getUri()

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LoadBalancerBackend other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDisplayName(String value)

public LoadBalancerBackend.Builder setDisplayName(String value)

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public LoadBalancerBackend.Builder setDisplayNameBytes(ByteString value)

Name of a Compute Engine instance or network endpoint.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthCheckAllowingFirewallRules(int index, String value)

public LoadBalancerBackend.Builder setHealthCheckAllowingFirewallRules(int index, String value)

A list of firewall rule URIs allowing probes from health check IP ranges.

repeated string health_check_allowing_firewall_rules = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The healthCheckAllowingFirewallRules to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

setHealthCheckBlockingFirewallRules(int index, String value)

public LoadBalancerBackend.Builder setHealthCheckBlockingFirewallRules(int index, String value)

A list of firewall rule URIs blocking probes from health check IP ranges.

repeated string health_check_blocking_firewall_rules = 5;

Parameters
Name Description
index int

The index to set the value at.

value String

The healthCheckBlockingFirewallRules to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

setHealthCheckFirewallState(LoadBalancerBackend.HealthCheckFirewallState value)

public LoadBalancerBackend.Builder setHealthCheckFirewallState(LoadBalancerBackend.HealthCheckFirewallState value)

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Parameter
Name Description
value LoadBalancerBackend.HealthCheckFirewallState

The healthCheckFirewallState to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

setHealthCheckFirewallStateValue(int value)

public LoadBalancerBackend.Builder setHealthCheckFirewallStateValue(int value)

State of the health check firewall configuration.

.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;

Parameter
Name Description
value int

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

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public LoadBalancerBackend.Builder setUri(String value)

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.

setUriBytes(ByteString value)

public LoadBalancerBackend.Builder setUriBytes(ByteString value)

URI of a Compute Engine instance or network endpoint.

string uri = 2;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
LoadBalancerBackend.Builder

This builder for chaining.