Class GetNotificationChannelVerificationCodeResponse.Builder (3.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetNotificationChannelVerificationCodeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

build()

public GetNotificationChannelVerificationCodeResponse build()
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse

buildPartial()

public GetNotificationChannelVerificationCodeResponse buildPartial()
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse

clear()

public GetNotificationChannelVerificationCodeResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public GetNotificationChannelVerificationCodeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GetNotificationChannelVerificationCodeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

clone()

public GetNotificationChannelVerificationCodeResponse.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType()
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the expireTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder

mergeFrom(GetNotificationChannelVerificationCodeResponse other)

public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(GetNotificationChannelVerificationCodeResponse other)
Parameter
NameDescription
otherGetNotificationChannelVerificationCodeResponse
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetNotificationChannelVerificationCodeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The code to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for code to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GetNotificationChannelVerificationCodeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

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

public GetNotificationChannelVerificationCodeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetNotificationChannelVerificationCodeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetNotificationChannelVerificationCodeResponse.Builder
Overrides