public static final class GetNotificationChannelVerificationCodeResponse.Builder extends GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder> implements GetNotificationChannelVerificationCodeResponseOrBuilder
The GetNotificationChannelVerificationCode
request.
Protobuf type google.monitoring.v3.GetNotificationChannelVerificationCodeResponse
Inherited Members
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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetNotificationChannelVerificationCodeResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetNotificationChannelVerificationCodeResponse build()
Returns
buildPartial()
public GetNotificationChannelVerificationCodeResponse buildPartial()
Returns
clear()
public GetNotificationChannelVerificationCodeResponse.Builder clear()
Returns
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
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
clearField(Descriptors.FieldDescriptor field)
public GetNotificationChannelVerificationCodeResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetNotificationChannelVerificationCodeResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetNotificationChannelVerificationCodeResponse.Builder clone()
Returns
Overrides
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
getDefaultInstanceForType()
public GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(GetNotificationChannelVerificationCodeResponse other)
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(GetNotificationChannelVerificationCodeResponse other)
Parameter
Returns
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetNotificationChannelVerificationCodeResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public GetNotificationChannelVerificationCodeResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetNotificationChannelVerificationCodeResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetNotificationChannelVerificationCodeResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides