Interface PubsubClientTelemetry.PublishOperationOrBuilder (1.157.0)

public static interface PubsubClientTelemetry.PublishOperationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHedgedAttemptCount()

public abstract int getHedgedAttemptCount()

Optional. If the publisher client is using publish hedging, provides the attempt count for the hedge (starting at 1). A value of 0 indicates that the request was not hedged.

int32 hedged_attempt_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The hedgedAttemptCount.

getPublishStartTime()

public abstract Timestamp getPublishStartTime()

Optional. Time at which the publish() call was initiated in the client library, meaning across all RPC retry attempts, see grpc retries. Provides a sense of the end-to-end publish duration from the client perspective, across retries.

.google.protobuf.Timestamp publish_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The publishStartTime.

getPublishStartTimeOrBuilder()

public abstract TimestampOrBuilder getPublishStartTimeOrBuilder()

Optional. Time at which the publish() call was initiated in the client library, meaning across all RPC retry attempts, see grpc retries. Provides a sense of the end-to-end publish duration from the client perspective, across retries.

.google.protobuf.Timestamp publish_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

hasPublishStartTime()

public abstract boolean hasPublishStartTime()

Optional. Time at which the publish() call was initiated in the client library, meaning across all RPC retry attempts, see grpc retries. Provides a sense of the end-to-end publish duration from the client perspective, across retries.

.google.protobuf.Timestamp publish_start_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the publishStartTime field is set.