Class GetNotificationChannelVerificationCodeResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder
All Implemented Interfaces:
GetNotificationChannelVerificationCodeResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetNotificationChannelVerificationCodeResponse

public static final class GetNotificationChannelVerificationCodeResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder> implements GetNotificationChannelVerificationCodeResponseOrBuilder
 The `GetNotificationChannelVerificationCode` request.
 
Protobuf type google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.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.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.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.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public GetNotificationChannelVerificationCodeResponse.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<GetNotificationChannelVerificationCodeResponse.Builder>
      Throws:
      IOException
    • getCode

      public String getCode()
       The verification code, which may be used to verify other channels
       that have an equivalent identity (i.e. other channels of the same
       type with the same fingerprint such as other email channels with
       the same email address or other sms channels with the same number).
       
      string code = 1;
      Specified by:
      getCode in interface GetNotificationChannelVerificationCodeResponseOrBuilder
      Returns:
      The code.
    • getCodeBytes

      public com.google.protobuf.ByteString getCodeBytes()
       The verification code, which may be used to verify other channels
       that have an equivalent identity (i.e. other channels of the same
       type with the same fingerprint such as other email channels with
       the same email address or other sms channels with the same number).
       
      string code = 1;
      Specified by:
      getCodeBytes in interface GetNotificationChannelVerificationCodeResponseOrBuilder
      Returns:
      The bytes for code.
    • setCode

       The verification code, which may be used to verify other channels
       that have an equivalent identity (i.e. other channels of the same
       type with the same fingerprint such as other email channels with
       the same email address or other sms channels with the same number).
       
      string code = 1;
      Parameters:
      value - The code to set.
      Returns:
      This builder for chaining.
    • clearCode

       The verification code, which may be used to verify other channels
       that have an equivalent identity (i.e. other channels of the same
       type with the same fingerprint such as other email channels with
       the same email address or other sms channels with the same number).
       
      string code = 1;
      Returns:
      This builder for chaining.
    • setCodeBytes

      public GetNotificationChannelVerificationCodeResponse.Builder setCodeBytes(com.google.protobuf.ByteString value)
       The verification code, which may be used to verify other channels
       that have an equivalent identity (i.e. other channels of the same
       type with the same fingerprint such as other email channels with
       the same email address or other sms channels with the same number).
       
      string code = 1;
      Parameters:
      value - The bytes for code to set.
      Returns:
      This builder for chaining.
    • hasExpireTime

      public boolean hasExpireTime()
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
      Specified by:
      hasExpireTime in interface GetNotificationChannelVerificationCodeResponseOrBuilder
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      public com.google.protobuf.Timestamp getExpireTime()
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
      Specified by:
      getExpireTime in interface GetNotificationChannelVerificationCodeResponseOrBuilder
      Returns:
      The expireTime.
    • setExpireTime

      public GetNotificationChannelVerificationCodeResponse.Builder setExpireTime(com.google.protobuf.Timestamp value)
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
    • setExpireTime

      public GetNotificationChannelVerificationCodeResponse.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
    • mergeExpireTime

      public GetNotificationChannelVerificationCodeResponse.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
    • clearExpireTime

       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
    • getExpireTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
    • getExpireTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       The expiration time associated with the code that was returned. If
       an expiration was provided in the request, this is the minimum of the
       requested expiration in the request and the max permitted expiration.
       
      .google.protobuf.Timestamp expire_time = 2;
      Specified by:
      getExpireTimeOrBuilder in interface GetNotificationChannelVerificationCodeResponseOrBuilder