Class GetNotificationChannelVerificationCodeRequest.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<GetNotificationChannelVerificationCodeRequest.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<GetNotificationChannelVerificationCodeRequest.Builder>
      • getDefaultInstanceForType

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

        public GetNotificationChannelVerificationCodeRequest 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<GetNotificationChannelVerificationCodeRequest.Builder>
      • getName

        public String getName()
         Required. The notification channel for which a verification code is to be
         generated and retrieved. This must name a channel that is already verified;
         if the specified channel is not verified, the request will fail.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface GetNotificationChannelVerificationCodeRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The notification channel for which a verification code is to be
         generated and retrieved. This must name a channel that is already verified;
         if the specified channel is not verified, the request will fail.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface GetNotificationChannelVerificationCodeRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public GetNotificationChannelVerificationCodeRequest.Builder setName​(String value)
         Required. The notification channel for which a verification code is to be
         generated and retrieved. This must name a channel that is already verified;
         if the specified channel is not verified, the request will fail.
         
        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 GetNotificationChannelVerificationCodeRequest.Builder clearName()
         Required. The notification channel for which a verification code is to be
         generated and retrieved. This must name a channel that is already verified;
         if the specified channel is not verified, the request will fail.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public GetNotificationChannelVerificationCodeRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The notification channel for which a verification code is to be
         generated and retrieved. This must name a channel that is already verified;
         if the specified channel is not verified, the request will fail.
         
        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.
      • hasExpireTime

        public boolean hasExpireTime()
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
        Specified by:
        hasExpireTime in interface GetNotificationChannelVerificationCodeRequestOrBuilder
        Returns:
        Whether the expireTime field is set.
      • getExpireTime

        public com.google.protobuf.Timestamp getExpireTime()
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
        Specified by:
        getExpireTime in interface GetNotificationChannelVerificationCodeRequestOrBuilder
        Returns:
        The expireTime.
      • setExpireTime

        public GetNotificationChannelVerificationCodeRequest.Builder setExpireTime​(com.google.protobuf.Timestamp value)
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
      • setExpireTime

        public GetNotificationChannelVerificationCodeRequest.Builder setExpireTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
      • mergeExpireTime

        public GetNotificationChannelVerificationCodeRequest.Builder mergeExpireTime​(com.google.protobuf.Timestamp value)
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
      • clearExpireTime

        public GetNotificationChannelVerificationCodeRequest.Builder clearExpireTime()
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
      • getExpireTimeBuilder

        public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
      • getExpireTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
         The desired expiration time. If specified, the API will guarantee that
         the returned code will not be valid after the specified timestamp;
         however, the API cannot guarantee that the returned code will be
         valid for at least as long as the requested time (the API puts an upper
         bound on the amount of time for which a code may be valid). If omitted,
         a default expiration will be used, which may be less than the max
         permissible expiration (so specifying an expiration may extend the
         code's lifetime over omitting an expiration, even though the API does
         impose an upper limit on the maximum expiration that is permitted).
         
        .google.protobuf.Timestamp expire_time = 2;
        Specified by:
        getExpireTimeOrBuilder in interface GetNotificationChannelVerificationCodeRequestOrBuilder