io.bloombox.schema.analytics.order.OrderAnalytics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
Java RPCAPI client for the Bloombox Cloud.
The newest version!
/*
* Copyright 2019, Momentum Ideas, Co. All rights reserved.
*
* Source and object computer code contained herein is the private intellectual
* property of Momentum Ideas Co., a Delaware Corporation. Use of this
* code in source form requires permission in writing before use or the
* assembly, distribution, or publishing of derivative works, for commercial
* purposes or any other purpose, from a duly authorized officer of Momentum
* Ideas Co.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: analytics/commerce/OrderAnalytics.proto
package io.bloombox.schema.analytics.order;
public final class OrderAnalytics {
private OrderAnalytics() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
/**
*
* Specifies actions that may be taken on an order.
*
*
* Protobuf enum {@code bloombox.analytics.order.OrderAction}
*/
public enum OrderAction
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* The user added to their cart.
*
*
* ADD_TO_CART = 0;
*/
ADD_TO_CART(0),
/**
*
* The user removed something from their cart.
*
*
* REMOVE_FROM_CART = 1;
*/
REMOVE_FROM_CART(1),
/**
*
* The user restored a previous cart.
*
*
* RESTORE_CART = 2;
*/
RESTORE_CART(2),
/**
*
* The user verified themselves as a member, to place an order.
*
*
* VERIFY_MEMBER = 3;
*/
VERIFY_MEMBER(3),
/**
*
* The user submitted an order.
*
*
* ORDER_SUBMIT = 4;
*/
ORDER_SUBMIT(4),
/**
*
* The user queries status for an order.
*
*
* ORDER_STATUS = 5;
*/
ORDER_STATUS(5),
/**
*
* The user cancelled an order.
*
*
* ORDER_CANCEL = 6;
*/
ORDER_CANCEL(6),
/**
*
* An order was accepted by a back-office user.
*
*
* ORDER_ACCEPTED = 7;
*/
ORDER_ACCEPTED(7),
/**
*
* An order was rejected by a back-office user.
*
*
* ORDER_REJECTED = 8;
*/
ORDER_REJECTED(8),
/**
*
* An order was set to in-progress by a back-office user.
*
*
* ORDER_IN_PROGRESS = 9;
*/
ORDER_IN_PROGRESS(9),
/**
*
* An order left for delivery.
*
*
* ORDER_OUT_FOR_DELIVERY = 10;
*/
ORDER_OUT_FOR_DELIVERY(10),
/**
*
* An order was fulfilled and may now be considered complete.
*
*
* ORDER_FULFILLED = 11;
*/
ORDER_FULFILLED(11),
UNRECOGNIZED(-1),
;
/**
*
* The user added to their cart.
*
*
* ADD_TO_CART = 0;
*/
public static final int ADD_TO_CART_VALUE = 0;
/**
*
* The user removed something from their cart.
*
*
* REMOVE_FROM_CART = 1;
*/
public static final int REMOVE_FROM_CART_VALUE = 1;
/**
*
* The user restored a previous cart.
*
*
* RESTORE_CART = 2;
*/
public static final int RESTORE_CART_VALUE = 2;
/**
*
* The user verified themselves as a member, to place an order.
*
*
* VERIFY_MEMBER = 3;
*/
public static final int VERIFY_MEMBER_VALUE = 3;
/**
*
* The user submitted an order.
*
*
* ORDER_SUBMIT = 4;
*/
public static final int ORDER_SUBMIT_VALUE = 4;
/**
*
* The user queries status for an order.
*
*
* ORDER_STATUS = 5;
*/
public static final int ORDER_STATUS_VALUE = 5;
/**
*
* The user cancelled an order.
*
*
* ORDER_CANCEL = 6;
*/
public static final int ORDER_CANCEL_VALUE = 6;
/**
*
* An order was accepted by a back-office user.
*
*
* ORDER_ACCEPTED = 7;
*/
public static final int ORDER_ACCEPTED_VALUE = 7;
/**
*
* An order was rejected by a back-office user.
*
*
* ORDER_REJECTED = 8;
*/
public static final int ORDER_REJECTED_VALUE = 8;
/**
*
* An order was set to in-progress by a back-office user.
*
*
* ORDER_IN_PROGRESS = 9;
*/
public static final int ORDER_IN_PROGRESS_VALUE = 9;
/**
*
* An order left for delivery.
*
*
* ORDER_OUT_FOR_DELIVERY = 10;
*/
public static final int ORDER_OUT_FOR_DELIVERY_VALUE = 10;
/**
*
* An order was fulfilled and may now be considered complete.
*
*
* ORDER_FULFILLED = 11;
*/
public static final int ORDER_FULFILLED_VALUE = 11;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OrderAction valueOf(int value) {
return forNumber(value);
}
public static OrderAction forNumber(int value) {
switch (value) {
case 0: return ADD_TO_CART;
case 1: return REMOVE_FROM_CART;
case 2: return RESTORE_CART;
case 3: return VERIFY_MEMBER;
case 4: return ORDER_SUBMIT;
case 5: return ORDER_STATUS;
case 6: return ORDER_CANCEL;
case 7: return ORDER_ACCEPTED;
case 8: return ORDER_REJECTED;
case 9: return ORDER_IN_PROGRESS;
case 10: return ORDER_OUT_FOR_DELIVERY;
case 11: return ORDER_FULFILLED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OrderAction> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public OrderAction findValueByNumber(int number) {
return OrderAction.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return io.bloombox.schema.analytics.order.OrderAnalytics.getDescriptor().getEnumTypes().get(0);
}
private static final OrderAction[] VALUES = values();
public static OrderAction valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private OrderAction(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:bloombox.analytics.order.OrderAction)
}
public interface ActionOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.analytics.order.Action)
com.google.protobuf.MessageOrBuilder {
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
boolean hasOrderKey();
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
io.opencannabis.schema.commerce.CommercialOrder.OrderKey getOrderKey();
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
io.opencannabis.schema.commerce.CommercialOrder.OrderKeyOrBuilder getOrderKeyOrBuilder();
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
int getVerbValue();
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction getVerb();
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
boolean hasCustomer();
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
io.opencannabis.schema.commerce.OrderCustomer.CustomerOrBuilder getCustomerOrBuilder();
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
boolean hasOccurred();
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
io.opencannabis.schema.temporal.TemporalInstant.Instant getOccurred();
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getOccurredOrBuilder();
}
/**
*
* Specifies an order action event, wherein a user or backoffice admin has affirmatively taken some action upon or
* regarding a commercial order to be submitted or previously submitted by an end user.
*
*
* Protobuf type {@code bloombox.analytics.order.Action}
*/
public static final class Action extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.analytics.order.Action)
ActionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Action.newBuilder() to construct.
private Action(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Action() {
verb_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Action(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.opencannabis.schema.commerce.CommercialOrder.OrderKey.Builder subBuilder = null;
if (orderKey_ != null) {
subBuilder = orderKey_.toBuilder();
}
orderKey_ = input.readMessage(io.opencannabis.schema.commerce.CommercialOrder.OrderKey.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(orderKey_);
orderKey_ = subBuilder.buildPartial();
}
break;
}
case 16: {
int rawValue = input.readEnum();
verb_ = rawValue;
break;
}
case 26: {
io.opencannabis.schema.commerce.OrderCustomer.Customer.Builder subBuilder = null;
if (customer_ != null) {
subBuilder = customer_.toBuilder();
}
customer_ = input.readMessage(io.opencannabis.schema.commerce.OrderCustomer.Customer.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(customer_);
customer_ = subBuilder.buildPartial();
}
break;
}
case 34: {
io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder subBuilder = null;
if (occurred_ != null) {
subBuilder = occurred_.toBuilder();
}
occurred_ = input.readMessage(io.opencannabis.schema.temporal.TemporalInstant.Instant.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(occurred_);
occurred_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.analytics.order.OrderAnalytics.internal_static_bloombox_analytics_order_Action_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.analytics.order.OrderAnalytics.internal_static_bloombox_analytics_order_Action_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.analytics.order.OrderAnalytics.Action.class, io.bloombox.schema.analytics.order.OrderAnalytics.Action.Builder.class);
}
public static final int ORDER_KEY_FIELD_NUMBER = 1;
private io.opencannabis.schema.commerce.CommercialOrder.OrderKey orderKey_;
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public boolean hasOrderKey() {
return orderKey_ != null;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public io.opencannabis.schema.commerce.CommercialOrder.OrderKey getOrderKey() {
return orderKey_ == null ? io.opencannabis.schema.commerce.CommercialOrder.OrderKey.getDefaultInstance() : orderKey_;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public io.opencannabis.schema.commerce.CommercialOrder.OrderKeyOrBuilder getOrderKeyOrBuilder() {
return getOrderKey();
}
public static final int VERB_FIELD_NUMBER = 2;
private int verb_;
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public int getVerbValue() {
return verb_;
}
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction getVerb() {
@SuppressWarnings("deprecation")
io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction result = io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction.valueOf(verb_);
return result == null ? io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction.UNRECOGNIZED : result;
}
public static final int CUSTOMER_FIELD_NUMBER = 3;
private io.opencannabis.schema.commerce.OrderCustomer.Customer customer_;
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public boolean hasCustomer() {
return customer_ != null;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer() {
return customer_ == null ? io.opencannabis.schema.commerce.OrderCustomer.Customer.getDefaultInstance() : customer_;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public io.opencannabis.schema.commerce.OrderCustomer.CustomerOrBuilder getCustomerOrBuilder() {
return getCustomer();
}
public static final int OCCURRED_FIELD_NUMBER = 4;
private io.opencannabis.schema.temporal.TemporalInstant.Instant occurred_;
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public boolean hasOccurred() {
return occurred_ != null;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public io.opencannabis.schema.temporal.TemporalInstant.Instant getOccurred() {
return occurred_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : occurred_;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getOccurredOrBuilder() {
return getOccurred();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (orderKey_ != null) {
output.writeMessage(1, getOrderKey());
}
if (verb_ != io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction.ADD_TO_CART.getNumber()) {
output.writeEnum(2, verb_);
}
if (customer_ != null) {
output.writeMessage(3, getCustomer());
}
if (occurred_ != null) {
output.writeMessage(4, getOccurred());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (orderKey_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOrderKey());
}
if (verb_ != io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction.ADD_TO_CART.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, verb_);
}
if (customer_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getCustomer());
}
if (occurred_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getOccurred());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.bloombox.schema.analytics.order.OrderAnalytics.Action)) {
return super.equals(obj);
}
io.bloombox.schema.analytics.order.OrderAnalytics.Action other = (io.bloombox.schema.analytics.order.OrderAnalytics.Action) obj;
if (hasOrderKey() != other.hasOrderKey()) return false;
if (hasOrderKey()) {
if (!getOrderKey()
.equals(other.getOrderKey())) return false;
}
if (verb_ != other.verb_) return false;
if (hasCustomer() != other.hasCustomer()) return false;
if (hasCustomer()) {
if (!getCustomer()
.equals(other.getCustomer())) return false;
}
if (hasOccurred() != other.hasOccurred()) return false;
if (hasOccurred()) {
if (!getOccurred()
.equals(other.getOccurred())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOrderKey()) {
hash = (37 * hash) + ORDER_KEY_FIELD_NUMBER;
hash = (53 * hash) + getOrderKey().hashCode();
}
hash = (37 * hash) + VERB_FIELD_NUMBER;
hash = (53 * hash) + verb_;
if (hasCustomer()) {
hash = (37 * hash) + CUSTOMER_FIELD_NUMBER;
hash = (53 * hash) + getCustomer().hashCode();
}
if (hasOccurred()) {
hash = (37 * hash) + OCCURRED_FIELD_NUMBER;
hash = (53 * hash) + getOccurred().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.analytics.order.OrderAnalytics.Action prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Specifies an order action event, wherein a user or backoffice admin has affirmatively taken some action upon or
* regarding a commercial order to be submitted or previously submitted by an end user.
*
*
* Protobuf type {@code bloombox.analytics.order.Action}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.analytics.order.Action)
io.bloombox.schema.analytics.order.OrderAnalytics.ActionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.analytics.order.OrderAnalytics.internal_static_bloombox_analytics_order_Action_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.analytics.order.OrderAnalytics.internal_static_bloombox_analytics_order_Action_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.analytics.order.OrderAnalytics.Action.class, io.bloombox.schema.analytics.order.OrderAnalytics.Action.Builder.class);
}
// Construct using io.bloombox.schema.analytics.order.OrderAnalytics.Action.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (orderKeyBuilder_ == null) {
orderKey_ = null;
} else {
orderKey_ = null;
orderKeyBuilder_ = null;
}
verb_ = 0;
if (customerBuilder_ == null) {
customer_ = null;
} else {
customer_ = null;
customerBuilder_ = null;
}
if (occurredBuilder_ == null) {
occurred_ = null;
} else {
occurred_ = null;
occurredBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.analytics.order.OrderAnalytics.internal_static_bloombox_analytics_order_Action_descriptor;
}
@java.lang.Override
public io.bloombox.schema.analytics.order.OrderAnalytics.Action getDefaultInstanceForType() {
return io.bloombox.schema.analytics.order.OrderAnalytics.Action.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.analytics.order.OrderAnalytics.Action build() {
io.bloombox.schema.analytics.order.OrderAnalytics.Action result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.analytics.order.OrderAnalytics.Action buildPartial() {
io.bloombox.schema.analytics.order.OrderAnalytics.Action result = new io.bloombox.schema.analytics.order.OrderAnalytics.Action(this);
if (orderKeyBuilder_ == null) {
result.orderKey_ = orderKey_;
} else {
result.orderKey_ = orderKeyBuilder_.build();
}
result.verb_ = verb_;
if (customerBuilder_ == null) {
result.customer_ = customer_;
} else {
result.customer_ = customerBuilder_.build();
}
if (occurredBuilder_ == null) {
result.occurred_ = occurred_;
} else {
result.occurred_ = occurredBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.analytics.order.OrderAnalytics.Action) {
return mergeFrom((io.bloombox.schema.analytics.order.OrderAnalytics.Action)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.analytics.order.OrderAnalytics.Action other) {
if (other == io.bloombox.schema.analytics.order.OrderAnalytics.Action.getDefaultInstance()) return this;
if (other.hasOrderKey()) {
mergeOrderKey(other.getOrderKey());
}
if (other.verb_ != 0) {
setVerbValue(other.getVerbValue());
}
if (other.hasCustomer()) {
mergeCustomer(other.getCustomer());
}
if (other.hasOccurred()) {
mergeOccurred(other.getOccurred());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.analytics.order.OrderAnalytics.Action parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.analytics.order.OrderAnalytics.Action) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.opencannabis.schema.commerce.CommercialOrder.OrderKey orderKey_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.commerce.CommercialOrder.OrderKey, io.opencannabis.schema.commerce.CommercialOrder.OrderKey.Builder, io.opencannabis.schema.commerce.CommercialOrder.OrderKeyOrBuilder> orderKeyBuilder_;
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public boolean hasOrderKey() {
return orderKeyBuilder_ != null || orderKey_ != null;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public io.opencannabis.schema.commerce.CommercialOrder.OrderKey getOrderKey() {
if (orderKeyBuilder_ == null) {
return orderKey_ == null ? io.opencannabis.schema.commerce.CommercialOrder.OrderKey.getDefaultInstance() : orderKey_;
} else {
return orderKeyBuilder_.getMessage();
}
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public Builder setOrderKey(io.opencannabis.schema.commerce.CommercialOrder.OrderKey value) {
if (orderKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
orderKey_ = value;
onChanged();
} else {
orderKeyBuilder_.setMessage(value);
}
return this;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public Builder setOrderKey(
io.opencannabis.schema.commerce.CommercialOrder.OrderKey.Builder builderForValue) {
if (orderKeyBuilder_ == null) {
orderKey_ = builderForValue.build();
onChanged();
} else {
orderKeyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public Builder mergeOrderKey(io.opencannabis.schema.commerce.CommercialOrder.OrderKey value) {
if (orderKeyBuilder_ == null) {
if (orderKey_ != null) {
orderKey_ =
io.opencannabis.schema.commerce.CommercialOrder.OrderKey.newBuilder(orderKey_).mergeFrom(value).buildPartial();
} else {
orderKey_ = value;
}
onChanged();
} else {
orderKeyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public Builder clearOrderKey() {
if (orderKeyBuilder_ == null) {
orderKey_ = null;
onChanged();
} else {
orderKey_ = null;
orderKeyBuilder_ = null;
}
return this;
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public io.opencannabis.schema.commerce.CommercialOrder.OrderKey.Builder getOrderKeyBuilder() {
onChanged();
return getOrderKeyFieldBuilder().getBuilder();
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
public io.opencannabis.schema.commerce.CommercialOrder.OrderKeyOrBuilder getOrderKeyOrBuilder() {
if (orderKeyBuilder_ != null) {
return orderKeyBuilder_.getMessageOrBuilder();
} else {
return orderKey_ == null ?
io.opencannabis.schema.commerce.CommercialOrder.OrderKey.getDefaultInstance() : orderKey_;
}
}
/**
*
* Order being referenced for action, if any.
*
*
* .opencannabis.commerce.OrderKey order_key = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.commerce.CommercialOrder.OrderKey, io.opencannabis.schema.commerce.CommercialOrder.OrderKey.Builder, io.opencannabis.schema.commerce.CommercialOrder.OrderKeyOrBuilder>
getOrderKeyFieldBuilder() {
if (orderKeyBuilder_ == null) {
orderKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.commerce.CommercialOrder.OrderKey, io.opencannabis.schema.commerce.CommercialOrder.OrderKey.Builder, io.opencannabis.schema.commerce.CommercialOrder.OrderKeyOrBuilder>(
getOrderKey(),
getParentForChildren(),
isClean());
orderKey_ = null;
}
return orderKeyBuilder_;
}
private int verb_ = 0;
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public int getVerbValue() {
return verb_;
}
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public Builder setVerbValue(int value) {
verb_ = value;
onChanged();
return this;
}
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction getVerb() {
@SuppressWarnings("deprecation")
io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction result = io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction.valueOf(verb_);
return result == null ? io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction.UNRECOGNIZED : result;
}
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public Builder setVerb(io.bloombox.schema.analytics.order.OrderAnalytics.OrderAction value) {
if (value == null) {
throw new NullPointerException();
}
verb_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Action that was taken upon or regarding the order.
*
*
* .bloombox.analytics.order.OrderAction verb = 2;
*/
public Builder clearVerb() {
verb_ = 0;
onChanged();
return this;
}
private io.opencannabis.schema.commerce.OrderCustomer.Customer customer_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.commerce.OrderCustomer.Customer, io.opencannabis.schema.commerce.OrderCustomer.Customer.Builder, io.opencannabis.schema.commerce.OrderCustomer.CustomerOrBuilder> customerBuilder_;
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public boolean hasCustomer() {
return customerBuilder_ != null || customer_ != null;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer() {
if (customerBuilder_ == null) {
return customer_ == null ? io.opencannabis.schema.commerce.OrderCustomer.Customer.getDefaultInstance() : customer_;
} else {
return customerBuilder_.getMessage();
}
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public Builder setCustomer(io.opencannabis.schema.commerce.OrderCustomer.Customer value) {
if (customerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
customer_ = value;
onChanged();
} else {
customerBuilder_.setMessage(value);
}
return this;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public Builder setCustomer(
io.opencannabis.schema.commerce.OrderCustomer.Customer.Builder builderForValue) {
if (customerBuilder_ == null) {
customer_ = builderForValue.build();
onChanged();
} else {
customerBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public Builder mergeCustomer(io.opencannabis.schema.commerce.OrderCustomer.Customer value) {
if (customerBuilder_ == null) {
if (customer_ != null) {
customer_ =
io.opencannabis.schema.commerce.OrderCustomer.Customer.newBuilder(customer_).mergeFrom(value).buildPartial();
} else {
customer_ = value;
}
onChanged();
} else {
customerBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public Builder clearCustomer() {
if (customerBuilder_ == null) {
customer_ = null;
onChanged();
} else {
customer_ = null;
customerBuilder_ = null;
}
return this;
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public io.opencannabis.schema.commerce.OrderCustomer.Customer.Builder getCustomerBuilder() {
onChanged();
return getCustomerFieldBuilder().getBuilder();
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
public io.opencannabis.schema.commerce.OrderCustomer.CustomerOrBuilder getCustomerOrBuilder() {
if (customerBuilder_ != null) {
return customerBuilder_.getMessageOrBuilder();
} else {
return customer_ == null ?
io.opencannabis.schema.commerce.OrderCustomer.Customer.getDefaultInstance() : customer_;
}
}
/**
*
* Customer that took this action.
*
*
* .opencannabis.commerce.Customer customer = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.commerce.OrderCustomer.Customer, io.opencannabis.schema.commerce.OrderCustomer.Customer.Builder, io.opencannabis.schema.commerce.OrderCustomer.CustomerOrBuilder>
getCustomerFieldBuilder() {
if (customerBuilder_ == null) {
customerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.commerce.OrderCustomer.Customer, io.opencannabis.schema.commerce.OrderCustomer.Customer.Builder, io.opencannabis.schema.commerce.OrderCustomer.CustomerOrBuilder>(
getCustomer(),
getParentForChildren(),
isClean());
customer_ = null;
}
return customerBuilder_;
}
private io.opencannabis.schema.temporal.TemporalInstant.Instant occurred_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder> occurredBuilder_;
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public boolean hasOccurred() {
return occurredBuilder_ != null || occurred_ != null;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public io.opencannabis.schema.temporal.TemporalInstant.Instant getOccurred() {
if (occurredBuilder_ == null) {
return occurred_ == null ? io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : occurred_;
} else {
return occurredBuilder_.getMessage();
}
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public Builder setOccurred(io.opencannabis.schema.temporal.TemporalInstant.Instant value) {
if (occurredBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
occurred_ = value;
onChanged();
} else {
occurredBuilder_.setMessage(value);
}
return this;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public Builder setOccurred(
io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder builderForValue) {
if (occurredBuilder_ == null) {
occurred_ = builderForValue.build();
onChanged();
} else {
occurredBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public Builder mergeOccurred(io.opencannabis.schema.temporal.TemporalInstant.Instant value) {
if (occurredBuilder_ == null) {
if (occurred_ != null) {
occurred_ =
io.opencannabis.schema.temporal.TemporalInstant.Instant.newBuilder(occurred_).mergeFrom(value).buildPartial();
} else {
occurred_ = value;
}
onChanged();
} else {
occurredBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public Builder clearOccurred() {
if (occurredBuilder_ == null) {
occurred_ = null;
onChanged();
} else {
occurred_ = null;
occurredBuilder_ = null;
}
return this;
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder getOccurredBuilder() {
onChanged();
return getOccurredFieldBuilder().getBuilder();
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
public io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder getOccurredOrBuilder() {
if (occurredBuilder_ != null) {
return occurredBuilder_.getMessageOrBuilder();
} else {
return occurred_ == null ?
io.opencannabis.schema.temporal.TemporalInstant.Instant.getDefaultInstance() : occurred_;
}
}
/**
*
* Specifies when this view event occurred.
*
*
* .opencannabis.temporal.Instant occurred = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder>
getOccurredFieldBuilder() {
if (occurredBuilder_ == null) {
occurredBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.temporal.TemporalInstant.Instant, io.opencannabis.schema.temporal.TemporalInstant.Instant.Builder, io.opencannabis.schema.temporal.TemporalInstant.InstantOrBuilder>(
getOccurred(),
getParentForChildren(),
isClean());
occurred_ = null;
}
return occurredBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.analytics.order.Action)
}
// @@protoc_insertion_point(class_scope:bloombox.analytics.order.Action)
private static final io.bloombox.schema.analytics.order.OrderAnalytics.Action DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.analytics.order.OrderAnalytics.Action();
}
public static io.bloombox.schema.analytics.order.OrderAnalytics.Action getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Action parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Action(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.bloombox.schema.analytics.order.OrderAnalytics.Action getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_analytics_order_Action_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_analytics_order_Action_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\'analytics/commerce/OrderAnalytics.prot" +
"o\022\030bloombox.analytics.order\032\024commerce/Or" +
"der.proto\032\026temporal/Instant.proto\032\027comme" +
"rce/Customer.proto\"\326\001\n\006Action\0222\n\torder_k" +
"ey\030\001 \001(\0132\037.opencannabis.commerce.OrderKe" +
"y\0223\n\004verb\030\002 \001(\0162%.bloombox.analytics.ord" +
"er.OrderAction\0221\n\010customer\030\003 \001(\0132\037.openc" +
"annabis.commerce.Customer\0220\n\010occurred\030\004 " +
"\001(\0132\036.opencannabis.temporal.Instant*\377\001\n\013" +
"OrderAction\022\017\n\013ADD_TO_CART\020\000\022\024\n\020REMOVE_F" +
"ROM_CART\020\001\022\020\n\014RESTORE_CART\020\002\022\021\n\rVERIFY_M" +
"EMBER\020\003\022\020\n\014ORDER_SUBMIT\020\004\022\020\n\014ORDER_STATU" +
"S\020\005\022\020\n\014ORDER_CANCEL\020\006\022\022\n\016ORDER_ACCEPTED\020" +
"\007\022\022\n\016ORDER_REJECTED\020\010\022\025\n\021ORDER_IN_PROGRE" +
"SS\020\t\022\032\n\026ORDER_OUT_FOR_DELIVERY\020\n\022\023\n\017ORDE" +
"R_FULFILLED\020\013B>\n\"io.bloombox.schema.anal" +
"ytics.orderB\016OrderAnalyticsH\001P\000\242\002\003BBSb\006p" +
"roto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.opencannabis.schema.commerce.CommercialOrder.getDescriptor(),
io.opencannabis.schema.temporal.TemporalInstant.getDescriptor(),
io.opencannabis.schema.commerce.OrderCustomer.getDescriptor(),
}, assigner);
internal_static_bloombox_analytics_order_Action_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bloombox_analytics_order_Action_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_analytics_order_Action_descriptor,
new java.lang.String[] { "OrderKey", "Verb", "Customer", "Occurred", });
io.opencannabis.schema.commerce.CommercialOrder.getDescriptor();
io.opencannabis.schema.temporal.TemporalInstant.getDescriptor();
io.opencannabis.schema.commerce.OrderCustomer.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy