public static final class GetNotificationChannelVerificationCodeRequest.Builder extends GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeRequest.Builder> implements GetNotificationChannelVerificationCodeRequestOrBuilder
The GetNotificationChannelVerificationCode
request.
Protobuf type google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetNotificationChannelVerificationCodeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetNotificationChannelVerificationCodeRequest build()
Returns
buildPartial()
public GetNotificationChannelVerificationCodeRequest buildPartial()
Returns
clear()
public GetNotificationChannelVerificationCodeRequest.Builder clear()
Returns
Overrides
clearExpireTime()
public GetNotificationChannelVerificationCodeRequest.Builder clearExpireTime()
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public GetNotificationChannelVerificationCodeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetNotificationChannelVerificationCodeRequest.Builder clearName()
Required. The notification channel for which a verification code is to be generated
and retrieved. This must name a channel that is already verified; if
the specified channel is not verified, the request will fail.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetNotificationChannelVerificationCodeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetNotificationChannelVerificationCodeRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetNotificationChannelVerificationCodeRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExpireTime()
public Timestamp getExpireTime()
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Returns
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Returns
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Returns
getName()
Required. The notification channel for which a verification code is to be generated
and retrieved. This must name a channel that is already verified; if
the specified channel is not verified, the request will fail.
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 for which a verification code is to be generated
and retrieved. This must name a channel that is already verified; if
the specified channel is not verified, the request will fail.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
hasExpireTime()
public boolean hasExpireTime()
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.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 GetNotificationChannelVerificationCodeRequest.Builder mergeExpireTime(Timestamp value)
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Parameter
Returns
mergeFrom(GetNotificationChannelVerificationCodeRequest other)
public GetNotificationChannelVerificationCodeRequest.Builder mergeFrom(GetNotificationChannelVerificationCodeRequest other)
Parameter
Returns
public GetNotificationChannelVerificationCodeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetNotificationChannelVerificationCodeRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetNotificationChannelVerificationCodeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExpireTime(Timestamp value)
public GetNotificationChannelVerificationCodeRequest.Builder setExpireTime(Timestamp value)
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Parameter
Returns
setExpireTime(Timestamp.Builder builderForValue)
public GetNotificationChannelVerificationCodeRequest.Builder setExpireTime(Timestamp.Builder builderForValue)
The desired expiration time. If specified, the API will guarantee that
the returned code will not be valid after the specified timestamp;
however, the API cannot guarantee that the returned code will be
valid for at least as long as the requested time (the API puts an upper
bound on the amount of time for which a code may be valid). If omitted,
a default expiration will be used, which may be less than the max
permissible expiration (so specifying an expiration may extend the
code's lifetime over omitting an expiration, even though the API does
impose an upper limit on the maximum expiration that is permitted).
.google.protobuf.Timestamp expire_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GetNotificationChannelVerificationCodeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetNotificationChannelVerificationCodeRequest.Builder setName(String value)
Required. The notification channel for which a verification code is to be generated
and retrieved. This must name a channel that is already verified; if
the specified channel is not verified, the request will fail.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public GetNotificationChannelVerificationCodeRequest.Builder setNameBytes(ByteString value)
Required. The notification channel for which a verification code is to be generated
and retrieved. This must name a channel that is already verified; if
the specified channel is not verified, the request will fail.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetNotificationChannelVerificationCodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetNotificationChannelVerificationCodeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides