Class VerifyNotificationChannelRequest (3.14.0)

public final class VerifyNotificationChannelRequest extends GeneratedMessageV3 implements VerifyNotificationChannelRequestOrBuilder

The VerifyNotificationChannel request.

Protobuf type google.monitoring.v3.VerifyNotificationChannelRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VerifyNotificationChannelRequest

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VerifyNotificationChannelRequest getDefaultInstance()
Returns
TypeDescription
VerifyNotificationChannelRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VerifyNotificationChannelRequest.Builder newBuilder()
Returns
TypeDescription
VerifyNotificationChannelRequest.Builder

newBuilder(VerifyNotificationChannelRequest prototype)

public static VerifyNotificationChannelRequest.Builder newBuilder(VerifyNotificationChannelRequest prototype)
Parameter
NameDescription
prototypeVerifyNotificationChannelRequest
Returns
TypeDescription
VerifyNotificationChannelRequest.Builder

parseDelimitedFrom(InputStream input)

public static VerifyNotificationChannelRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyNotificationChannelRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VerifyNotificationChannelRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VerifyNotificationChannelRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VerifyNotificationChannelRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VerifyNotificationChannelRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VerifyNotificationChannelRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyNotificationChannelRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VerifyNotificationChannelRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyNotificationChannelRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VerifyNotificationChannelRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VerifyNotificationChannelRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyNotificationChannelRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VerifyNotificationChannelRequest> parser()
Returns
TypeDescription
Parser<VerifyNotificationChannelRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCode()

public String getCode()

Required. The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).

string code = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

Required. The verification code that was delivered to the channel as a result of invoking the SendNotificationChannelVerificationCode API method or that was retrieved from a verified channel via GetNotificationChannelVerificationCode. For example, one might have "G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only guaranteed that the code is valid UTF-8; one should not make any assumptions regarding the structure or format of the code).

string code = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public VerifyNotificationChannelRequest getDefaultInstanceForType()
Returns
TypeDescription
VerifyNotificationChannelRequest

getName()

public String getName()

Required. The notification channel to verify.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The notification channel to verify.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<VerifyNotificationChannelRequest> getParserForType()
Returns
TypeDescription
Parser<VerifyNotificationChannelRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VerifyNotificationChannelRequest.Builder newBuilderForType()
Returns
TypeDescription
VerifyNotificationChannelRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VerifyNotificationChannelRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VerifyNotificationChannelRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VerifyNotificationChannelRequest.Builder toBuilder()
Returns
TypeDescription
VerifyNotificationChannelRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException