public static final class TransactionEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder> implements TransactionEventOrBuilder
Describes an event in the lifecycle of a payment transaction.Protobuf type
google.cloud.recaptchaenterprise.v1beta1.TransactionEvent| Modifier and Type | Method and Description |
|---|---|
TransactionEvent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionEvent |
build() |
TransactionEvent |
buildPartial() |
TransactionEvent.Builder |
clear() |
TransactionEvent.Builder |
clearEventTime()
Optional.
|
TransactionEvent.Builder |
clearEventType()
Optional.
|
TransactionEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionEvent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionEvent.Builder |
clearReason()
Optional.
|
TransactionEvent.Builder |
clearValue()
Optional.
|
TransactionEvent.Builder |
clone() |
TransactionEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEventTime()
Optional.
|
com.google.protobuf.Timestamp.Builder |
getEventTimeBuilder()
Optional.
|
com.google.protobuf.TimestampOrBuilder |
getEventTimeOrBuilder()
Optional.
|
TransactionEvent.TransactionEventType |
getEventType()
Optional.
|
int |
getEventTypeValue()
Optional.
|
String |
getReason()
Optional.
|
com.google.protobuf.ByteString |
getReasonBytes()
Optional.
|
double |
getValue()
Optional.
|
boolean |
hasEventTime()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransactionEvent.Builder |
mergeEventTime(com.google.protobuf.Timestamp value)
Optional.
|
TransactionEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransactionEvent.Builder |
mergeFrom(TransactionEvent other) |
TransactionEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionEvent.Builder |
setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional.
|
TransactionEvent.Builder |
setEventTime(com.google.protobuf.Timestamp value)
Optional.
|
TransactionEvent.Builder |
setEventType(TransactionEvent.TransactionEventType value)
Optional.
|
TransactionEvent.Builder |
setEventTypeValue(int value)
Optional.
|
TransactionEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionEvent.Builder |
setReason(String value)
Optional.
|
TransactionEvent.Builder |
setReasonBytes(com.google.protobuf.ByteString value)
Optional.
|
TransactionEvent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransactionEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionEvent.Builder |
setValue(double value)
Optional.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransactionEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransactionEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransactionEvent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionEvent.Builder>public TransactionEvent.Builder mergeFrom(TransactionEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public TransactionEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionEvent.Builder>IOExceptionpublic int getEventTypeValue()
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
getEventTypeValue in interface TransactionEventOrBuilderpublic TransactionEvent.Builder setEventTypeValue(int value)
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for eventType to set.public TransactionEvent.TransactionEventType getEventType()
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
getEventType in interface TransactionEventOrBuilderpublic TransactionEvent.Builder setEventType(TransactionEvent.TransactionEventType value)
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
value - The eventType to set.public TransactionEvent.Builder clearEventType()
Optional. The type of this transaction event.
.google.cloud.recaptchaenterprise.v1beta1.TransactionEvent.TransactionEventType event_type = 1 [(.google.api.field_behavior) = OPTIONAL];
public String getReason()
Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
string reason = 2 [(.google.api.field_behavior) = OPTIONAL];getReason in interface TransactionEventOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
string reason = 2 [(.google.api.field_behavior) = OPTIONAL];getReasonBytes in interface TransactionEventOrBuilderpublic TransactionEvent.Builder setReason(String value)
Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
string reason = 2 [(.google.api.field_behavior) = OPTIONAL];value - The reason to set.public TransactionEvent.Builder clearReason()
Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
string reason = 2 [(.google.api.field_behavior) = OPTIONAL];public TransactionEvent.Builder setReasonBytes(com.google.protobuf.ByteString value)
Optional. The reason or standardized code that corresponds with this transaction event, if one exists. For example, a CHARGEBACK event with code 6005.
string reason = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for reason to set.public double getValue()
Optional. The value that corresponds with this transaction event, if one exists. For example, a refund event where $5.00 was refunded. Currency is obtained from the original transaction data.
double value = 3 [(.google.api.field_behavior) = OPTIONAL];getValue in interface TransactionEventOrBuilderpublic TransactionEvent.Builder setValue(double value)
Optional. The value that corresponds with this transaction event, if one exists. For example, a refund event where $5.00 was refunded. Currency is obtained from the original transaction data.
double value = 3 [(.google.api.field_behavior) = OPTIONAL];value - The value to set.public TransactionEvent.Builder clearValue()
Optional. The value that corresponds with this transaction event, if one exists. For example, a refund event where $5.00 was refunded. Currency is obtained from the original transaction data.
double value = 3 [(.google.api.field_behavior) = OPTIONAL];public boolean hasEventTime()
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
hasEventTime in interface TransactionEventOrBuilderpublic com.google.protobuf.Timestamp getEventTime()
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
getEventTime in interface TransactionEventOrBuilderpublic TransactionEvent.Builder setEventTime(com.google.protobuf.Timestamp value)
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
public TransactionEvent.Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
public TransactionEvent.Builder mergeEventTime(com.google.protobuf.Timestamp value)
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
public TransactionEvent.Builder clearEventTime()
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call.
.google.protobuf.Timestamp event_time = 4 [(.google.api.field_behavior) = OPTIONAL];
getEventTimeOrBuilder in interface TransactionEventOrBuilderpublic final TransactionEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>public final TransactionEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionEvent.Builder>Copyright © 2023 Google LLC. All rights reserved.