public static final class ComputeMessageStatsResponse.Builder extends GeneratedMessageV3.Builder<ComputeMessageStatsResponse.Builder> implements ComputeMessageStatsResponseOrBuilder
Response containing stats for messages in the requested topic and partition.
Protobuf type google.cloud.pubsublite.v1.ComputeMessageStatsResponse
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeMessageStatsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ComputeMessageStatsResponse build()
buildPartial()
public ComputeMessageStatsResponse buildPartial()
clear()
public ComputeMessageStatsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ComputeMessageStatsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMessageBytes()
public ComputeMessageStatsResponse.Builder clearMessageBytes()
The number of quota bytes accounted to these messages.
int64 message_bytes = 2;
clearMessageCount()
public ComputeMessageStatsResponse.Builder clearMessageCount()
The count of messages.
int64 message_count = 1;
clearMinimumEventTime()
public ComputeMessageStatsResponse.Builder clearMinimumEventTime()
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
clearMinimumPublishTime()
public ComputeMessageStatsResponse.Builder clearMinimumPublishTime()
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeMessageStatsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ComputeMessageStatsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ComputeMessageStatsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMessageBytes()
public long getMessageBytes()
The number of quota bytes accounted to these messages.
int64 message_bytes = 2;
Returns |
---|
Type | Description |
long | The messageBytes.
|
getMessageCount()
public long getMessageCount()
The count of messages.
int64 message_count = 1;
Returns |
---|
Type | Description |
long | The messageCount.
|
getMinimumEventTime()
public Timestamp getMinimumEventTime()
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
Returns |
---|
Type | Description |
Timestamp | The minimumEventTime.
|
getMinimumEventTimeBuilder()
public Timestamp.Builder getMinimumEventTimeBuilder()
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
getMinimumEventTimeOrBuilder()
public TimestampOrBuilder getMinimumEventTimeOrBuilder()
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
getMinimumPublishTime()
public Timestamp getMinimumPublishTime()
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
Returns |
---|
Type | Description |
Timestamp | The minimumPublishTime.
|
getMinimumPublishTimeBuilder()
public Timestamp.Builder getMinimumPublishTimeBuilder()
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
getMinimumPublishTimeOrBuilder()
public TimestampOrBuilder getMinimumPublishTimeOrBuilder()
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
hasMinimumEventTime()
public boolean hasMinimumEventTime()
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
Returns |
---|
Type | Description |
boolean | Whether the minimumEventTime field is set.
|
hasMinimumPublishTime()
public boolean hasMinimumPublishTime()
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
Returns |
---|
Type | Description |
boolean | Whether the minimumPublishTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ComputeMessageStatsResponse other)
public ComputeMessageStatsResponse.Builder mergeFrom(ComputeMessageStatsResponse other)
public ComputeMessageStatsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComputeMessageStatsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMinimumEventTime(Timestamp value)
public ComputeMessageStatsResponse.Builder mergeMinimumEventTime(Timestamp value)
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
mergeMinimumPublishTime(Timestamp value)
public ComputeMessageStatsResponse.Builder mergeMinimumPublishTime(Timestamp value)
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeMessageStatsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeMessageStatsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMessageBytes(long value)
public ComputeMessageStatsResponse.Builder setMessageBytes(long value)
The number of quota bytes accounted to these messages.
int64 message_bytes = 2;
Parameter |
---|
Name | Description |
value | long
The messageBytes to set.
|
setMessageCount(long value)
public ComputeMessageStatsResponse.Builder setMessageCount(long value)
The count of messages.
int64 message_count = 1;
Parameter |
---|
Name | Description |
value | long
The messageCount to set.
|
setMinimumEventTime(Timestamp value)
public ComputeMessageStatsResponse.Builder setMinimumEventTime(Timestamp value)
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
setMinimumEventTime(Timestamp.Builder builderForValue)
public ComputeMessageStatsResponse.Builder setMinimumEventTime(Timestamp.Builder builderForValue)
The minimum event timestamp across these messages. For the purposes of this
computation, if a message does not have an event time, we use the publish
time. The timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_event_time = 4;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setMinimumPublishTime(Timestamp value)
public ComputeMessageStatsResponse.Builder setMinimumPublishTime(Timestamp value)
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
setMinimumPublishTime(Timestamp.Builder builderForValue)
public ComputeMessageStatsResponse.Builder setMinimumPublishTime(Timestamp.Builder builderForValue)
The minimum publish timestamp across these messages. Note that publish
timestamps within a partition are not guaranteed to be non-decreasing. The
timestamp will be unset if there are no messages.
.google.protobuf.Timestamp minimum_publish_time = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeMessageStatsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeMessageStatsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides