Class GetNotificationChannelVerificationCodeResponse.Builder (3.25.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public GetNotificationChannelVerificationCodeResponse build()

buildPartial()

public GetNotificationChannelVerificationCodeResponse buildPartial()

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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

mergeFrom(GetNotificationChannelVerificationCodeResponse other)

public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(GetNotificationChannelVerificationCodeResponse other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetNotificationChannelVerificationCodeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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