Package com.google.monitoring.v3
Class GetNotificationChannelVerificationCodeResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
com.google.monitoring.v3.GetNotificationChannelVerificationCodeResponse.Builder
- All Implemented Interfaces:
GetNotificationChannelVerificationCodeResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetNotificationChannelVerificationCodeResponse
public static final class GetNotificationChannelVerificationCodeResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
implements GetNotificationChannelVerificationCodeResponseOrBuilder
The `GetNotificationChannelVerificationCode` request.Protobuf type
google.monitoring.v3.GetNotificationChannelVerificationCodeResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()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).The expiration time associated with the code that was returned.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).com.google.protobuf.ByteStringThe 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).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe expiration time associated with the code that was returned.com.google.protobuf.Timestamp.BuilderThe expiration time associated with the code that was returned.com.google.protobuf.TimestampOrBuilderThe expiration time associated with the code that was returned.booleanThe expiration time associated with the code that was returned.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpireTime(com.google.protobuf.Timestamp value) The expiration time associated with the code that was returned.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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).setCodeBytes(com.google.protobuf.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).setExpireTime(com.google.protobuf.Timestamp value) The expiration time associated with the code that was returned.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) The expiration time associated with the code that was returned.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
mergeFrom
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(GetNotificationChannelVerificationCodeResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
mergeFrom
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>- Throws:
IOException
-
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;- Specified by:
getCodein interfaceGetNotificationChannelVerificationCodeResponseOrBuilder- Returns:
- The code.
-
getCodeBytes
public com.google.protobuf.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;- Specified by:
getCodeBytesin interfaceGetNotificationChannelVerificationCodeResponseOrBuilder- Returns:
- The bytes for code.
-
setCode
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;- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setCodeBytes
public GetNotificationChannelVerificationCodeResponse.Builder setCodeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for code to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasExpireTimein interfaceGetNotificationChannelVerificationCodeResponseOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.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;- Specified by:
getExpireTimein interfaceGetNotificationChannelVerificationCodeResponseOrBuilder- Returns:
- The expireTime.
-
setExpireTime
public GetNotificationChannelVerificationCodeResponse.Builder setExpireTime(com.google.protobuf.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; -
setExpireTime
public GetNotificationChannelVerificationCodeResponse.Builder setExpireTime(com.google.protobuf.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; -
mergeExpireTime
public GetNotificationChannelVerificationCodeResponse.Builder mergeExpireTime(com.google.protobuf.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; -
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; -
getExpireTimeBuilder
public com.google.protobuf.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; -
getExpireTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getExpireTimeOrBuilderin interfaceGetNotificationChannelVerificationCodeResponseOrBuilder
-