public final class PubsubClientTelemetry extends GeneratedMessage implements PubsubClientTelemetryOrBuilder Client-side telemetry about Pub/Sub requests, useful for debugging purposes.
If the client opts to provide this information, it will be passed as a
serialized proto in the x-goog-pubsub-client-telemetry header.
Protobuf type google.pubsub.v1.PubsubClientTelemetry
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PubsubClientTelemetryImplements
PubsubClientTelemetryOrBuilderStatic Fields
PUBLISH_OPERATION_FIELD_NUMBER
public static final int PUBLISH_OPERATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PubsubClientTelemetry getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PubsubClientTelemetry.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.Builder |
|
newBuilder(PubsubClientTelemetry prototype)
public static PubsubClientTelemetry.Builder newBuilder(PubsubClientTelemetry prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PubsubClientTelemetry |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.Builder |
|
parseDelimitedFrom(InputStream input)
public static PubsubClientTelemetry parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PubsubClientTelemetry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PubsubClientTelemetry parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PubsubClientTelemetry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PubsubClientTelemetry parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PubsubClientTelemetry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PubsubClientTelemetry parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PubsubClientTelemetry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PubsubClientTelemetry parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PubsubClientTelemetry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PubsubClientTelemetry parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PubsubClientTelemetry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PubsubClientTelemetry> parser()| Returns | |
|---|---|
| Type | Description |
Parser<PubsubClientTelemetry> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public PubsubClientTelemetry getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry |
|
getOperationCase()
public PubsubClientTelemetry.OperationCase getOperationCase()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.OperationCase |
|
getParserForType()
public Parser<PubsubClientTelemetry> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<PubsubClientTelemetry> |
|
getPublishOperation()
public PubsubClientTelemetry.PublishOperation getPublishOperation() Optional. Telemetry about a Publish operation.
.google.pubsub.v1.PubsubClientTelemetry.PublishOperation publish_operation = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation |
The publishOperation. |
getPublishOperationOrBuilder()
public PubsubClientTelemetry.PublishOperationOrBuilder getPublishOperationOrBuilder() Optional. Telemetry about a Publish operation.
.google.pubsub.v1.PubsubClientTelemetry.PublishOperation publish_operation = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperationOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasPublishOperation()
public boolean hasPublishOperation() Optional. Telemetry about a Publish operation.
.google.pubsub.v1.PubsubClientTelemetry.PublishOperation publish_operation = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the publishOperation field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public PubsubClientTelemetry.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PubsubClientTelemetry.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.Builder |
|
toBuilder()
public PubsubClientTelemetry.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|