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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder> implements GetNotificationChannelVerificationCodeResponseOrBuilder
The `GetNotificationChannelVerificationCode` request.
Protobuf typegoogle.monitoring.v3.GetNotificationChannelVerificationCodeResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetNotificationChannelVerificationCodeResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetNotificationChannelVerificationCodeResponse
build()
GetNotificationChannelVerificationCodeResponse
buildPartial()
GetNotificationChannelVerificationCodeResponse.Builder
clear()
GetNotificationChannelVerificationCodeResponse.Builder
clearCode()
The verification code, which may be used to verify other channels that have an equivalent identity (i.e.GetNotificationChannelVerificationCodeResponse.Builder
clearExpireTime()
The expiration time associated with the code that was returned.GetNotificationChannelVerificationCodeResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GetNotificationChannelVerificationCodeResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GetNotificationChannelVerificationCodeResponse.Builder
clone()
String
getCode()
The verification code, which may be used to verify other channels that have an equivalent identity (i.e.com.google.protobuf.ByteString
getCodeBytes()
The verification code, which may be used to verify other channels that have an equivalent identity (i.e.GetNotificationChannelVerificationCodeResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getExpireTime()
The expiration time associated with the code that was returned.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
The expiration time associated with the code that was returned.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
The expiration time associated with the code that was returned.boolean
hasExpireTime()
The expiration time associated with the code that was returned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GetNotificationChannelVerificationCodeResponse.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
The expiration time associated with the code that was returned.GetNotificationChannelVerificationCodeResponse.Builder
mergeFrom(GetNotificationChannelVerificationCodeResponse other)
GetNotificationChannelVerificationCodeResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GetNotificationChannelVerificationCodeResponse.Builder
mergeFrom(com.google.protobuf.Message other)
GetNotificationChannelVerificationCodeResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GetNotificationChannelVerificationCodeResponse.Builder
setCode(String value)
The verification code, which may be used to verify other channels that have an equivalent identity (i.e.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.GetNotificationChannelVerificationCodeResponse.Builder
setExpireTime(com.google.protobuf.Timestamp value)
The expiration time associated with the code that was returned.GetNotificationChannelVerificationCodeResponse.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
The expiration time associated with the code that was returned.GetNotificationChannelVerificationCodeResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GetNotificationChannelVerificationCodeResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GetNotificationChannelVerificationCodeResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
clear
public GetNotificationChannelVerificationCodeResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
getDefaultInstanceForType
public GetNotificationChannelVerificationCodeResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetNotificationChannelVerificationCodeResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetNotificationChannelVerificationCodeResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetNotificationChannelVerificationCodeResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
setField
public GetNotificationChannelVerificationCodeResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
clearField
public GetNotificationChannelVerificationCodeResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
clearOneof
public GetNotificationChannelVerificationCodeResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
setRepeatedField
public GetNotificationChannelVerificationCodeResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
addRepeatedField
public GetNotificationChannelVerificationCodeResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
mergeFrom
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
mergeFrom
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(GetNotificationChannelVerificationCodeResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
mergeFrom
public GetNotificationChannelVerificationCodeResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
- Throws:
IOException
-
getCode
public String 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:
getCode
in 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:
getCodeBytes
in interfaceGetNotificationChannelVerificationCodeResponseOrBuilder
- Returns:
- The bytes for code.
-
setCode
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;
- Parameters:
value
- The code to set.- Returns:
- This builder for chaining.
-
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:
- 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:
hasExpireTime
in 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:
getExpireTime
in 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
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;
-
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:
getExpireTimeOrBuilder
in interfaceGetNotificationChannelVerificationCodeResponseOrBuilder
-
setUnknownFields
public final GetNotificationChannelVerificationCodeResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
mergeUnknownFields
public final GetNotificationChannelVerificationCodeResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GetNotificationChannelVerificationCodeResponse.Builder>
-
-