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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseParams.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResponseParams build()
Returns
buildPartial()
public ResponseParams buildPartial()
Returns
clear()
public ResponseParams.Builder clear()
Returns
Overrides
clearClusterId()
public ResponseParams.Builder clearClusterId()
Identifier for a cluster that represents set of
bigtable resources.
optional string cluster_id = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public ResponseParams.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseParams.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearZoneId()
public ResponseParams.Builder clearZoneId()
The cloud bigtable zone associated with the cluster.
optional string zone_id = 1;
Returns
clone()
public ResponseParams.Builder clone()
Returns
Overrides
getClusterId()
public String getClusterId()
Identifier for a cluster that represents set of
bigtable resources.
optional string cluster_id = 2;
Returns
Type | Description |
String | The clusterId.
|
getClusterIdBytes()
public ByteString getClusterIdBytes()
Identifier for a cluster that represents set of
bigtable resources.
optional string cluster_id = 2;
Returns
getDefaultInstanceForType()
public ResponseParams getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getZoneId()
public String getZoneId()
The cloud bigtable zone associated with the cluster.
optional string zone_id = 1;
Returns
Type | Description |
String | The zoneId.
|
getZoneIdBytes()
public ByteString getZoneIdBytes()
The cloud bigtable zone associated with the cluster.
optional string zone_id = 1;
Returns
hasClusterId()
public boolean hasClusterId()
Identifier for a cluster that represents set of
bigtable resources.
optional string cluster_id = 2;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the zoneId field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResponseParams other)
public ResponseParams.Builder mergeFrom(ResponseParams other)
Parameter
Returns
public ResponseParams.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResponseParams.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseParams.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | String
The clusterId to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for clusterId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseParams.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseParams.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseParams.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setZoneId(String value)
public ResponseParams.Builder setZoneId(String value)
The cloud bigtable zone associated with the cluster.
optional string zone_id = 1;
Parameter
Name | Description |
value | String
The zoneId to set.
|
Returns
setZoneIdBytes(ByteString value)
public ResponseParams.Builder setZoneIdBytes(ByteString value)
The cloud bigtable zone associated with the cluster.
optional string zone_id = 1;
Parameter
Name | Description |
value | ByteString
The bytes for zoneId to set.
|
Returns