Class HealthSourcesGetHealthResponseSourceInfo (1.105.0)

public final class HealthSourcesGetHealthResponseSourceInfo extends GeneratedMessage implements HealthSourcesGetHealthResponseSourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > HealthSourcesGetHealthResponseSourceInfo

Static Fields

BACKENDS_FIELD_NUMBER

public static final int BACKENDS_FIELD_NUMBER
Field Value
Type Description
int

FORWARDING_RULE_FIELD_NUMBER

public static final int FORWARDING_RULE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HealthSourcesGetHealthResponseSourceInfo getDefaultInstance()
Returns
Type Description
HealthSourcesGetHealthResponseSourceInfo

getDescriptor()

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

newBuilder()

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

newBuilder(HealthSourcesGetHealthResponseSourceInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackends(int index)

public HealthSourcesGetHealthResponseSourceInfoBackendInfo getBackends(int index)

Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.

repeated .google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo backends = 510839903;

Parameter
Name Description
index int
Returns
Type Description
HealthSourcesGetHealthResponseSourceInfoBackendInfo

getBackendsCount()

public int getBackendsCount()

Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.

repeated .google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo backends = 510839903;

Returns
Type Description
int

getBackendsList()

public List<HealthSourcesGetHealthResponseSourceInfoBackendInfo> getBackendsList()

Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.

repeated .google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo backends = 510839903;

Returns
Type Description
List<HealthSourcesGetHealthResponseSourceInfoBackendInfo>

getBackendsOrBuilder(int index)

public HealthSourcesGetHealthResponseSourceInfoBackendInfoOrBuilder getBackendsOrBuilder(int index)

Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.

repeated .google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo backends = 510839903;

Parameter
Name Description
index int
Returns
Type Description
HealthSourcesGetHealthResponseSourceInfoBackendInfoOrBuilder

getBackendsOrBuilderList()

public List<? extends HealthSourcesGetHealthResponseSourceInfoBackendInfoOrBuilder> getBackendsOrBuilderList()

Represents an instance group or network endpoint group behind the source backend service. Only used if the sourceType of the regionHealthSource is BACKEND_SERVICE.

repeated .google.cloud.compute.v1.HealthSourcesGetHealthResponseSourceInfoBackendInfo backends = 510839903;

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

getDefaultInstanceForType()

public HealthSourcesGetHealthResponseSourceInfo getDefaultInstanceForType()
Returns
Type Description
HealthSourcesGetHealthResponseSourceInfo

getForwardingRule()

public String getForwardingRule()

Fully qualified URL of the forwarding rule associated with the source resource if it is a L4ILB backend service.

optional string forwarding_rule = 269964030;

Returns
Type Description
String

The forwardingRule.

getForwardingRuleBytes()

public ByteString getForwardingRuleBytes()

Fully qualified URL of the forwarding rule associated with the source resource if it is a L4ILB backend service.

optional string forwarding_rule = 269964030;

Returns
Type Description
ByteString

The bytes for forwardingRule.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSource()

public String getSource()

Fully qualified URL of the associated source resource. This is always a backend service URL.

optional string source = 177235995;

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Fully qualified URL of the associated source resource. This is always a backend service URL.

optional string source = 177235995;

Returns
Type Description
ByteString

The bytes for source.

hasForwardingRule()

public boolean hasForwardingRule()

Fully qualified URL of the forwarding rule associated with the source resource if it is a L4ILB backend service.

optional string forwarding_rule = 269964030;

Returns
Type Description
boolean

Whether the forwardingRule field is set.

hasSource()

public boolean hasSource()

Fully qualified URL of the associated source resource. This is always a backend service URL.

optional string source = 177235995;

Returns
Type Description
boolean

Whether the source 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 HealthSourcesGetHealthResponseSourceInfo.Builder newBuilderForType()
Returns
Type Description
HealthSourcesGetHealthResponseSourceInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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