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

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

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

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

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

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

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

        public EndpointVerificationInfo.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<EndpointVerificationInfo.Builder>
        Throws:
        IOException
      • hasEmailAddress

        public boolean hasEmailAddress()
         Email address for which to trigger a verification request.
         
        string email_address = 1;
        Specified by:
        hasEmailAddress in interface EndpointVerificationInfoOrBuilder
        Returns:
        Whether the emailAddress field is set.
      • getEmailAddressBytes

        public com.google.protobuf.ByteString getEmailAddressBytes()
         Email address for which to trigger a verification request.
         
        string email_address = 1;
        Specified by:
        getEmailAddressBytes in interface EndpointVerificationInfoOrBuilder
        Returns:
        The bytes for emailAddress.
      • setEmailAddress

        public EndpointVerificationInfo.Builder setEmailAddress​(String value)
         Email address for which to trigger a verification request.
         
        string email_address = 1;
        Parameters:
        value - The emailAddress to set.
        Returns:
        This builder for chaining.
      • clearEmailAddress

        public EndpointVerificationInfo.Builder clearEmailAddress()
         Email address for which to trigger a verification request.
         
        string email_address = 1;
        Returns:
        This builder for chaining.
      • setEmailAddressBytes

        public EndpointVerificationInfo.Builder setEmailAddressBytes​(com.google.protobuf.ByteString value)
         Email address for which to trigger a verification request.
         
        string email_address = 1;
        Parameters:
        value - The bytes for emailAddress to set.
        Returns:
        This builder for chaining.
      • hasPhoneNumber

        public boolean hasPhoneNumber()
         Phone number for which to trigger a verification request. Should be given
         in E.164 format.
         
        string phone_number = 2;
        Specified by:
        hasPhoneNumber in interface EndpointVerificationInfoOrBuilder
        Returns:
        Whether the phoneNumber field is set.
      • getPhoneNumber

        public String getPhoneNumber()
         Phone number for which to trigger a verification request. Should be given
         in E.164 format.
         
        string phone_number = 2;
        Specified by:
        getPhoneNumber in interface EndpointVerificationInfoOrBuilder
        Returns:
        The phoneNumber.
      • getPhoneNumberBytes

        public com.google.protobuf.ByteString getPhoneNumberBytes()
         Phone number for which to trigger a verification request. Should be given
         in E.164 format.
         
        string phone_number = 2;
        Specified by:
        getPhoneNumberBytes in interface EndpointVerificationInfoOrBuilder
        Returns:
        The bytes for phoneNumber.
      • setPhoneNumber

        public EndpointVerificationInfo.Builder setPhoneNumber​(String value)
         Phone number for which to trigger a verification request. Should be given
         in E.164 format.
         
        string phone_number = 2;
        Parameters:
        value - The phoneNumber to set.
        Returns:
        This builder for chaining.
      • clearPhoneNumber

        public EndpointVerificationInfo.Builder clearPhoneNumber()
         Phone number for which to trigger a verification request. Should be given
         in E.164 format.
         
        string phone_number = 2;
        Returns:
        This builder for chaining.
      • setPhoneNumberBytes

        public EndpointVerificationInfo.Builder setPhoneNumberBytes​(com.google.protobuf.ByteString value)
         Phone number for which to trigger a verification request. Should be given
         in E.164 format.
         
        string phone_number = 2;
        Parameters:
        value - The bytes for phoneNumber to set.
        Returns:
        This builder for chaining.
      • getRequestToken

        public String getRequestToken()
         Output only. Token to provide to the client to trigger endpoint
         verification. It must be used within 15 minutes.
         
        string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRequestToken in interface EndpointVerificationInfoOrBuilder
        Returns:
        The requestToken.
      • getRequestTokenBytes

        public com.google.protobuf.ByteString getRequestTokenBytes()
         Output only. Token to provide to the client to trigger endpoint
         verification. It must be used within 15 minutes.
         
        string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getRequestTokenBytes in interface EndpointVerificationInfoOrBuilder
        Returns:
        The bytes for requestToken.
      • setRequestToken

        public EndpointVerificationInfo.Builder setRequestToken​(String value)
         Output only. Token to provide to the client to trigger endpoint
         verification. It must be used within 15 minutes.
         
        string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The requestToken to set.
        Returns:
        This builder for chaining.
      • clearRequestToken

        public EndpointVerificationInfo.Builder clearRequestToken()
         Output only. Token to provide to the client to trigger endpoint
         verification. It must be used within 15 minutes.
         
        string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setRequestTokenBytes

        public EndpointVerificationInfo.Builder setRequestTokenBytes​(com.google.protobuf.ByteString value)
         Output only. Token to provide to the client to trigger endpoint
         verification. It must be used within 15 minutes.
         
        string request_token = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for requestToken to set.
        Returns:
        This builder for chaining.
      • hasLastVerificationTime

        public boolean hasLastVerificationTime()
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasLastVerificationTime in interface EndpointVerificationInfoOrBuilder
        Returns:
        Whether the lastVerificationTime field is set.
      • getLastVerificationTime

        public com.google.protobuf.Timestamp getLastVerificationTime()
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastVerificationTime in interface EndpointVerificationInfoOrBuilder
        Returns:
        The lastVerificationTime.
      • setLastVerificationTime

        public EndpointVerificationInfo.Builder setLastVerificationTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setLastVerificationTime

        public EndpointVerificationInfo.Builder setLastVerificationTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeLastVerificationTime

        public EndpointVerificationInfo.Builder mergeLastVerificationTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearLastVerificationTime

        public EndpointVerificationInfo.Builder clearLastVerificationTime()
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastVerificationTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastVerificationTimeBuilder()
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLastVerificationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getLastVerificationTimeOrBuilder()
         Output only. Timestamp of the last successful verification for the
         endpoint, if any.
         
        .google.protobuf.Timestamp last_verification_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLastVerificationTimeOrBuilder in interface EndpointVerificationInfoOrBuilder
      • setUnknownFields

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

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