public static final class VerifyNotificationChannelRequest.Builder extends GeneratedMessage.Builder<VerifyNotificationChannelRequest.Builder> implements VerifyNotificationChannelRequestOrBuilder The VerifyNotificationChannel request.
Protobuf type google.monitoring.v3.VerifyNotificationChannelRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VerifyNotificationChannelRequest.BuilderImplements
VerifyNotificationChannelRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VerifyNotificationChannelRequest build()| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest |
|
buildPartial()
public VerifyNotificationChannelRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest |
|
clear()
public VerifyNotificationChannelRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
|
clearCode()
public VerifyNotificationChannelRequest.Builder clearCode() Required. The verification code that was delivered to the channel as
a result of invoking the SendNotificationChannelVerificationCode API
method or that was retrieved from a verified channel via
GetNotificationChannelVerificationCode. For example, one might have
"G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
guaranteed that the code is valid UTF-8; one should not
make any assumptions regarding the structure or format of the code).
string code = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
This builder for chaining. |
clearName()
public VerifyNotificationChannelRequest.Builder clearName()Required. The notification channel to verify.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
This builder for chaining. |
getCode()
public String getCode() Required. The verification code that was delivered to the channel as
a result of invoking the SendNotificationChannelVerificationCode API
method or that was retrieved from a verified channel via
GetNotificationChannelVerificationCode. For example, one might have
"G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
guaranteed that the code is valid UTF-8; one should not
make any assumptions regarding the structure or format of the code).
string code = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes() Required. The verification code that was delivered to the channel as
a result of invoking the SendNotificationChannelVerificationCode API
method or that was retrieved from a verified channel via
GetNotificationChannelVerificationCode. For example, one might have
"G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
guaranteed that the code is valid UTF-8; one should not
make any assumptions regarding the structure or format of the code).
string code = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public VerifyNotificationChannelRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The notification channel to verify.
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 to verify.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VerifyNotificationChannelRequest other)
public VerifyNotificationChannelRequest.Builder mergeFrom(VerifyNotificationChannelRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
VerifyNotificationChannelRequest |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VerifyNotificationChannelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VerifyNotificationChannelRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
|
setCode(String value)
public VerifyNotificationChannelRequest.Builder setCode(String value) Required. The verification code that was delivered to the channel as
a result of invoking the SendNotificationChannelVerificationCode API
method or that was retrieved from a verified channel via
GetNotificationChannelVerificationCode. For example, one might have
"G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
guaranteed that the code is valid UTF-8; one should not
make any assumptions regarding the structure or format of the code).
string code = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe code to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public VerifyNotificationChannelRequest.Builder setCodeBytes(ByteString value) Required. The verification code that was delivered to the channel as
a result of invoking the SendNotificationChannelVerificationCode API
method or that was retrieved from a verified channel via
GetNotificationChannelVerificationCode. For example, one might have
"G-123456" or "TKNZGhhd2EyN3I1MnRnMjRv" (in general, one is only
guaranteed that the code is valid UTF-8; one should not
make any assumptions regarding the structure or format of the code).
string code = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for code to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
This builder for chaining. |
setName(String value)
public VerifyNotificationChannelRequest.Builder setName(String value)Required. The notification channel to verify.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public VerifyNotificationChannelRequest.Builder setNameBytes(ByteString value)Required. The notification channel to verify.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyNotificationChannelRequest.Builder |
This builder for chaining. |