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

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • getDefaultInstanceForType

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

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

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

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • clearField

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • clearOneof

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • setRepeatedField

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • addRepeatedField

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • isInitialized

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

        public PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
        Throws:
        IOException
      • getTopicNameBytes

        public com.google.protobuf.ByteString getTopicNameBytes()
         The name of the Pubsub topic.
         
        string topic_name = 1;
        Specified by:
        getTopicNameBytes in interface PubsubSnapshotMetadataOrBuilder
        Returns:
        The bytes for topicName.
      • setTopicName

        public PubsubSnapshotMetadata.Builder setTopicName​(String value)
         The name of the Pubsub topic.
         
        string topic_name = 1;
        Parameters:
        value - The topicName to set.
        Returns:
        This builder for chaining.
      • clearTopicName

        public PubsubSnapshotMetadata.Builder clearTopicName()
         The name of the Pubsub topic.
         
        string topic_name = 1;
        Returns:
        This builder for chaining.
      • setTopicNameBytes

        public PubsubSnapshotMetadata.Builder setTopicNameBytes​(com.google.protobuf.ByteString value)
         The name of the Pubsub topic.
         
        string topic_name = 1;
        Parameters:
        value - The bytes for topicName to set.
        Returns:
        This builder for chaining.
      • getSnapshotNameBytes

        public com.google.protobuf.ByteString getSnapshotNameBytes()
         The name of the Pubsub snapshot.
         
        string snapshot_name = 2;
        Specified by:
        getSnapshotNameBytes in interface PubsubSnapshotMetadataOrBuilder
        Returns:
        The bytes for snapshotName.
      • setSnapshotName

        public PubsubSnapshotMetadata.Builder setSnapshotName​(String value)
         The name of the Pubsub snapshot.
         
        string snapshot_name = 2;
        Parameters:
        value - The snapshotName to set.
        Returns:
        This builder for chaining.
      • clearSnapshotName

        public PubsubSnapshotMetadata.Builder clearSnapshotName()
         The name of the Pubsub snapshot.
         
        string snapshot_name = 2;
        Returns:
        This builder for chaining.
      • setSnapshotNameBytes

        public PubsubSnapshotMetadata.Builder setSnapshotNameBytes​(com.google.protobuf.ByteString value)
         The name of the Pubsub snapshot.
         
        string snapshot_name = 2;
        Parameters:
        value - The bytes for snapshotName to set.
        Returns:
        This builder for chaining.
      • hasExpireTime

        public boolean hasExpireTime()
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
        Specified by:
        hasExpireTime in interface PubsubSnapshotMetadataOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
        Specified by:
        getExpireTime in interface PubsubSnapshotMetadataOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public PubsubSnapshotMetadata.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
      • setExpireTime

        public PubsubSnapshotMetadata.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
      • mergeExpireTime

        public PubsubSnapshotMetadata.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
      • clearExpireTime

        public PubsubSnapshotMetadata.Builder clearExpireTime()
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         The expire time of the Pubsub snapshot.
         
        .google.protobuf.Timestamp expire_time = 3;
        Specified by:
        getExpireTimeOrBuilder in interface PubsubSnapshotMetadataOrBuilder
      • setUnknownFields

        public final PubsubSnapshotMetadata.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<PubsubSnapshotMetadata.Builder>
      • mergeUnknownFields

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