public static final class PubsubClientTelemetry.PublishOperation.Builder extends GeneratedMessage.Builder<PubsubClientTelemetry.PublishOperation.Builder> implements PubsubClientTelemetry.PublishOperationOrBuilder Telemetry about a Publish operation which may or may not be common across
individual RPCs.
Protobuf type google.pubsub.v1.PubsubClientTelemetry.PublishOperation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PubsubClientTelemetry.PublishOperation.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PubsubClientTelemetry.PublishOperation build()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation |
|
buildPartial()
public PubsubClientTelemetry.PublishOperation buildPartial()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation |
|
clear()
public PubsubClientTelemetry.PublishOperation.Builder clear()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|
clearHedgedAttemptCount()
public PubsubClientTelemetry.PublishOperation.Builder clearHedgedAttemptCount()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 |
PubsubClientTelemetry.PublishOperation.Builder |
This builder for chaining. |
clearPublishStartTime()
public PubsubClientTelemetry.PublishOperation.Builder clearPublishStartTime() 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 |
PubsubClientTelemetry.PublishOperation.Builder |
|
getDefaultInstanceForType()
public PubsubClientTelemetry.PublishOperation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHedgedAttemptCount()
public 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 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. |
getPublishStartTimeBuilder()
public Timestamp.Builder getPublishStartTimeBuilder() 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 |
Builder |
|
getPublishStartTimeOrBuilder()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PubsubClientTelemetry.PublishOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PubsubClientTelemetry.PublishOperation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|
mergeFrom(PubsubClientTelemetry.PublishOperation other)
public PubsubClientTelemetry.PublishOperation.Builder mergeFrom(PubsubClientTelemetry.PublishOperation other)| Parameter | |
|---|---|
| Name | Description |
other |
PubsubClientTelemetry.PublishOperation |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|
mergePublishStartTime(Timestamp value)
public PubsubClientTelemetry.PublishOperation.Builder mergePublishStartTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|
setHedgedAttemptCount(int value)
public PubsubClientTelemetry.PublishOperation.Builder setHedgedAttemptCount(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe hedgedAttemptCount to set. |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
This builder for chaining. |
setPublishStartTime(Timestamp value)
public PubsubClientTelemetry.PublishOperation.Builder setPublishStartTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|
setPublishStartTime(Timestamp.Builder builderForValue)
public PubsubClientTelemetry.PublishOperation.Builder setPublishStartTime(Timestamp.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry.PublishOperation.Builder |
|