Class ComputeMessageStatsResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeMessageStatsResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeMessageStatsResponse.Builder>
      • getDefaultInstanceForType

        public ComputeMessageStatsResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ComputeMessageStatsResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ComputeMessageStatsResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeMessageStatsResponse.Builder>
      • mergeFrom

        public ComputeMessageStatsResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ComputeMessageStatsResponse.Builder>
        Throws:
        IOException
      • setMessageCount

        public ComputeMessageStatsResponse.Builder setMessageCount​(long value)
         The count of messages.
         
        int64 message_count = 1;
        Parameters:
        value - The messageCount to set.
        Returns:
        This builder for chaining.
      • setMessageBytes

        public ComputeMessageStatsResponse.Builder setMessageBytes​(long value)
         The number of quota bytes accounted to these messages.
         
        int64 message_bytes = 2;
        Parameters:
        value - The messageBytes to set.
        Returns:
        This builder for chaining.
      • clearMessageBytes

        public ComputeMessageStatsResponse.Builder clearMessageBytes()
         The number of quota bytes accounted to these messages.
         
        int64 message_bytes = 2;
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        hasMinimumPublishTime in interface ComputeMessageStatsResponseOrBuilder
        Returns:
        Whether the minimumPublishTime field is set.
      • getMinimumPublishTime

        public com.google.protobuf.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;
        Specified by:
        getMinimumPublishTime in interface ComputeMessageStatsResponseOrBuilder
        Returns:
        The minimumPublishTime.
      • setMinimumPublishTime

        public ComputeMessageStatsResponse.Builder setMinimumPublishTime​(com.google.protobuf.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

        public ComputeMessageStatsResponse.Builder setMinimumPublishTime​(com.google.protobuf.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;
      • mergeMinimumPublishTime

        public ComputeMessageStatsResponse.Builder mergeMinimumPublishTime​(com.google.protobuf.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;
      • 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;
      • getMinimumPublishTimeBuilder

        public com.google.protobuf.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 com.google.protobuf.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;
        Specified by:
        getMinimumPublishTimeOrBuilder in interface ComputeMessageStatsResponseOrBuilder
      • 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;
        Specified by:
        hasMinimumEventTime in interface ComputeMessageStatsResponseOrBuilder
        Returns:
        Whether the minimumEventTime field is set.
      • getMinimumEventTime

        public com.google.protobuf.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;
        Specified by:
        getMinimumEventTime in interface ComputeMessageStatsResponseOrBuilder
        Returns:
        The minimumEventTime.
      • setMinimumEventTime

        public ComputeMessageStatsResponse.Builder setMinimumEventTime​(com.google.protobuf.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

        public ComputeMessageStatsResponse.Builder setMinimumEventTime​(com.google.protobuf.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;
      • mergeMinimumEventTime

        public ComputeMessageStatsResponse.Builder mergeMinimumEventTime​(com.google.protobuf.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;
      • 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;
      • getMinimumEventTimeBuilder

        public com.google.protobuf.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 com.google.protobuf.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;
        Specified by:
        getMinimumEventTimeOrBuilder in interface ComputeMessageStatsResponseOrBuilder
      • mergeUnknownFields

        public final ComputeMessageStatsResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ComputeMessageStatsResponse.Builder>