Class NetworkEndpointWithHealthStatus.Builder (1.63.0)

public static final class NetworkEndpointWithHealthStatus.Builder extends GeneratedMessageV3.Builder<NetworkEndpointWithHealthStatus.Builder> implements NetworkEndpointWithHealthStatusOrBuilder

Protobuf type google.cloud.compute.v1.NetworkEndpointWithHealthStatus

Static Methods

getDescriptor()

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

Methods

addAllHealths(Iterable<? extends HealthStatusForNetworkEndpoint> values)

public NetworkEndpointWithHealthStatus.Builder addAllHealths(Iterable<? extends HealthStatusForNetworkEndpoint> values)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.HealthStatusForNetworkEndpoint>
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

addHealths(HealthStatusForNetworkEndpoint value)

public NetworkEndpointWithHealthStatus.Builder addHealths(HealthStatusForNetworkEndpoint value)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
value HealthStatusForNetworkEndpoint
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

addHealths(HealthStatusForNetworkEndpoint.Builder builderForValue)

public NetworkEndpointWithHealthStatus.Builder addHealths(HealthStatusForNetworkEndpoint.Builder builderForValue)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
builderForValue HealthStatusForNetworkEndpoint.Builder
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

addHealths(int index, HealthStatusForNetworkEndpoint value)

public NetworkEndpointWithHealthStatus.Builder addHealths(int index, HealthStatusForNetworkEndpoint value)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameters
Name Description
index int
value HealthStatusForNetworkEndpoint
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

addHealths(int index, HealthStatusForNetworkEndpoint.Builder builderForValue)

public NetworkEndpointWithHealthStatus.Builder addHealths(int index, HealthStatusForNetworkEndpoint.Builder builderForValue)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameters
Name Description
index int
builderForValue HealthStatusForNetworkEndpoint.Builder
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

addHealthsBuilder()

public HealthStatusForNetworkEndpoint.Builder addHealthsBuilder()

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

addHealthsBuilder(int index)

public HealthStatusForNetworkEndpoint.Builder addHealthsBuilder(int index)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
index int
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NetworkEndpointWithHealthStatus build()
Returns
Type Description
NetworkEndpointWithHealthStatus

buildPartial()

public NetworkEndpointWithHealthStatus buildPartial()
Returns
Type Description
NetworkEndpointWithHealthStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHealths()

public NetworkEndpointWithHealthStatus.Builder clearHealths()

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

clearNetworkEndpoint()

public NetworkEndpointWithHealthStatus.Builder clearNetworkEndpoint()

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public NetworkEndpointWithHealthStatus getDefaultInstanceForType()
Returns
Type Description
NetworkEndpointWithHealthStatus

getDescriptorForType()

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

getHealths(int index)

public HealthStatusForNetworkEndpoint getHealths(int index)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
index int
Returns
Type Description
HealthStatusForNetworkEndpoint

getHealthsBuilder(int index)

public HealthStatusForNetworkEndpoint.Builder getHealthsBuilder(int index)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
index int
Returns
Type Description
HealthStatusForNetworkEndpoint.Builder

getHealthsBuilderList()

public List<HealthStatusForNetworkEndpoint.Builder> getHealthsBuilderList()

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
Type Description
List<Builder>

getHealthsCount()

public int getHealthsCount()

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
Type Description
int

getHealthsList()

public List<HealthStatusForNetworkEndpoint> getHealthsList()

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
Type Description
List<HealthStatusForNetworkEndpoint>

getHealthsOrBuilder(int index)

public HealthStatusForNetworkEndpointOrBuilder getHealthsOrBuilder(int index)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
index int
Returns
Type Description
HealthStatusForNetworkEndpointOrBuilder

getHealthsOrBuilderList()

public List<? extends HealthStatusForNetworkEndpointOrBuilder> getHealthsOrBuilderList()

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.HealthStatusForNetworkEndpointOrBuilder>

getNetworkEndpoint()

public NetworkEndpoint getNetworkEndpoint()

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
NetworkEndpoint

The networkEndpoint.

getNetworkEndpointBuilder()

public NetworkEndpoint.Builder getNetworkEndpointBuilder()

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
NetworkEndpoint.Builder

getNetworkEndpointOrBuilder()

public NetworkEndpointOrBuilder getNetworkEndpointOrBuilder()

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
NetworkEndpointOrBuilder

hasNetworkEndpoint()

public boolean hasNetworkEndpoint()

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Returns
Type Description
boolean

Whether the networkEndpoint field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkEndpointWithHealthStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetworkEndpoint(NetworkEndpoint value)

public NetworkEndpointWithHealthStatus.Builder mergeNetworkEndpoint(NetworkEndpoint value)

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Parameter
Name Description
value NetworkEndpoint
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeHealths(int index)

public NetworkEndpointWithHealthStatus.Builder removeHealths(int index)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameter
Name Description
index int
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealths(int index, HealthStatusForNetworkEndpoint value)

public NetworkEndpointWithHealthStatus.Builder setHealths(int index, HealthStatusForNetworkEndpoint value)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameters
Name Description
index int
value HealthStatusForNetworkEndpoint
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

setHealths(int index, HealthStatusForNetworkEndpoint.Builder builderForValue)

public NetworkEndpointWithHealthStatus.Builder setHealths(int index, HealthStatusForNetworkEndpoint.Builder builderForValue)

[Output only] The health status of network endpoint;

repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;

Parameters
Name Description
index int
builderForValue HealthStatusForNetworkEndpoint.Builder
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

setNetworkEndpoint(NetworkEndpoint value)

public NetworkEndpointWithHealthStatus.Builder setNetworkEndpoint(NetworkEndpoint value)

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Parameter
Name Description
value NetworkEndpoint
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

setNetworkEndpoint(NetworkEndpoint.Builder builderForValue)

public NetworkEndpointWithHealthStatus.Builder setNetworkEndpoint(NetworkEndpoint.Builder builderForValue)

[Output only] The network endpoint;

optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;

Parameter
Name Description
builderForValue NetworkEndpoint.Builder
Returns
Type Description
NetworkEndpointWithHealthStatus.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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