Class SendNotificationChannelVerificationCodeRequest.Builder (3.84.0)

public static final class SendNotificationChannelVerificationCodeRequest.Builder extends GeneratedMessage.Builder<SendNotificationChannelVerificationCodeRequest.Builder> implements SendNotificationChannelVerificationCodeRequestOrBuilder

The SendNotificationChannelVerificationCode request.

Protobuf type google.monitoring.v3.SendNotificationChannelVerificationCodeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SendNotificationChannelVerificationCodeRequest build()
Returns
Type Description
SendNotificationChannelVerificationCodeRequest

buildPartial()

public SendNotificationChannelVerificationCodeRequest buildPartial()
Returns
Type Description
SendNotificationChannelVerificationCodeRequest

clear()

public SendNotificationChannelVerificationCodeRequest.Builder clear()
Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder
Overrides

clearName()

public SendNotificationChannelVerificationCodeRequest.Builder clearName()

Required. The notification channel to which to send a verification code.

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

Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public SendNotificationChannelVerificationCodeRequest getDefaultInstanceForType()
Returns
Type Description
SendNotificationChannelVerificationCodeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The notification channel to which to send a verification code.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The notification channel to which to send a verification code.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SendNotificationChannelVerificationCodeRequest other)

public SendNotificationChannelVerificationCodeRequest.Builder mergeFrom(SendNotificationChannelVerificationCodeRequest other)
Parameter
Name Description
other SendNotificationChannelVerificationCodeRequest
Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SendNotificationChannelVerificationCodeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SendNotificationChannelVerificationCodeRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder
Overrides

setName(String value)

public SendNotificationChannelVerificationCodeRequest.Builder setName(String value)

Required. The notification channel to which to send a verification code.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SendNotificationChannelVerificationCodeRequest.Builder setNameBytes(ByteString value)

Required. The notification channel to which to send a verification code.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SendNotificationChannelVerificationCodeRequest.Builder

This builder for chaining.