Class HealthCheckRequest.Builder (0.11.0)

public static final class HealthCheckRequest.Builder extends GeneratedMessageV3.Builder<HealthCheckRequest.Builder> implements HealthCheckRequestOrBuilder

HealthCheckRequest is the request message for Check.

Protobuf type google.cloud.visionai.v1.HealthCheckRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HealthCheckRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HealthCheckRequest.Builder
Overrides

build()

public HealthCheckRequest build()
Returns
Type Description
HealthCheckRequest

buildPartial()

public HealthCheckRequest buildPartial()
Returns
Type Description
HealthCheckRequest

clear()

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

clearCluster()

public HealthCheckRequest.Builder clearCluster()

The parent of the resource.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
HealthCheckRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public HealthCheckRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HealthCheckRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HealthCheckRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HealthCheckRequest.Builder
Overrides

clone()

public HealthCheckRequest.Builder clone()
Returns
Type Description
HealthCheckRequest.Builder
Overrides

getCluster()

public String getCluster()

The parent of the resource.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

The parent of the resource.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public HealthCheckRequest getDefaultInstanceForType()
Returns
Type Description
HealthCheckRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HealthCheckRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HealthCheckRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HealthCheckRequest.Builder
Overrides

setCluster(String value)

public HealthCheckRequest.Builder setCluster(String value)

The parent of the resource.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The cluster to set.

Returns
Type Description
HealthCheckRequest.Builder

This builder for chaining.

setClusterBytes(ByteString value)

public HealthCheckRequest.Builder setClusterBytes(ByteString value)

The parent of the resource.

string cluster = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for cluster to set.

Returns
Type Description
HealthCheckRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public HealthCheckRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HealthCheckRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HealthCheckRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HealthCheckRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final HealthCheckRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HealthCheckRequest.Builder
Overrides