Class ResponseParams (2.14.0)

public final class ResponseParams extends GeneratedMessageV3 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 Fields

CLUSTER_ID_FIELD_NUMBER

public static final int CLUSTER_ID_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_ID_FIELD_NUMBER

public static final int ZONE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResponseParams getDefaultInstance()
Returns
TypeDescription
ResponseParams

getDescriptor()

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

newBuilder()

public static ResponseParams.Builder newBuilder()
Returns
TypeDescription
ResponseParams.Builder

newBuilder(ResponseParams prototype)

public static ResponseParams.Builder newBuilder(ResponseParams prototype)
Parameter
NameDescription
prototypeResponseParams
Returns
TypeDescription
ResponseParams.Builder

parseDelimitedFrom(InputStream input)

public static ResponseParams parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseParams parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResponseParams parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResponseParams parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResponseParams parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResponseParams parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResponseParams parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseParams parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResponseParams parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseParams parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResponseParams parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResponseParams parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseParams
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ResponseParams> parser()
Returns
TypeDescription
Parser<ResponseParams>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getParserForType()

public Parser<ResponseParams> getParserForType()
Returns
TypeDescription
Parser<ResponseParams>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResponseParams.Builder newBuilderForType()
Returns
TypeDescription
ResponseParams.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResponseParams.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResponseParams.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResponseParams.Builder toBuilder()
Returns
TypeDescription
ResponseParams.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException