- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
public static final class LoadBalancerInfo.Builder extends GeneratedMessageV3.Builder<LoadBalancerInfo.Builder> implements LoadBalancerInfoOrBuilder
For display only. Metadata associated with a load balancer.
Protobuf type google.cloud.networkmanagement.v1.LoadBalancerInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LoadBalancerInfo.BuilderImplements
LoadBalancerInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBackends(Iterable<? extends LoadBalancerBackend> values)
public LoadBalancerInfo.Builder addAllBackends(Iterable<? extends LoadBalancerBackend> values)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackend> |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
addBackends(LoadBalancerBackend value)
public LoadBalancerInfo.Builder addBackends(LoadBalancerBackend value)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
value | LoadBalancerBackend |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
addBackends(LoadBalancerBackend.Builder builderForValue)
public LoadBalancerInfo.Builder addBackends(LoadBalancerBackend.Builder builderForValue)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | LoadBalancerBackend.Builder |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
addBackends(int index, LoadBalancerBackend value)
public LoadBalancerInfo.Builder addBackends(int index, LoadBalancerBackend value)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | LoadBalancerBackend |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
addBackends(int index, LoadBalancerBackend.Builder builderForValue)
public LoadBalancerInfo.Builder addBackends(int index, LoadBalancerBackend.Builder builderForValue)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LoadBalancerBackend.Builder |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
addBackendsBuilder()
public LoadBalancerBackend.Builder addBackendsBuilder()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
LoadBalancerBackend.Builder |
addBackendsBuilder(int index)
public LoadBalancerBackend.Builder addBackendsBuilder(int index)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LoadBalancerBackend.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LoadBalancerInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
build()
public LoadBalancerInfo build()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo |
buildPartial()
public LoadBalancerInfo buildPartial()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo |
clear()
public LoadBalancerInfo.Builder clear()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
clearBackendType()
public LoadBalancerInfo.Builder clearBackendType()
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
clearBackendUri()
public LoadBalancerInfo.Builder clearBackendUri()
Backend configuration URI.
string backend_uri = 5;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
clearBackends()
public LoadBalancerInfo.Builder clearBackends()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public LoadBalancerInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
clearHealthCheckUri() (deprecated)
public LoadBalancerInfo.Builder clearHealthCheckUri()
Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658
URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.
string health_check_uri = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
clearLoadBalancerType()
public LoadBalancerInfo.Builder clearLoadBalancerType()
Type of the load balancer.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LoadBalancerInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
clone()
public LoadBalancerInfo.Builder clone()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
getBackendType()
public LoadBalancerInfo.BackendType getBackendType()
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.BackendType | The backendType. |
getBackendTypeValue()
public int getBackendTypeValue()
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for backendType. |
getBackendUri()
public String getBackendUri()
Backend configuration URI.
string backend_uri = 5;
Returns | |
---|---|
Type | Description |
String | The backendUri. |
getBackendUriBytes()
public ByteString getBackendUriBytes()
Backend configuration URI.
string backend_uri = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for backendUri. |
getBackends(int index)
public LoadBalancerBackend getBackends(int index)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LoadBalancerBackend |
getBackendsBuilder(int index)
public LoadBalancerBackend.Builder getBackendsBuilder(int index)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LoadBalancerBackend.Builder |
getBackendsBuilderList()
public List<LoadBalancerBackend.Builder> getBackendsBuilderList()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getBackendsCount()
public int getBackendsCount()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
int |
getBackendsList()
public List<LoadBalancerBackend> getBackendsList()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<LoadBalancerBackend> |
getBackendsOrBuilder(int index)
public LoadBalancerBackendOrBuilder getBackendsOrBuilder(int index)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LoadBalancerBackendOrBuilder |
getBackendsOrBuilderList()
public List<? extends LoadBalancerBackendOrBuilder> getBackendsOrBuilderList()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> |
getDefaultInstanceForType()
public LoadBalancerInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHealthCheckUri() (deprecated)
public String getHealthCheckUri()
Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658
URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.
string health_check_uri = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
String | The healthCheckUri. |
getHealthCheckUriBytes() (deprecated)
public ByteString getHealthCheckUriBytes()
Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658
URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.
string health_check_uri = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for healthCheckUri. |
getLoadBalancerType()
public LoadBalancerInfo.LoadBalancerType getLoadBalancerType()
Type of the load balancer.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.LoadBalancerType | The loadBalancerType. |
getLoadBalancerTypeValue()
public int getLoadBalancerTypeValue()
Type of the load balancer.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for loadBalancerType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LoadBalancerInfo other)
public LoadBalancerInfo.Builder mergeFrom(LoadBalancerInfo other)
Parameter | |
---|---|
Name | Description |
other | LoadBalancerInfo |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LoadBalancerInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LoadBalancerInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LoadBalancerInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
removeBackends(int index)
public LoadBalancerInfo.Builder removeBackends(int index)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
setBackendType(LoadBalancerInfo.BackendType value)
public LoadBalancerInfo.Builder setBackendType(LoadBalancerInfo.BackendType value)
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
Parameter | |
---|---|
Name | Description |
value | LoadBalancerInfo.BackendType The backendType to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setBackendTypeValue(int value)
public LoadBalancerInfo.Builder setBackendTypeValue(int value)
Type of load balancer's backend configuration.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.BackendType backend_type = 4;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for backendType to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setBackendUri(String value)
public LoadBalancerInfo.Builder setBackendUri(String value)
Backend configuration URI.
string backend_uri = 5;
Parameter | |
---|---|
Name | Description |
value | String The backendUri to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setBackendUriBytes(ByteString value)
public LoadBalancerInfo.Builder setBackendUriBytes(ByteString value)
Backend configuration URI.
string backend_uri = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for backendUri to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setBackends(int index, LoadBalancerBackend value)
public LoadBalancerInfo.Builder setBackends(int index, LoadBalancerBackend value)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameters | |
---|---|
Name | Description |
index | int |
value | LoadBalancerBackend |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
setBackends(int index, LoadBalancerBackend.Builder builderForValue)
public LoadBalancerInfo.Builder setBackends(int index, LoadBalancerBackend.Builder builderForValue)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | LoadBalancerBackend.Builder |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LoadBalancerInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
setHealthCheckUri(String value) (deprecated)
public LoadBalancerInfo.Builder setHealthCheckUri(String value)
Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658
URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.
string health_check_uri = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | String The healthCheckUri to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setHealthCheckUriBytes(ByteString value) (deprecated)
public LoadBalancerInfo.Builder setHealthCheckUriBytes(ByteString value)
Deprecated. google.cloud.networkmanagement.v1.LoadBalancerInfo.health_check_uri is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=658
URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks.
string health_check_uri = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for healthCheckUri to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setLoadBalancerType(LoadBalancerInfo.LoadBalancerType value)
public LoadBalancerInfo.Builder setLoadBalancerType(LoadBalancerInfo.LoadBalancerType value)
Type of the load balancer.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;
Parameter | |
---|---|
Name | Description |
value | LoadBalancerInfo.LoadBalancerType The loadBalancerType to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setLoadBalancerTypeValue(int value)
public LoadBalancerInfo.Builder setLoadBalancerTypeValue(int value)
Type of the load balancer.
.google.cloud.networkmanagement.v1.LoadBalancerInfo.LoadBalancerType load_balancer_type = 1;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for loadBalancerType to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LoadBalancerInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LoadBalancerInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |