Class GetHealthRegionHealthSourceRequest.Builder (1.105.0)

public static final class GetHealthRegionHealthSourceRequest.Builder extends GeneratedMessage.Builder<GetHealthRegionHealthSourceRequest.Builder> implements GetHealthRegionHealthSourceRequestOrBuilder

A request message for RegionHealthSources.GetHealth. See the method description for details.

Protobuf type google.cloud.compute.v1.GetHealthRegionHealthSourceRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetHealthRegionHealthSourceRequest build()
Returns
Type Description
GetHealthRegionHealthSourceRequest

buildPartial()

public GetHealthRegionHealthSourceRequest buildPartial()
Returns
Type Description
GetHealthRegionHealthSourceRequest

clear()

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

clearHealthSource()

public GetHealthRegionHealthSourceRequest.Builder clearHealthSource()

Name of the HealthSource resource to get health for.

string health_source = 376521566 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

clearProject()

public GetHealthRegionHealthSourceRequest.Builder clearProject()

Name of the project scoping this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

clearRegion()

public GetHealthRegionHealthSourceRequest.Builder clearRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetHealthRegionHealthSourceRequest getDefaultInstanceForType()
Returns
Type Description
GetHealthRegionHealthSourceRequest

getDescriptorForType()

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

getHealthSource()

public String getHealthSource()

Name of the HealthSource resource to get health for.

string health_source = 376521566 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The healthSource.

getHealthSourceBytes()

public ByteString getHealthSourceBytes()

Name of the HealthSource resource to get health for.

string health_source = 376521566 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for healthSource.

getProject()

public String getProject()

Name of the project scoping this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Name of the project scoping this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for project.

getRegion()

public String getRegion()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for region.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetHealthRegionHealthSourceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setHealthSource(String value)

public GetHealthRegionHealthSourceRequest.Builder setHealthSource(String value)

Name of the HealthSource resource to get health for.

string health_source = 376521566 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The healthSource to set.

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

setHealthSourceBytes(ByteString value)

public GetHealthRegionHealthSourceRequest.Builder setHealthSourceBytes(ByteString value)

Name of the HealthSource resource to get health for.

string health_source = 376521566 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for healthSource to set.

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

setProject(String value)

public GetHealthRegionHealthSourceRequest.Builder setProject(String value)

Name of the project scoping this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetHealthRegionHealthSourceRequest.Builder setProjectBytes(ByteString value)

Name of the project scoping this request.

string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

setRegion(String value)

public GetHealthRegionHealthSourceRequest.Builder setRegion(String value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The region to set.

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetHealthRegionHealthSourceRequest.Builder setRegionBytes(ByteString value)

Name of the region scoping this request.

string region = 138946292 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
GetHealthRegionHealthSourceRequest.Builder

This builder for chaining.