public static final class GetNotificationChannelVerificationCodeRequest.Builder extends GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeRequest.Builder> implements GetNotificationChannelVerificationCodeRequestOrBuilder
The GetNotificationChannelVerificationCode
request.
Protobuf type google.monitoring.v3.GetNotificationChannelVerificationCodeRequest
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetNotificationChannelVerificationCodeRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetNotificationChannelVerificationCodeRequest build()
buildPartial()
public GetNotificationChannelVerificationCodeRequest buildPartial()
clear()
public GetNotificationChannelVerificationCodeRequest.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public GetNotificationChannelVerificationCodeRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public GetNotificationChannelVerificationCodeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GetNotificationChannelVerificationCodeRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GetNotificationChannelVerificationCodeRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
Timestamp | The expireTime.
|
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;
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;
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(GetNotificationChannelVerificationCodeRequest other)
public GetNotificationChannelVerificationCodeRequest.Builder mergeFrom(GetNotificationChannelVerificationCodeRequest other)
public GetNotificationChannelVerificationCodeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetNotificationChannelVerificationCodeRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetNotificationChannelVerificationCodeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetNotificationChannelVerificationCodeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetNotificationChannelVerificationCodeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetNotificationChannelVerificationCodeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides