Class GetNotificationChannelVerificationCodeResponse.Builder (3.54.0)

public static final class GetNotificationChannelVerificationCodeResponse.Builder extends GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder> implements GetNotificationChannelVerificationCodeResponseOrBuilder

The GetNotificationChannelVerificationCode request.

Protobuf type google.monitoring.v3.GetNotificationChannelVerificationCodeResponse

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetNotificationChannelVerificationCodeResponse.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetNotificationChannelVerificationCodeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

build()

public GetNotificationChannelVerificationCodeResponse build()
Returns
Type Description
GetNotificationChannelVerificationCodeResponse

buildPartial()

public GetNotificationChannelVerificationCodeResponse buildPartial()
Returns
Type Description
GetNotificationChannelVerificationCodeResponse

clear()

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

clearCode()

public GetNotificationChannelVerificationCodeResponse.Builder 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
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

This builder for chaining.

clearExpireTime()

public GetNotificationChannelVerificationCodeResponse.Builder 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;

Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public GetNotificationChannelVerificationCodeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetNotificationChannelVerificationCodeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

clone()

public GetNotificationChannelVerificationCodeResponse.Builder clone()
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

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;

Returns
Type Description
String

The code.

getCodeBytes()

public 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;

Returns
Type Description
ByteString

The bytes for code.

getDefaultInstanceForType()

public GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType()
Returns
Type Description
GetNotificationChannelVerificationCodeResponse

getDescriptorForType()

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

getExpireTime()

public 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;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeBuilder()

public 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;

Returns
Type Description
Builder

getExpireTimeOrBuilder()

public 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;

Returns
Type Description
TimestampOrBuilder

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;

Returns
Type Description
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpireTime(Timestamp value)

public GetNotificationChannelVerificationCodeResponse.Builder mergeExpireTime(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;

Parameter
Name Description
value Timestamp
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

mergeFrom(GetNotificationChannelVerificationCodeResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetNotificationChannelVerificationCodeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

setCode(String value)

public GetNotificationChannelVerificationCodeResponse.Builder setCode(String 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;

Parameter
Name Description
value String

The code to set.

Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

This builder for chaining.

setCodeBytes(ByteString value)

public GetNotificationChannelVerificationCodeResponse.Builder setCodeBytes(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;

Parameter
Name Description
value ByteString

The bytes for code to set.

Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

This builder for chaining.

setExpireTime(Timestamp value)

public GetNotificationChannelVerificationCodeResponse.Builder setExpireTime(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;

Parameter
Name Description
value Timestamp
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

setExpireTime(Timestamp.Builder builderForValue)

public GetNotificationChannelVerificationCodeResponse.Builder setExpireTime(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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GetNotificationChannelVerificationCodeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetNotificationChannelVerificationCodeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetNotificationChannelVerificationCodeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetNotificationChannelVerificationCodeResponse.Builder
Overrides