Class GetNotificationChannelVerificationCodeRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
All Implemented Interfaces:
GetNotificationChannelVerificationCodeRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GetNotificationChannelVerificationCodeRequest extends com.google.protobuf.GeneratedMessage implements GetNotificationChannelVerificationCodeRequestOrBuilder
 The `GetNotificationChannelVerificationCode` request.
 
Protobuf type google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      Throws:
      IOException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetNotificationChannelVerificationCodeRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GetNotificationChannelVerificationCodeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GetNotificationChannelVerificationCodeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GetNotificationChannelVerificationCodeRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GetNotificationChannelVerificationCodeRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GetNotificationChannelVerificationCodeRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<GetNotificationChannelVerificationCodeRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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