Class NetworkEndpointWithHealthStatus (1.22.0)

public final class NetworkEndpointWithHealthStatus extends GeneratedMessageV3 implements NetworkEndpointWithHealthStatusOrBuilder

Protobuf type google.cloud.compute.v1.NetworkEndpointWithHealthStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > NetworkEndpointWithHealthStatus

Static Fields

HEALTHS_FIELD_NUMBER

public static final int HEALTHS_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_ENDPOINT_FIELD_NUMBER

public static final int NETWORK_ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkEndpointWithHealthStatus getDefaultInstance()
Returns
TypeDescription
NetworkEndpointWithHealthStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NetworkEndpointWithHealthStatus.Builder newBuilder()
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

newBuilder(NetworkEndpointWithHealthStatus prototype)

public static NetworkEndpointWithHealthStatus.Builder newBuilder(NetworkEndpointWithHealthStatus prototype)
Parameter
NameDescription
prototypeNetworkEndpointWithHealthStatus
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

parseDelimitedFrom(InputStream input)

public static NetworkEndpointWithHealthStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointWithHealthStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NetworkEndpointWithHealthStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointWithHealthStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NetworkEndpointWithHealthStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointWithHealthStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NetworkEndpointWithHealthStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointWithHealthStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NetworkEndpointWithHealthStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointWithHealthStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NetworkEndpointWithHealthStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NetworkEndpointWithHealthStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkEndpointWithHealthStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NetworkEndpointWithHealthStatus> parser()
Returns
TypeDescription
Parser<NetworkEndpointWithHealthStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NetworkEndpointWithHealthStatus getDefaultInstanceForType()
Returns
TypeDescription
NetworkEndpointWithHealthStatus

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

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.

getNetworkEndpointOrBuilder()

public NetworkEndpointOrBuilder getNetworkEndpointOrBuilder()

[Output only] The network endpoint;

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

Returns
TypeDescription
NetworkEndpointOrBuilder

getParserForType()

public Parser<NetworkEndpointWithHealthStatus> getParserForType()
Returns
TypeDescription
Parser<NetworkEndpointWithHealthStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NetworkEndpointWithHealthStatus.Builder newBuilderForType()
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NetworkEndpointWithHealthStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NetworkEndpointWithHealthStatus.Builder toBuilder()
Returns
TypeDescription
NetworkEndpointWithHealthStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException