public final class ComputeMessageStatsResponse extends GeneratedMessageV3 implements ComputeMessageStatsResponseOrBuilder
Response containing stats for messages in the requested topic and partition.
Protobuf type google.cloud.pubsublite.v1.ComputeMessageStatsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeMessageStatsResponseImplements
ComputeMessageStatsResponseOrBuilderStatic Fields
MESSAGE_BYTES_FIELD_NUMBER
public static final int MESSAGE_BYTES_FIELD_NUMBER
Type | Description |
int |
MESSAGE_COUNT_FIELD_NUMBER
public static final int MESSAGE_COUNT_FIELD_NUMBER
Type | Description |
int |
MINIMUM_EVENT_TIME_FIELD_NUMBER
public static final int MINIMUM_EVENT_TIME_FIELD_NUMBER
Type | Description |
int |
MINIMUM_PUBLISH_TIME_FIELD_NUMBER
public static final int MINIMUM_PUBLISH_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ComputeMessageStatsResponse getDefaultInstance()
Type | Description |
ComputeMessageStatsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ComputeMessageStatsResponse.Builder newBuilder()
Type | Description |
ComputeMessageStatsResponse.Builder |
newBuilder(ComputeMessageStatsResponse prototype)
public static ComputeMessageStatsResponse.Builder newBuilder(ComputeMessageStatsResponse prototype)
Name | Description |
prototype | ComputeMessageStatsResponse |
Type | Description |
ComputeMessageStatsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static ComputeMessageStatsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeMessageStatsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ComputeMessageStatsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeMessageStatsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ComputeMessageStatsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeMessageStatsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ComputeMessageStatsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeMessageStatsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ComputeMessageStatsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeMessageStatsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ComputeMessageStatsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeMessageStatsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeMessageStatsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ComputeMessageStatsResponse> parser()
Type | Description |
Parser<ComputeMessageStatsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ComputeMessageStatsResponse getDefaultInstanceForType()
Type | Description |
ComputeMessageStatsResponse |
getMessageBytes()
public long getMessageBytes()
The number of quota bytes accounted to these messages.
int64 message_bytes = 2;
Type | Description |
long | The messageBytes. |
getMessageCount()
public long getMessageCount()
The count of messages.
int64 message_count = 1;
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;
Type | Description |
Timestamp | The minimumEventTime. |
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;
Type | Description |
TimestampOrBuilder |
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;
Type | Description |
Timestamp | The minimumPublishTime. |
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;
Type | Description |
TimestampOrBuilder |
getParserForType()
public Parser<ComputeMessageStatsResponse> getParserForType()
Type | Description |
Parser<ComputeMessageStatsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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;
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;
Type | Description |
boolean | Whether the minimumPublishTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ComputeMessageStatsResponse.Builder newBuilderForType()
Type | Description |
ComputeMessageStatsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeMessageStatsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ComputeMessageStatsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ComputeMessageStatsResponse.Builder toBuilder()
Type | Description |
ComputeMessageStatsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |