Class SeekSubscriptionRequest.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<SeekSubscriptionRequest.Builder>
      • clear

        public SeekSubscriptionRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.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<SeekSubscriptionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public SeekSubscriptionRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>
      • clearField

        public SeekSubscriptionRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>
      • clearOneof

        public SeekSubscriptionRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>
      • setRepeatedField

        public SeekSubscriptionRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>
      • addRepeatedField

        public SeekSubscriptionRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SeekSubscriptionRequest.Builder>
      • isInitialized

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

        public SeekSubscriptionRequest.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<SeekSubscriptionRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface SeekSubscriptionRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface SeekSubscriptionRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public SeekSubscriptionRequest.Builder setName​(String value)
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public SeekSubscriptionRequest.Builder clearName()
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public SeekSubscriptionRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the subscription to seek.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasNamedTarget

        public boolean hasNamedTarget()
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Specified by:
        hasNamedTarget in interface SeekSubscriptionRequestOrBuilder
        Returns:
        Whether the namedTarget field is set.
      • getNamedTargetValue

        public int getNamedTargetValue()
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Specified by:
        getNamedTargetValue in interface SeekSubscriptionRequestOrBuilder
        Returns:
        The enum numeric value on the wire for namedTarget.
      • setNamedTargetValue

        public SeekSubscriptionRequest.Builder setNamedTargetValue​(int value)
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Parameters:
        value - The enum numeric value on the wire for namedTarget to set.
        Returns:
        This builder for chaining.
      • setNamedTarget

        public SeekSubscriptionRequest.Builder setNamedTarget​(SeekSubscriptionRequest.NamedTarget value)
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Parameters:
        value - The namedTarget to set.
        Returns:
        This builder for chaining.
      • clearNamedTarget

        public SeekSubscriptionRequest.Builder clearNamedTarget()
         Seek to a named position with respect to the message backlog.
         
        .google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;
        Returns:
        This builder for chaining.
      • hasTimeTarget

        public boolean hasTimeTarget()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
        Specified by:
        hasTimeTarget in interface SeekSubscriptionRequestOrBuilder
        Returns:
        Whether the timeTarget field is set.
      • getTimeTarget

        public TimeTarget getTimeTarget()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
        Specified by:
        getTimeTarget in interface SeekSubscriptionRequestOrBuilder
        Returns:
        The timeTarget.
      • setTimeTarget

        public SeekSubscriptionRequest.Builder setTimeTarget​(TimeTarget value)
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
      • setTimeTarget

        public SeekSubscriptionRequest.Builder setTimeTarget​(TimeTarget.Builder builderForValue)
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
      • mergeTimeTarget

        public SeekSubscriptionRequest.Builder mergeTimeTarget​(TimeTarget value)
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
      • clearTimeTarget

        public SeekSubscriptionRequest.Builder clearTimeTarget()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
      • getTimeTargetBuilder

        public TimeTarget.Builder getTimeTargetBuilder()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
      • getTimeTargetOrBuilder

        public TimeTargetOrBuilder getTimeTargetOrBuilder()
         Seek to the first message whose publish or event time is greater than or
         equal to the specified query time. If no such message can be located,
         will seek to the end of the message backlog.
         
        .google.cloud.pubsublite.v1.TimeTarget time_target = 3;
        Specified by:
        getTimeTargetOrBuilder in interface SeekSubscriptionRequestOrBuilder
      • setUnknownFields

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

        public final SeekSubscriptionRequest.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<SeekSubscriptionRequest.Builder>