io.bloombox.schema.base.ProductKey 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.
/*
* Copyright 2017, Bloombox, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* 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: base/ProductKey.proto
package io.bloombox.schema.base;
/**
*
* Specifies a general key for a product, which is the combined specification of a product ID and type, which is
* enumerated in `base.ProductType`.
*
*
* Protobuf type {@code base.ProductKey}
*/
public final class ProductKey extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:base.ProductKey)
ProductKeyOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProductKey.newBuilder() to construct.
private ProductKey(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private ProductKey() {
id_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProductKey(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
io.bloombox.schema.base.ProductType.Builder subBuilder = null;
if (type_ != null) {
subBuilder = type_.toBuilder();
}
type_ = input.readMessage(io.bloombox.schema.base.ProductType.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(type_);
type_ = subBuilder.buildPartial();
}
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.base.BaseProductKey.internal_static_base_ProductKey_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.base.BaseProductKey.internal_static_base_ProductKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.base.ProductKey.class, io.bloombox.schema.base.ProductKey.Builder.class);
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TYPE_FIELD_NUMBER = 2;
private io.bloombox.schema.base.ProductType type_;
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public boolean hasType() {
return type_ != null;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.base.ProductType getType() {
return type_ == null ? io.bloombox.schema.base.ProductType.getDefaultInstance() : type_;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.base.ProductTypeOrBuilder getTypeOrBuilder() {
return getType();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (type_ != null) {
output.writeMessage(2, getType());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (type_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getType());
}
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.base.ProductKey)) {
return super.equals(obj);
}
io.bloombox.schema.base.ProductKey other = (io.bloombox.schema.base.ProductKey) obj;
boolean result = true;
result = result && getId()
.equals(other.getId());
result = result && (hasType() == other.hasType());
if (hasType()) {
result = result && getType()
.equals(other.getType());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
if (hasType()) {
hash = (37 * hash) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.base.ProductKey parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.base.ProductKey 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.base.ProductKey parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.base.ProductKey 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.base.ProductKey parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.base.ProductKey parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.base.ProductKey parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.base.ProductKey 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.base.ProductKey parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.base.ProductKey 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.base.ProductKey parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.base.ProductKey parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.bloombox.schema.base.ProductKey prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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 a general key for a product, which is the combined specification of a product ID and type, which is
* enumerated in `base.ProductType`.
*
*
* Protobuf type {@code base.ProductKey}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:base.ProductKey)
io.bloombox.schema.base.ProductKeyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.base.BaseProductKey.internal_static_base_ProductKey_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.base.BaseProductKey.internal_static_base_ProductKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.base.ProductKey.class, io.bloombox.schema.base.ProductKey.Builder.class);
}
// Construct using io.bloombox.schema.base.ProductKey.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
id_ = "";
if (typeBuilder_ == null) {
type_ = null;
} else {
type_ = null;
typeBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.base.BaseProductKey.internal_static_base_ProductKey_descriptor;
}
public io.bloombox.schema.base.ProductKey getDefaultInstanceForType() {
return io.bloombox.schema.base.ProductKey.getDefaultInstance();
}
public io.bloombox.schema.base.ProductKey build() {
io.bloombox.schema.base.ProductKey result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public io.bloombox.schema.base.ProductKey buildPartial() {
io.bloombox.schema.base.ProductKey result = new io.bloombox.schema.base.ProductKey(this);
result.id_ = id_;
if (typeBuilder_ == null) {
result.type_ = type_;
} else {
result.type_ = typeBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.base.ProductKey) {
return mergeFrom((io.bloombox.schema.base.ProductKey)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.base.ProductKey other) {
if (other == io.bloombox.schema.base.ProductKey.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (other.hasType()) {
mergeType(other.getType());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.bloombox.schema.base.ProductKey parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.base.ProductKey) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
*
* Product ID, an opaque string that is usually autogenerated. Within the scope of an implementing system, this may
* also be a stringified integer such as an auto-incrementing ID, for relational-type systems. The product ID is
* expected to be globally addressable and unique across all product categories.
*
*
* string id = 1 [(.gen_bq_schema.require) = true, (.gen_bq_schema.description) = "Product ID, an opaque string that is usually autogenerated."];
*/
public Builder setIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private io.bloombox.schema.base.ProductType type_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.base.ProductType, io.bloombox.schema.base.ProductType.Builder, io.bloombox.schema.base.ProductTypeOrBuilder> typeBuilder_;
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public boolean hasType() {
return typeBuilder_ != null || type_ != null;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.base.ProductType getType() {
if (typeBuilder_ == null) {
return type_ == null ? io.bloombox.schema.base.ProductType.getDefaultInstance() : type_;
} else {
return typeBuilder_.getMessage();
}
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder setType(io.bloombox.schema.base.ProductType value) {
if (typeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
} else {
typeBuilder_.setMessage(value);
}
return this;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder setType(
io.bloombox.schema.base.ProductType.Builder builderForValue) {
if (typeBuilder_ == null) {
type_ = builderForValue.build();
onChanged();
} else {
typeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder mergeType(io.bloombox.schema.base.ProductType value) {
if (typeBuilder_ == null) {
if (type_ != null) {
type_ =
io.bloombox.schema.base.ProductType.newBuilder(type_).mergeFrom(value).buildPartial();
} else {
type_ = value;
}
onChanged();
} else {
typeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public Builder clearType() {
if (typeBuilder_ == null) {
type_ = null;
onChanged();
} else {
type_ = null;
typeBuilder_ = null;
}
return this;
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.base.ProductType.Builder getTypeBuilder() {
onChanged();
return getTypeFieldBuilder().getBuilder();
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
public io.bloombox.schema.base.ProductTypeOrBuilder getTypeOrBuilder() {
if (typeBuilder_ != null) {
return typeBuilder_.getMessageOrBuilder();
} else {
return type_ == null ?
io.bloombox.schema.base.ProductType.getDefaultInstance() : type_;
}
}
/**
*
* Type of product the ID is referring to. In most cases this entry can be omitted.
*
*
* .base.ProductType type = 2 [(.gen_bq_schema.ignore) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.base.ProductType, io.bloombox.schema.base.ProductType.Builder, io.bloombox.schema.base.ProductTypeOrBuilder>
getTypeFieldBuilder() {
if (typeBuilder_ == null) {
typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.base.ProductType, io.bloombox.schema.base.ProductType.Builder, io.bloombox.schema.base.ProductTypeOrBuilder>(
getType(),
getParentForChildren(),
isClean());
type_ = null;
}
return typeBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:base.ProductKey)
}
// @@protoc_insertion_point(class_scope:base.ProductKey)
private static final io.bloombox.schema.base.ProductKey DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.base.ProductKey();
}
public static io.bloombox.schema.base.ProductKey getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ProductKey parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ProductKey(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public io.bloombox.schema.base.ProductKey getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}