Class LoadBalancerBackend.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LoadBalancerBackend.Builder>
com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.Builder
- All Implemented Interfaces:
LoadBalancerBackendOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LoadBalancerBackend
public static final class LoadBalancerBackend.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LoadBalancerBackend.Builder>
implements LoadBalancerBackendOrBuilder
For display only. Metadata associated with a specific load balancer backend.Protobuf type
google.cloud.networkmanagement.v1beta1.LoadBalancerBackend-
Method Summary
Modifier and TypeMethodDescriptionA list of firewall rule URIs allowing probes from health check IP ranges.A list of firewall rule URIs blocking probes from health check IP ranges.A list of firewall rule URIs allowing probes from health check IP ranges.addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.ByteString value) A list of firewall rule URIs allowing probes from health check IP ranges.A list of firewall rule URIs blocking probes from health check IP ranges.addHealthCheckBlockingFirewallRulesBytes(com.google.protobuf.ByteString value) A list of firewall rule URIs blocking probes from health check IP ranges.build()clear()Name of a Compute Engine instance or network endpoint.A list of firewall rule URIs allowing probes from health check IP ranges.A list of firewall rule URIs blocking probes from health check IP ranges.State of the health check firewall configuration.clearUri()URI of a Compute Engine instance or network endpoint.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName of a Compute Engine instance or network endpoint.com.google.protobuf.ByteStringName of a Compute Engine instance or network endpoint.getHealthCheckAllowingFirewallRules(int index) A list of firewall rule URIs allowing probes from health check IP ranges.com.google.protobuf.ByteStringgetHealthCheckAllowingFirewallRulesBytes(int index) A list of firewall rule URIs allowing probes from health check IP ranges.intA list of firewall rule URIs allowing probes from health check IP ranges.com.google.protobuf.ProtocolStringListA list of firewall rule URIs allowing probes from health check IP ranges.getHealthCheckBlockingFirewallRules(int index) A list of firewall rule URIs blocking probes from health check IP ranges.com.google.protobuf.ByteStringgetHealthCheckBlockingFirewallRulesBytes(int index) A list of firewall rule URIs blocking probes from health check IP ranges.intA list of firewall rule URIs blocking probes from health check IP ranges.com.google.protobuf.ProtocolStringListA list of firewall rule URIs blocking probes from health check IP ranges.State of the health check firewall configuration.intState of the health check firewall configuration.getUri()URI of a Compute Engine instance or network endpoint.com.google.protobuf.ByteStringURI of a Compute Engine instance or network endpoint.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(LoadBalancerBackend other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Name of a Compute Engine instance or network endpoint.setDisplayNameBytes(com.google.protobuf.ByteString value) Name of a Compute Engine instance or network endpoint.setHealthCheckAllowingFirewallRules(int index, String value) A list of firewall rule URIs allowing probes from health check IP ranges.setHealthCheckBlockingFirewallRules(int index, String value) A list of firewall rule URIs blocking probes from health check IP ranges.State of the health check firewall configuration.setHealthCheckFirewallStateValue(int value) State of the health check firewall configuration.URI of a Compute Engine instance or network endpoint.setUriBytes(com.google.protobuf.ByteString value) URI of a Compute Engine instance or network endpoint.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LoadBalancerBackend.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LoadBalancerBackend.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.GeneratedMessage.Builder<LoadBalancerBackend.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LoadBalancerBackend.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LoadBalancerBackend.Builder>
-
mergeFrom
public LoadBalancerBackend.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<LoadBalancerBackend.Builder>- Throws:
IOException
-
getDisplayName
Name of a Compute Engine instance or network endpoint.
string display_name = 1;- Specified by:
getDisplayNamein interfaceLoadBalancerBackendOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of a Compute Engine instance or network endpoint.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceLoadBalancerBackendOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of a Compute Engine instance or network endpoint.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of a Compute Engine instance or network endpoint.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of a Compute Engine instance or network endpoint.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
URI of a Compute Engine instance or network endpoint.
string uri = 2;- Specified by:
getUriin interfaceLoadBalancerBackendOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of a Compute Engine instance or network endpoint.
string uri = 2;- Specified by:
getUriBytesin interfaceLoadBalancerBackendOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of a Compute Engine instance or network endpoint.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of a Compute Engine instance or network endpoint.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
URI of a Compute Engine instance or network endpoint.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getHealthCheckFirewallStateValue
public int getHealthCheckFirewallStateValue()State of the health check firewall configuration.
.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;- Specified by:
getHealthCheckFirewallStateValuein interfaceLoadBalancerBackendOrBuilder- Returns:
- The enum numeric value on the wire for healthCheckFirewallState.
-
setHealthCheckFirewallStateValue
State of the health check firewall configuration.
.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;- Parameters:
value- The enum numeric value on the wire for healthCheckFirewallState to set.- Returns:
- This builder for chaining.
-
getHealthCheckFirewallState
State of the health check firewall configuration.
.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;- Specified by:
getHealthCheckFirewallStatein interfaceLoadBalancerBackendOrBuilder- Returns:
- The healthCheckFirewallState.
-
setHealthCheckFirewallState
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;- Parameters:
value- The healthCheckFirewallState to set.- Returns:
- This builder for chaining.
-
clearHealthCheckFirewallState
State of the health check firewall configuration.
.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend.HealthCheckFirewallState health_check_firewall_state = 3;- Returns:
- This builder for chaining.
-
getHealthCheckAllowingFirewallRulesList
public com.google.protobuf.ProtocolStringList getHealthCheckAllowingFirewallRulesList()A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Specified by:
getHealthCheckAllowingFirewallRulesListin interfaceLoadBalancerBackendOrBuilder- Returns:
- A list containing the healthCheckAllowingFirewallRules.
-
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;- Specified by:
getHealthCheckAllowingFirewallRulesCountin interfaceLoadBalancerBackendOrBuilder- Returns:
- The count of healthCheckAllowingFirewallRules.
-
getHealthCheckAllowingFirewallRules
A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Specified by:
getHealthCheckAllowingFirewallRulesin interfaceLoadBalancerBackendOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The healthCheckAllowingFirewallRules at the given index.
-
getHealthCheckAllowingFirewallRulesBytes
public com.google.protobuf.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;- Specified by:
getHealthCheckAllowingFirewallRulesBytesin interfaceLoadBalancerBackendOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the healthCheckAllowingFirewallRules at the given index.
-
setHealthCheckAllowingFirewallRules
A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Parameters:
index- The index to set the value at.value- The healthCheckAllowingFirewallRules to set.- Returns:
- This builder for chaining.
-
addHealthCheckAllowingFirewallRules
A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Parameters:
value- The healthCheckAllowingFirewallRules to add.- Returns:
- This builder for chaining.
-
addAllHealthCheckAllowingFirewallRules
A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Parameters:
values- The healthCheckAllowingFirewallRules to add.- Returns:
- This builder for chaining.
-
clearHealthCheckAllowingFirewallRules
A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Returns:
- This builder for chaining.
-
addHealthCheckAllowingFirewallRulesBytes
public LoadBalancerBackend.Builder addHealthCheckAllowingFirewallRulesBytes(com.google.protobuf.ByteString value) A list of firewall rule URIs allowing probes from health check IP ranges.
repeated string health_check_allowing_firewall_rules = 4;- Parameters:
value- The bytes of the healthCheckAllowingFirewallRules to add.- Returns:
- This builder for chaining.
-
getHealthCheckBlockingFirewallRulesList
public com.google.protobuf.ProtocolStringList getHealthCheckBlockingFirewallRulesList()A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Specified by:
getHealthCheckBlockingFirewallRulesListin interfaceLoadBalancerBackendOrBuilder- Returns:
- A list containing the healthCheckBlockingFirewallRules.
-
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;- Specified by:
getHealthCheckBlockingFirewallRulesCountin interfaceLoadBalancerBackendOrBuilder- Returns:
- The count of healthCheckBlockingFirewallRules.
-
getHealthCheckBlockingFirewallRules
A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Specified by:
getHealthCheckBlockingFirewallRulesin interfaceLoadBalancerBackendOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The healthCheckBlockingFirewallRules at the given index.
-
getHealthCheckBlockingFirewallRulesBytes
public com.google.protobuf.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;- Specified by:
getHealthCheckBlockingFirewallRulesBytesin interfaceLoadBalancerBackendOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the healthCheckBlockingFirewallRules at the given index.
-
setHealthCheckBlockingFirewallRules
A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Parameters:
index- The index to set the value at.value- The healthCheckBlockingFirewallRules to set.- Returns:
- This builder for chaining.
-
addHealthCheckBlockingFirewallRules
A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Parameters:
value- The healthCheckBlockingFirewallRules to add.- Returns:
- This builder for chaining.
-
addAllHealthCheckBlockingFirewallRules
A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Parameters:
values- The healthCheckBlockingFirewallRules to add.- Returns:
- This builder for chaining.
-
clearHealthCheckBlockingFirewallRules
A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Returns:
- This builder for chaining.
-
addHealthCheckBlockingFirewallRulesBytes
public LoadBalancerBackend.Builder addHealthCheckBlockingFirewallRulesBytes(com.google.protobuf.ByteString value) A list of firewall rule URIs blocking probes from health check IP ranges.
repeated string health_check_blocking_firewall_rules = 5;- Parameters:
value- The bytes of the healthCheckBlockingFirewallRules to add.- Returns:
- This builder for chaining.
-