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.v1beta1.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.v1beta1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackend> |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder |
addBackends(LoadBalancerBackend value)
public LoadBalancerInfo.Builder addBackends(LoadBalancerBackend value)
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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()
public LoadBalancerInfo.Builder clearHealthCheckUri()
URI of the health check for the load balancer.
string health_check_uri = 2;
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
clearLoadBalancerType()
public LoadBalancerInfo.Builder clearLoadBalancerType()
Type of the load balancer.
.google.cloud.networkmanagement.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getBackendsCount()
public int getBackendsCount()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1beta1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
int |
getBackendsList()
public List<LoadBalancerBackend> getBackendsList()
Information for the loadbalancer backends.
repeated .google.cloud.networkmanagement.v1beta1.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.v1beta1.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.v1beta1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.networkmanagement.v1beta1.LoadBalancerBackendOrBuilder> |
getDefaultInstanceForType()
public LoadBalancerInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
<