Class GetRegionHealthSourceRequest.Builder (1.105.0)

public static final class GetRegionHealthSourceRequest.Builder extends GeneratedMessage.Builder<GetRegionHealthSourceRequest.Builder> implements GetRegionHealthSourceRequestOrBuilder

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

Protobuf type google.cloud.compute.v1.GetRegionHealthSourceRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetRegionHealthSourceRequest build()
Returns
Type Description
GetRegionHealthSourceRequest

buildPartial()

public GetRegionHealthSourceRequest buildPartial()
Returns
Type Description
GetRegionHealthSourceRequest

clear()

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

clearHealthSource()

public GetRegionHealthSourceRequest.Builder clearHealthSource()

Name of the HealthSource resource to return.

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

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

clearProject()

public GetRegionHealthSourceRequest.Builder clearProject()

Project ID for this request.

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

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

clearRegion()

public GetRegionHealthSourceRequest.Builder clearRegion()

Name of the region scoping this request.

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

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRegionHealthSourceRequest getDefaultInstanceForType()
Returns
Type Description
GetRegionHealthSourceRequest

getDescriptorForType()

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

getHealthSource()

public String getHealthSource()

Name of the HealthSource resource to return.

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 return.

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

Returns
Type Description
ByteString

The bytes for healthSource.

getProject()

public String getProject()

Project ID for this request.

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

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

Project ID for 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(GetRegionHealthSourceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setHealthSource(String value)

public GetRegionHealthSourceRequest.Builder setHealthSource(String value)

Name of the HealthSource resource to return.

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

Parameter
Name Description
value String

The healthSource to set.

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

setHealthSourceBytes(ByteString value)

public GetRegionHealthSourceRequest.Builder setHealthSourceBytes(ByteString value)

Name of the HealthSource resource to return.

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

Parameter
Name Description
value ByteString

The bytes for healthSource to set.

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

setProject(String value)

public GetRegionHealthSourceRequest.Builder setProject(String value)

Project ID for this request.

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

Parameter
Name Description
value String

The project to set.

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public GetRegionHealthSourceRequest.Builder setProjectBytes(ByteString value)

Project ID for this request.

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

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
GetRegionHealthSourceRequest.Builder

This builder for chaining.

setRegion(String value)

public GetRegionHealthSourceRequest.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
GetRegionHealthSourceRequest.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public GetRegionHealthSourceRequest.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
GetRegionHealthSourceRequest.Builder

This builder for chaining.