Class ResponseParams.Builder (2.11.0)

public static final class ResponseParams.Builder extends GeneratedMessageV3.Builder<ResponseParams.Builder> implements ResponseParamsOrBuilder

Response metadata proto This is an experimental feature that will be used to get zone_id and cluster_id from response trailers to tag the metrics. This should not be used by customers directly

Protobuf type google.bigtable.v2.ResponseParams

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResponseParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseParams.Builder
Overrides

build()

public ResponseParams build()
Returns
TypeDescription
ResponseParams

buildPartial()

public ResponseParams buildPartial()
Returns
TypeDescription
ResponseParams

clear()

public ResponseParams.Builder clear()
Returns
TypeDescription
ResponseParams.Builder
Overrides

clearClusterId()

public ResponseParams.Builder clearClusterId()

Identifier for a cluster that represents set of bigtable resources.

optional string cluster_id = 2;

Returns
TypeDescription
ResponseParams.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ResponseParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResponseParams.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ResponseParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResponseParams.Builder
Overrides

clearZoneId()

public ResponseParams.Builder clearZoneId()

The cloud bigtable zone associated with the cluster.

optional string zone_id = 1;

Returns
TypeDescription
ResponseParams.Builder

This builder for chaining.

clone()

public ResponseParams.Builder clone()
Returns
TypeDescription
ResponseParams.Builder
Overrides

getClusterId()

public String getClusterId()

Identifier for a cluster that represents set of bigtable resources.

optional string cluster_id = 2;

Returns
TypeDescription
String

The clusterId.

getClusterIdBytes()

public ByteString getClusterIdBytes()

Identifier for a cluster that represents set of bigtable resources.

optional string cluster_id = 2;

Returns
TypeDescription
ByteString

The bytes for clusterId.

getDefaultInstanceForType()

public ResponseParams getDefaultInstanceForType()
Returns
TypeDescription
ResponseParams

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getZoneId()

public String getZoneId()

The cloud bigtable zone associated with the cluster.

optional string zone_id = 1;

Returns
TypeDescription
String

The zoneId.

getZoneIdBytes()

public ByteString getZoneIdBytes()

The cloud bigtable zone associated with the cluster.

optional string zone_id = 1;

Returns
TypeDescription
ByteString

The bytes for zoneId.

hasClusterId()

public boolean hasClusterId()

Identifier for a cluster that represents set of bigtable resources.

optional string cluster_id = 2;

Returns
TypeDescription
boolean

Whether the clusterId field is set.

hasZoneId()

public boolean hasZoneId()

The cloud bigtable zone associated with the cluster.

optional string zone_id = 1;

Returns
TypeDescription
boolean

Whether the zoneId field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResponseParams other)

public ResponseParams.Builder mergeFrom(ResponseParams other)
Parameter
NameDescription
otherResponseParams
Returns
TypeDescription
ResponseParams.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResponseParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ResponseParams.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResponseParams.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResponseParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseParams.Builder
Overrides

setClusterId(String value)

public ResponseParams.Builder setClusterId(String value)

Identifier for a cluster that represents set of bigtable resources.

optional string cluster_id = 2;

Parameter
NameDescription
valueString

The clusterId to set.

Returns
TypeDescription
ResponseParams.Builder

This builder for chaining.

setClusterIdBytes(ByteString value)

public ResponseParams.Builder setClusterIdBytes(ByteString value)

Identifier for a cluster that represents set of bigtable resources.

optional string cluster_id = 2;

Parameter
NameDescription
valueByteString

The bytes for clusterId to set.

Returns
TypeDescription
ResponseParams.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ResponseParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResponseParams.Builder
Overrides

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

public ResponseParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResponseParams.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResponseParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResponseParams.Builder
Overrides

setZoneId(String value)

public ResponseParams.Builder setZoneId(String value)

The cloud bigtable zone associated with the cluster.

optional string zone_id = 1;

Parameter
NameDescription
valueString

The zoneId to set.

Returns
TypeDescription
ResponseParams.Builder

This builder for chaining.

setZoneIdBytes(ByteString value)

public ResponseParams.Builder setZoneIdBytes(ByteString value)

The cloud bigtable zone associated with the cluster.

optional string zone_id = 1;

Parameter
NameDescription
valueByteString

The bytes for zoneId to set.

Returns
TypeDescription
ResponseParams.Builder

This builder for chaining.