Class HealthSourcesScopedList (1.105.0)

public final class HealthSourcesScopedList extends GeneratedMessage implements HealthSourcesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.HealthSourcesScopedList

Static Fields

HEALTH_SOURCES_FIELD_NUMBER

public static final int HEALTH_SOURCES_FIELD_NUMBER
Field Value
Type Description
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HealthSourcesScopedList getDefaultInstance()
Returns
Type Description
HealthSourcesScopedList

getDescriptor()

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

newBuilder()

public static HealthSourcesScopedList.Builder newBuilder()
Returns
Type Description
HealthSourcesScopedList.Builder

newBuilder(HealthSourcesScopedList prototype)

public static HealthSourcesScopedList.Builder newBuilder(HealthSourcesScopedList prototype)
Parameter
Name Description
prototype HealthSourcesScopedList
Returns
Type Description
HealthSourcesScopedList.Builder

parseDelimitedFrom(InputStream input)

public static HealthSourcesScopedList parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HealthSourcesScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HealthSourcesScopedList parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HealthSourcesScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HealthSourcesScopedList parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HealthSourcesScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HealthSourcesScopedList parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HealthSourcesScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HealthSourcesScopedList parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HealthSourcesScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HealthSourcesScopedList parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HealthSourcesScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HealthSourcesScopedList
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HealthSourcesScopedList> parser()
Returns
Type Description
Parser<HealthSourcesScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HealthSourcesScopedList getDefaultInstanceForType()
Returns
Type Description
HealthSourcesScopedList

getHealthSources(int index)

public HealthSource getHealthSources(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSource

getHealthSourcesCount()

public int getHealthSourcesCount()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
int

getHealthSourcesList()

public List<HealthSource> getHealthSourcesList()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Returns
Type Description
List<HealthSource>

getHealthSourcesOrBuilder(int index)

public HealthSourceOrBuilder getHealthSourcesOrBuilder(int index)

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

Parameter
Name Description
index int
Returns
Type Description
HealthSourceOrBuilder

getHealthSourcesOrBuilderList()

public List<? extends HealthSourceOrBuilder> getHealthSourcesOrBuilderList()

A list of HealthSources contained in this scope.

repeated .google.cloud.compute.v1.HealthSource health_sources = 397879509;

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

getParserForType()

public Parser<HealthSourcesScopedList> getParserForType()
Returns
Type Description
Parser<HealthSourcesScopedList>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWarning()

public Warning getWarning()

Informational warning which replaces the list of health sources when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of health sources when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of health sources when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
Type Description
boolean

Whether the warning field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HealthSourcesScopedList.Builder newBuilderForType()
Returns
Type Description
HealthSourcesScopedList.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected HealthSourcesScopedList.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HealthSourcesScopedList.Builder
Overrides

toBuilder()

public HealthSourcesScopedList.Builder toBuilder()
Returns
Type Description
HealthSourcesScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException