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.events.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.events.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.events.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.events.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.events.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.events.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.events.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.events.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.events.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.events.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.events.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()
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.events.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.events.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.events.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.events.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.events.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.events.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<Builder> |
getBackendsCount()
public int getBackendsCount()
Information for the loadbalancer backends.
repeated .google.events.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
int |
getBackendsList()
public List<LoadBalancerBackend> getBackendsList()
Information for the loadbalancer backends.
repeated .google.events.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.events.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.events.cloud.networkmanagement.v1.LoadBalancerBackend backends = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.networkmanagement.v1.LoadBalancerBackendOrBuilder> |
getDefaultInstanceForType()
public LoadBalancerInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LoadBalancerInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHealthCheckUri()
public String getHealthCheckUri()
URI of the health check for the load balancer.
string health_check_uri = 2;
Returns | |
---|---|
Type | Description |
String | The healthCheckUri. |
getHealthCheckUriBytes()
public ByteString getHealthCheckUriBytes()
URI of the health check for the load balancer.
string health_check_uri = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for healthCheckUri. |
getLoadBalancerType()
public LoadBalancerInfo.LoadBalancerType getLoadBalancerType()
Type of the load balancer.
.google.events.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.events.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.events.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.events.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.events.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.events.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.events.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)
public LoadBalancerInfo.Builder setHealthCheckUri(String value)
URI of the health check for the load balancer.
string health_check_uri = 2;
Parameter | |
---|---|
Name | Description |
value | String The healthCheckUri to set. |
Returns | |
---|---|
Type | Description |
LoadBalancerInfo.Builder | This builder for chaining. |
setHealthCheckUriBytes(ByteString value)
public LoadBalancerInfo.Builder setHealthCheckUriBytes(ByteString value)
URI of the health check for the load balancer.
string health_check_uri = 2;
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.events.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.events.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 |