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
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
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
Returns
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
Returns
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
Returns
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
Returns
addHealthsBuilder()
public HealthStatusForNetworkEndpoint.Builder addHealthsBuilder()
[Output only] The health status of network endpoint;
repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpointWithHealthStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NetworkEndpointWithHealthStatus build()
Returns
buildPartial()
public NetworkEndpointWithHealthStatus buildPartial()
Returns
clear()
public NetworkEndpointWithHealthStatus.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public NetworkEndpointWithHealthStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHealths()
public NetworkEndpointWithHealthStatus.Builder clearHealths()
[Output only] The health status of network endpoint;
repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
Returns
clearNetworkEndpoint()
public NetworkEndpointWithHealthStatus.Builder clearNetworkEndpoint()
[Output only] The network endpoint;
optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkEndpointWithHealthStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NetworkEndpointWithHealthStatus.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NetworkEndpointWithHealthStatus getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getHealthsBuilderList()
public List<HealthStatusForNetworkEndpoint.Builder> getHealthsBuilderList()
[Output only] The health status of network endpoint;
repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
Returns
getHealthsCount()
public int getHealthsCount()
[Output only] The health status of network endpoint;
repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
Returns
getHealthsList()
public List<HealthStatusForNetworkEndpoint> getHealthsList()
[Output only] The health status of network endpoint;
repeated .google.cloud.compute.v1.HealthStatusForNetworkEndpoint healths = 258689431;
Returns
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
Returns
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
getNetworkEndpointBuilder()
public NetworkEndpoint.Builder getNetworkEndpointBuilder()
[Output only] The network endpoint;
optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
Returns
getNetworkEndpointOrBuilder()
public NetworkEndpointOrBuilder getNetworkEndpointOrBuilder()
[Output only] The network endpoint;
optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(NetworkEndpointWithHealthStatus other)
public NetworkEndpointWithHealthStatus.Builder mergeFrom(NetworkEndpointWithHealthStatus other)
Parameter
Returns
public NetworkEndpointWithHealthStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NetworkEndpointWithHealthStatus.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpointWithHealthStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpointWithHealthStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setNetworkEndpoint(NetworkEndpoint value)
public NetworkEndpointWithHealthStatus.Builder setNetworkEndpoint(NetworkEndpoint value)
[Output only] The network endpoint;
optional .google.cloud.compute.v1.NetworkEndpoint network_endpoint = 56789126;
Parameter
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkEndpointWithHealthStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpointWithHealthStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides