Class CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder (1.105.0)

public static final class CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder extends GeneratedMessage.Builder<CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder> implements CompositeHealthChecksGetHealthResponseHealthSourceHealthOrBuilder

Protobuf type google.cloud.compute.v1.CompositeHealthChecksGetHealthResponseHealthSourceHealth

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

Static Methods

getDescriptor()

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

Methods

build()

public CompositeHealthChecksGetHealthResponseHealthSourceHealth build()
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth

buildPartial()

public CompositeHealthChecksGetHealthResponseHealthSourceHealth buildPartial()
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth

clear()

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder clear()
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder
Overrides

clearHealthState()

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder clearHealthState()

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

This builder for chaining.

clearSource()

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder clearSource()

Fully qualified URL of the associated HealthSource resource.

optional string source = 177235995;

Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

This builder for chaining.

getDefaultInstanceForType()

public CompositeHealthChecksGetHealthResponseHealthSourceHealth getDefaultInstanceForType()
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHealthState()

public String getHealthState()

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
String

The healthState.

getHealthStateBytes()

public ByteString getHealthStateBytes()

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
ByteString

The bytes for healthState.

getSource()

public String getSource()

Fully qualified URL of the associated HealthSource resource.

optional string source = 177235995;

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Fully qualified URL of the associated HealthSource resource.

optional string source = 177235995;

Returns
Type Description
ByteString

The bytes for source.

hasHealthState()

public boolean hasHealthState()

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Returns
Type Description
boolean

Whether the healthState field is set.

hasSource()

public boolean hasSource()

Fully qualified URL of the associated HealthSource resource.

optional string source = 177235995;

Returns
Type Description
boolean

Whether the source field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CompositeHealthChecksGetHealthResponseHealthSourceHealth other)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder mergeFrom(CompositeHealthChecksGetHealthResponseHealthSourceHealth other)
Parameter
Name Description
other CompositeHealthChecksGetHealthResponseHealthSourceHealth
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder
Overrides

setHealthState(String value)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder setHealthState(String value)

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Parameter
Name Description
value String

The healthState to set.

Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

This builder for chaining.

setHealthStateBytes(ByteString value)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder setHealthStateBytes(ByteString value)

Health state of the associated HealthSource resource. Check the HealthState enum for the list of possible values.

optional string health_state = 324007150;

Parameter
Name Description
value ByteString

The bytes for healthState to set.

Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

This builder for chaining.

setSource(String value)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder setSource(String value)

Fully qualified URL of the associated HealthSource resource.

optional string source = 177235995;

Parameter
Name Description
value String

The source to set.

Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

This builder for chaining.

setSourceBytes(ByteString value)

public CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder setSourceBytes(ByteString value)

Fully qualified URL of the associated HealthSource resource.

optional string source = 177235995;

Parameter
Name Description
value ByteString

The bytes for source to set.

Returns
Type Description
CompositeHealthChecksGetHealthResponseHealthSourceHealth.Builder

This builder for chaining.