Class NetworkEndpointWithHealthStatus.Builder (1.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.HealthStatusForNetworkEndpoint>
Returns
TypeDescription
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
NameDescription
valueHealthStatusForNetworkEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueHealthStatusForNetworkEndpoint.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHealthStatusForNetworkEndpoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHealthStatusForNetworkEndpoint.Builder
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

addHealthsBuilder()

public HealthStatusForNetworkEndpoint.Builder addHealthsBuilder()

[Output only] The health status of network endpoint;

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HealthStatusForNetworkEndpoint.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointWithHealthStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides

build()

public NetworkEndpointWithHealthStatus build()
Returns
TypeDescription
NetworkEndpointWithHealthStatus

buildPartial()

public NetworkEndpointWithHealthStatus buildPartial()
Returns
TypeDescription
NetworkEndpointWithHealthStatus

clear()

public NetworkEndpointWithHealthStatus.Builder clear()
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkEndpointWithHealthStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
NetworkEndpointWithHealthStatus.Builder

clearNetworkEndpoint()

public NetworkEndpointWithHealthStatus.Builder clearNetworkEndpoint()

[Output only] The network endpoint;

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

Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkEndpointWithHealthStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides

clone()

public NetworkEndpointWithHealthStatus.Builder clone()
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides

getDefaultInstanceForType()

public NetworkEndpointWithHealthStatus getDefaultInstanceForType()
Returns
TypeDescription
NetworkEndpointWithHealthStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getHealthsCount()

public int getHealthsCount()

[Output only] The health status of network endpoint;

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

Returns
TypeDescription
int

getHealthsList()

public List<HealthStatusForNetworkEndpoint> getHealthsList()

[Output only] The health status of network endpoint;

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HealthStatusForNetworkEndpointOrBuilder

getHealthsOrBuilderList()

public List<? extends HealthStatusForNetworkEndpointOrBuilder> getHealthsOrBuilderList()

[Output only] The health status of network endpoint;

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

Returns
TypeDescription
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
TypeDescription
NetworkEndpoint

The networkEndpoint.

getNetworkEndpointBuilder()

public NetworkEndpoint.Builder getNetworkEndpointBuilder()

[Output only] The network endpoint;

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

Returns
TypeDescription
NetworkEndpoint.Builder

getNetworkEndpointOrBuilder()

public NetworkEndpointOrBuilder getNetworkEndpointOrBuilder()

[Output only] The network endpoint;

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

Returns
TypeDescription
NetworkEndpointOrBuilder

hasNetworkEndpoint()

public boolean hasNetworkEndpoint()

[Output only] The network endpoint;

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

Returns
TypeDescription
boolean

Whether the networkEndpoint field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkEndpointWithHealthStatus other)

public NetworkEndpointWithHealthStatus.Builder mergeFrom(NetworkEndpointWithHealthStatus other)
Parameter
NameDescription
otherNetworkEndpointWithHealthStatus
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkEndpointWithHealthStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkEndpointWithHealthStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNetworkEndpoint
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointWithHealthStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkEndpointWithHealthStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueHealthStatusForNetworkEndpoint
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHealthStatusForNetworkEndpoint.Builder
Returns
TypeDescription
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
NameDescription
valueNetworkEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueNetworkEndpoint.Builder
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

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

public NetworkEndpointWithHealthStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkEndpointWithHealthStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides