
io.bloombox.schema.services.shop.v1.ShopInfo 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: shop/v1/ShopService_v1.proto
package io.bloombox.schema.services.shop.v1;
/**
*
* Specifies an RPC operation to check the status of an online store, for availability/hours status, etc.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo}
*/
public final class ShopInfo extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.shop.v1.ShopInfo)
ShopInfoOrBuilder {
private static final long serialVersionUID = 0L;
// Use ShopInfo.newBuilder() to construct.
private ShopInfo(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ShopInfo() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ShopInfo(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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 (!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.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.class, io.bloombox.schema.services.shop.v1.ShopInfo.Builder.class);
}
public interface RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.shop.v1.ShopInfo.Request)
com.google.protobuf.MessageOrBuilder {
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
boolean hasLocation();
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
io.bloombox.schema.partner.LocationAccountKey.LocationKey getLocation();
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder getLocationOrBuilder();
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
boolean hasPartner();
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner();
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder();
public io.bloombox.schema.services.shop.v1.ShopInfo.Request.ScopeCase getScopeCase();
}
/**
*
* Request info about a digital shop via the API.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo.Request}
*/
public static final class Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.shop.v1.ShopInfo.Request)
RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use Request.newBuilder() to construct.
private Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Request() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Request(
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.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder subBuilder = null;
if (scopeCase_ == 1) {
subBuilder = ((io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_).toBuilder();
}
scope_ =
input.readMessage(io.bloombox.schema.partner.LocationAccountKey.LocationKey.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_);
scope_ = subBuilder.buildPartial();
}
scopeCase_ = 1;
break;
}
case 18: {
io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder subBuilder = null;
if (scopeCase_ == 2) {
subBuilder = ((io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_).toBuilder();
}
scope_ =
input.readMessage(io.bloombox.schema.partner.PartnerMeta.PartnerKey.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_);
scope_ = subBuilder.buildPartial();
}
scopeCase_ = 2;
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.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.Request.class, io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder.class);
}
private int scopeCase_ = 0;
private java.lang.Object scope_;
public enum ScopeCase
implements com.google.protobuf.Internal.EnumLite {
LOCATION(1),
PARTNER(2),
SCOPE_NOT_SET(0);
private final int value;
private ScopeCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ScopeCase valueOf(int value) {
return forNumber(value);
}
public static ScopeCase forNumber(int value) {
switch (value) {
case 1: return LOCATION;
case 2: return PARTNER;
case 0: return SCOPE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ScopeCase
getScopeCase() {
return ScopeCase.forNumber(
scopeCase_);
}
public static final int LOCATION_FIELD_NUMBER = 1;
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public boolean hasLocation() {
return scopeCase_ == 1;
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public io.bloombox.schema.partner.LocationAccountKey.LocationKey getLocation() {
if (scopeCase_ == 1) {
return (io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_;
}
return io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance();
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder getLocationOrBuilder() {
if (scopeCase_ == 1) {
return (io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_;
}
return io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance();
}
public static final int PARTNER_FIELD_NUMBER = 2;
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public boolean hasPartner() {
return scopeCase_ == 2;
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner() {
if (scopeCase_ == 2) {
return (io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_;
}
return io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance();
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder() {
if (scopeCase_ == 2) {
return (io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_;
}
return io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance();
}
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 (scopeCase_ == 1) {
output.writeMessage(1, (io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_);
}
if (scopeCase_ == 2) {
output.writeMessage(2, (io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (scopeCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_);
}
if (scopeCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_);
}
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.services.shop.v1.ShopInfo.Request)) {
return super.equals(obj);
}
io.bloombox.schema.services.shop.v1.ShopInfo.Request other = (io.bloombox.schema.services.shop.v1.ShopInfo.Request) obj;
if (!getScopeCase().equals(other.getScopeCase())) return false;
switch (scopeCase_) {
case 1:
if (!getLocation()
.equals(other.getLocation())) return false;
break;
case 2:
if (!getPartner()
.equals(other.getPartner())) return false;
break;
case 0:
default:
}
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();
switch (scopeCase_) {
case 1:
hash = (37 * hash) + LOCATION_FIELD_NUMBER;
hash = (53 * hash) + getLocation().hashCode();
break;
case 2:
hash = (37 * hash) + PARTNER_FIELD_NUMBER;
hash = (53 * hash) + getPartner().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request 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.services.shop.v1.ShopInfo.Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request 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.services.shop.v1.ShopInfo.Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request 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.services.shop.v1.ShopInfo.Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request 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.services.shop.v1.ShopInfo.Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request 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.services.shop.v1.ShopInfo.Request 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;
}
/**
*
* Request info about a digital shop via the API.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo.Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.shop.v1.ShopInfo.Request)
io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.Request.class, io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder.class);
}
// Construct using io.bloombox.schema.services.shop.v1.ShopInfo.Request.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();
scopeCase_ = 0;
scope_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Request_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Request getDefaultInstanceForType() {
return io.bloombox.schema.services.shop.v1.ShopInfo.Request.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Request build() {
io.bloombox.schema.services.shop.v1.ShopInfo.Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Request buildPartial() {
io.bloombox.schema.services.shop.v1.ShopInfo.Request result = new io.bloombox.schema.services.shop.v1.ShopInfo.Request(this);
if (scopeCase_ == 1) {
if (locationBuilder_ == null) {
result.scope_ = scope_;
} else {
result.scope_ = locationBuilder_.build();
}
}
if (scopeCase_ == 2) {
if (partnerBuilder_ == null) {
result.scope_ = scope_;
} else {
result.scope_ = partnerBuilder_.build();
}
}
result.scopeCase_ = scopeCase_;
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.services.shop.v1.ShopInfo.Request) {
return mergeFrom((io.bloombox.schema.services.shop.v1.ShopInfo.Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.shop.v1.ShopInfo.Request other) {
if (other == io.bloombox.schema.services.shop.v1.ShopInfo.Request.getDefaultInstance()) return this;
switch (other.getScopeCase()) {
case LOCATION: {
mergeLocation(other.getLocation());
break;
}
case PARTNER: {
mergePartner(other.getPartner());
break;
}
case SCOPE_NOT_SET: {
break;
}
}
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.services.shop.v1.ShopInfo.Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.shop.v1.ShopInfo.Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int scopeCase_ = 0;
private java.lang.Object scope_;
public ScopeCase
getScopeCase() {
return ScopeCase.forNumber(
scopeCase_);
}
public Builder clearScope() {
scopeCase_ = 0;
scope_ = null;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.LocationAccountKey.LocationKey, io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder, io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder> locationBuilder_;
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public boolean hasLocation() {
return scopeCase_ == 1;
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public io.bloombox.schema.partner.LocationAccountKey.LocationKey getLocation() {
if (locationBuilder_ == null) {
if (scopeCase_ == 1) {
return (io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_;
}
return io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance();
} else {
if (scopeCase_ == 1) {
return locationBuilder_.getMessage();
}
return io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance();
}
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public Builder setLocation(io.bloombox.schema.partner.LocationAccountKey.LocationKey value) {
if (locationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scope_ = value;
onChanged();
} else {
locationBuilder_.setMessage(value);
}
scopeCase_ = 1;
return this;
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public Builder setLocation(
io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder builderForValue) {
if (locationBuilder_ == null) {
scope_ = builderForValue.build();
onChanged();
} else {
locationBuilder_.setMessage(builderForValue.build());
}
scopeCase_ = 1;
return this;
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public Builder mergeLocation(io.bloombox.schema.partner.LocationAccountKey.LocationKey value) {
if (locationBuilder_ == null) {
if (scopeCase_ == 1 &&
scope_ != io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance()) {
scope_ = io.bloombox.schema.partner.LocationAccountKey.LocationKey.newBuilder((io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_)
.mergeFrom(value).buildPartial();
} else {
scope_ = value;
}
onChanged();
} else {
if (scopeCase_ == 1) {
locationBuilder_.mergeFrom(value);
}
locationBuilder_.setMessage(value);
}
scopeCase_ = 1;
return this;
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public Builder clearLocation() {
if (locationBuilder_ == null) {
if (scopeCase_ == 1) {
scopeCase_ = 0;
scope_ = null;
onChanged();
}
} else {
if (scopeCase_ == 1) {
scopeCase_ = 0;
scope_ = null;
}
locationBuilder_.clear();
}
return this;
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder getLocationBuilder() {
return getLocationFieldBuilder().getBuilder();
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
public io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder getLocationOrBuilder() {
if ((scopeCase_ == 1) && (locationBuilder_ != null)) {
return locationBuilder_.getMessageOrBuilder();
} else {
if (scopeCase_ == 1) {
return (io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_;
}
return io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance();
}
}
/**
*
* Location key.
*
*
* .bloombox.partner.LocationKey location = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.LocationAccountKey.LocationKey, io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder, io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder>
getLocationFieldBuilder() {
if (locationBuilder_ == null) {
if (!(scopeCase_ == 1)) {
scope_ = io.bloombox.schema.partner.LocationAccountKey.LocationKey.getDefaultInstance();
}
locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.LocationAccountKey.LocationKey, io.bloombox.schema.partner.LocationAccountKey.LocationKey.Builder, io.bloombox.schema.partner.LocationAccountKey.LocationKeyOrBuilder>(
(io.bloombox.schema.partner.LocationAccountKey.LocationKey) scope_,
getParentForChildren(),
isClean());
scope_ = null;
}
scopeCase_ = 1;
onChanged();;
return locationBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.PartnerMeta.PartnerKey, io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder, io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder> partnerBuilder_;
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public boolean hasPartner() {
return scopeCase_ == 2;
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKey getPartner() {
if (partnerBuilder_ == null) {
if (scopeCase_ == 2) {
return (io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_;
}
return io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance();
} else {
if (scopeCase_ == 2) {
return partnerBuilder_.getMessage();
}
return io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance();
}
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public Builder setPartner(io.bloombox.schema.partner.PartnerMeta.PartnerKey value) {
if (partnerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
scope_ = value;
onChanged();
} else {
partnerBuilder_.setMessage(value);
}
scopeCase_ = 2;
return this;
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public Builder setPartner(
io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder builderForValue) {
if (partnerBuilder_ == null) {
scope_ = builderForValue.build();
onChanged();
} else {
partnerBuilder_.setMessage(builderForValue.build());
}
scopeCase_ = 2;
return this;
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public Builder mergePartner(io.bloombox.schema.partner.PartnerMeta.PartnerKey value) {
if (partnerBuilder_ == null) {
if (scopeCase_ == 2 &&
scope_ != io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance()) {
scope_ = io.bloombox.schema.partner.PartnerMeta.PartnerKey.newBuilder((io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_)
.mergeFrom(value).buildPartial();
} else {
scope_ = value;
}
onChanged();
} else {
if (scopeCase_ == 2) {
partnerBuilder_.mergeFrom(value);
}
partnerBuilder_.setMessage(value);
}
scopeCase_ = 2;
return this;
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public Builder clearPartner() {
if (partnerBuilder_ == null) {
if (scopeCase_ == 2) {
scopeCase_ = 0;
scope_ = null;
onChanged();
}
} else {
if (scopeCase_ == 2) {
scopeCase_ = 0;
scope_ = null;
}
partnerBuilder_.clear();
}
return this;
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder getPartnerBuilder() {
return getPartnerFieldBuilder().getBuilder();
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
public io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder getPartnerOrBuilder() {
if ((scopeCase_ == 2) && (partnerBuilder_ != null)) {
return partnerBuilder_.getMessageOrBuilder();
} else {
if (scopeCase_ == 2) {
return (io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_;
}
return io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance();
}
}
/**
*
* Partner key, if requesting partner-level scope.
*
*
* .bloombox.partner.PartnerKey partner = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.PartnerMeta.PartnerKey, io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder, io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder>
getPartnerFieldBuilder() {
if (partnerBuilder_ == null) {
if (!(scopeCase_ == 2)) {
scope_ = io.bloombox.schema.partner.PartnerMeta.PartnerKey.getDefaultInstance();
}
partnerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.PartnerMeta.PartnerKey, io.bloombox.schema.partner.PartnerMeta.PartnerKey.Builder, io.bloombox.schema.partner.PartnerMeta.PartnerKeyOrBuilder>(
(io.bloombox.schema.partner.PartnerMeta.PartnerKey) scope_,
getParentForChildren(),
isClean());
scope_ = null;
}
scopeCase_ = 2;
onChanged();;
return partnerBuilder_;
}
@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.services.shop.v1.ShopInfo.Request)
}
// @@protoc_insertion_point(class_scope:bloombox.services.shop.v1.ShopInfo.Request)
private static final io.bloombox.schema.services.shop.v1.ShopInfo.Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.shop.v1.ShopInfo.Request();
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Request(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.services.shop.v1.ShopInfo.Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.shop.v1.ShopInfo.Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
int getShopStatusValue();
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus getShopStatus();
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
boolean hasSettings();
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings getSettings();
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettingsOrBuilder getSettingsOrBuilder();
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
boolean hasHours();
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings getHours();
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettingsOrBuilder getHoursOrBuilder();
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
boolean hasContact();
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
io.opencannabis.schema.contact.GenericContact.ContactInfo getContact();
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder();
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
boolean hasSocial();
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
io.opencannabis.schema.contact.GenericContact.SocialInfo getSocial();
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
io.opencannabis.schema.contact.GenericContact.SocialInfoOrBuilder getSocialOrBuilder();
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
boolean hasBranding();
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
io.bloombox.schema.services.shop.v1.ShopBranding getBranding();
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
io.bloombox.schema.services.shop.v1.ShopBrandingOrBuilder getBrandingOrBuilder();
}
/**
*
* Response to a request for info about a digital shop via the API.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo.Response}
*/
public static final class Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.shop.v1.ShopInfo.Response)
ResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use Response.newBuilder() to construct.
private Response(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Response() {
shopStatus_ = 0;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Response(
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 8: {
int rawValue = input.readEnum();
shopStatus_ = rawValue;
break;
}
case 18: {
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
case 26: {
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.Builder subBuilder = null;
if (hours_ != null) {
subBuilder = hours_.toBuilder();
}
hours_ = input.readMessage(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hours_);
hours_ = subBuilder.buildPartial();
}
break;
}
case 34: {
io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder subBuilder = null;
if (contact_ != null) {
subBuilder = contact_.toBuilder();
}
contact_ = input.readMessage(io.opencannabis.schema.contact.GenericContact.ContactInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(contact_);
contact_ = subBuilder.buildPartial();
}
break;
}
case 42: {
io.opencannabis.schema.contact.GenericContact.SocialInfo.Builder subBuilder = null;
if (social_ != null) {
subBuilder = social_.toBuilder();
}
social_ = input.readMessage(io.opencannabis.schema.contact.GenericContact.SocialInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(social_);
social_ = subBuilder.buildPartial();
}
break;
}
case 50: {
io.bloombox.schema.services.shop.v1.ShopBranding.Builder subBuilder = null;
if (branding_ != null) {
subBuilder = branding_.toBuilder();
}
branding_ = input.readMessage(io.bloombox.schema.services.shop.v1.ShopBranding.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(branding_);
branding_ = 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.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.Response.class, io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder.class);
}
public static final int SHOP_STATUS_FIELD_NUMBER = 1;
private int shopStatus_;
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public int getShopStatusValue() {
return shopStatus_;
}
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus getShopStatus() {
@SuppressWarnings("deprecation")
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus result = io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus.valueOf(shopStatus_);
return result == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus.UNRECOGNIZED : result;
}
public static final int SETTINGS_FIELD_NUMBER = 2;
private io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings settings_;
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public boolean hasSettings() {
return settings_ != null;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings getSettings() {
return settings_ == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.getDefaultInstance() : settings_;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
public static final int HOURS_FIELD_NUMBER = 3;
private io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings hours_;
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public boolean hasHours() {
return hours_ != null;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings getHours() {
return hours_ == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.getDefaultInstance() : hours_;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettingsOrBuilder getHoursOrBuilder() {
return getHours();
}
public static final int CONTACT_FIELD_NUMBER = 4;
private io.opencannabis.schema.contact.GenericContact.ContactInfo contact_;
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public boolean hasContact() {
return contact_ != null;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfo getContact() {
return contact_ == null ? io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder() {
return getContact();
}
public static final int SOCIAL_FIELD_NUMBER = 5;
private io.opencannabis.schema.contact.GenericContact.SocialInfo social_;
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public boolean hasSocial() {
return social_ != null;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public io.opencannabis.schema.contact.GenericContact.SocialInfo getSocial() {
return social_ == null ? io.opencannabis.schema.contact.GenericContact.SocialInfo.getDefaultInstance() : social_;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public io.opencannabis.schema.contact.GenericContact.SocialInfoOrBuilder getSocialOrBuilder() {
return getSocial();
}
public static final int BRANDING_FIELD_NUMBER = 6;
private io.bloombox.schema.services.shop.v1.ShopBranding branding_;
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public boolean hasBranding() {
return branding_ != null;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public io.bloombox.schema.services.shop.v1.ShopBranding getBranding() {
return branding_ == null ? io.bloombox.schema.services.shop.v1.ShopBranding.getDefaultInstance() : branding_;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public io.bloombox.schema.services.shop.v1.ShopBrandingOrBuilder getBrandingOrBuilder() {
return getBranding();
}
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 (shopStatus_ != io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus.OPEN.getNumber()) {
output.writeEnum(1, shopStatus_);
}
if (settings_ != null) {
output.writeMessage(2, getSettings());
}
if (hours_ != null) {
output.writeMessage(3, getHours());
}
if (contact_ != null) {
output.writeMessage(4, getContact());
}
if (social_ != null) {
output.writeMessage(5, getSocial());
}
if (branding_ != null) {
output.writeMessage(6, getBranding());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (shopStatus_ != io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus.OPEN.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, shopStatus_);
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSettings());
}
if (hours_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getHours());
}
if (contact_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getContact());
}
if (social_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getSocial());
}
if (branding_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBranding());
}
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.services.shop.v1.ShopInfo.Response)) {
return super.equals(obj);
}
io.bloombox.schema.services.shop.v1.ShopInfo.Response other = (io.bloombox.schema.services.shop.v1.ShopInfo.Response) obj;
if (shopStatus_ != other.shopStatus_) return false;
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (hasHours() != other.hasHours()) return false;
if (hasHours()) {
if (!getHours()
.equals(other.getHours())) return false;
}
if (hasContact() != other.hasContact()) return false;
if (hasContact()) {
if (!getContact()
.equals(other.getContact())) return false;
}
if (hasSocial() != other.hasSocial()) return false;
if (hasSocial()) {
if (!getSocial()
.equals(other.getSocial())) return false;
}
if (hasBranding() != other.hasBranding()) return false;
if (hasBranding()) {
if (!getBranding()
.equals(other.getBranding())) 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();
hash = (37 * hash) + SHOP_STATUS_FIELD_NUMBER;
hash = (53 * hash) + shopStatus_;
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
if (hasHours()) {
hash = (37 * hash) + HOURS_FIELD_NUMBER;
hash = (53 * hash) + getHours().hashCode();
}
if (hasContact()) {
hash = (37 * hash) + CONTACT_FIELD_NUMBER;
hash = (53 * hash) + getContact().hashCode();
}
if (hasSocial()) {
hash = (37 * hash) + SOCIAL_FIELD_NUMBER;
hash = (53 * hash) + getSocial().hashCode();
}
if (hasBranding()) {
hash = (37 * hash) + BRANDING_FIELD_NUMBER;
hash = (53 * hash) + getBranding().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response 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.services.shop.v1.ShopInfo.Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response 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.services.shop.v1.ShopInfo.Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response 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.services.shop.v1.ShopInfo.Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response 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.services.shop.v1.ShopInfo.Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response 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.services.shop.v1.ShopInfo.Response 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;
}
/**
*
* Response to a request for info about a digital shop via the API.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo.Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.shop.v1.ShopInfo.Response)
io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.Response.class, io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder.class);
}
// Construct using io.bloombox.schema.services.shop.v1.ShopInfo.Response.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();
shopStatus_ = 0;
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
if (hoursBuilder_ == null) {
hours_ = null;
} else {
hours_ = null;
hoursBuilder_ = null;
}
if (contactBuilder_ == null) {
contact_ = null;
} else {
contact_ = null;
contactBuilder_ = null;
}
if (socialBuilder_ == null) {
social_ = null;
} else {
social_ = null;
socialBuilder_ = null;
}
if (brandingBuilder_ == null) {
branding_ = null;
} else {
branding_ = null;
brandingBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Response_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Response getDefaultInstanceForType() {
return io.bloombox.schema.services.shop.v1.ShopInfo.Response.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Response build() {
io.bloombox.schema.services.shop.v1.ShopInfo.Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Response buildPartial() {
io.bloombox.schema.services.shop.v1.ShopInfo.Response result = new io.bloombox.schema.services.shop.v1.ShopInfo.Response(this);
result.shopStatus_ = shopStatus_;
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
if (hoursBuilder_ == null) {
result.hours_ = hours_;
} else {
result.hours_ = hoursBuilder_.build();
}
if (contactBuilder_ == null) {
result.contact_ = contact_;
} else {
result.contact_ = contactBuilder_.build();
}
if (socialBuilder_ == null) {
result.social_ = social_;
} else {
result.social_ = socialBuilder_.build();
}
if (brandingBuilder_ == null) {
result.branding_ = branding_;
} else {
result.branding_ = brandingBuilder_.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.services.shop.v1.ShopInfo.Response) {
return mergeFrom((io.bloombox.schema.services.shop.v1.ShopInfo.Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.shop.v1.ShopInfo.Response other) {
if (other == io.bloombox.schema.services.shop.v1.ShopInfo.Response.getDefaultInstance()) return this;
if (other.shopStatus_ != 0) {
setShopStatusValue(other.getShopStatusValue());
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
if (other.hasHours()) {
mergeHours(other.getHours());
}
if (other.hasContact()) {
mergeContact(other.getContact());
}
if (other.hasSocial()) {
mergeSocial(other.getSocial());
}
if (other.hasBranding()) {
mergeBranding(other.getBranding());
}
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.services.shop.v1.ShopInfo.Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.shop.v1.ShopInfo.Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int shopStatus_ = 0;
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public int getShopStatusValue() {
return shopStatus_;
}
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public Builder setShopStatusValue(int value) {
shopStatus_ = value;
onChanged();
return this;
}
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus getShopStatus() {
@SuppressWarnings("deprecation")
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus result = io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus.valueOf(shopStatus_);
return result == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus.UNRECOGNIZED : result;
}
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public Builder setShopStatus(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopStatus value) {
if (value == null) {
throw new NullPointerException();
}
shopStatus_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Indicates the current status of the online shop in question.
*
*
* .bloombox.partner.settings.ShopStatus shop_status = 1;
*/
public Builder clearShopStatus() {
shopStatus_ = 0;
onChanged();
return this;
}
private io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettingsOrBuilder> settingsBuilder_;
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public Builder setSettings(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public Builder setSettings(
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public Builder mergeSettings(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.getDefaultInstance() : settings_;
}
}
/**
*
* Indicates support/settings for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopServiceSettings settings = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopServiceSettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
private io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings hours_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettingsOrBuilder> hoursBuilder_;
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public boolean hasHours() {
return hoursBuilder_ != null || hours_ != null;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings getHours() {
if (hoursBuilder_ == null) {
return hours_ == null ? io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.getDefaultInstance() : hours_;
} else {
return hoursBuilder_.getMessage();
}
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public Builder setHours(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings value) {
if (hoursBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hours_ = value;
onChanged();
} else {
hoursBuilder_.setMessage(value);
}
return this;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public Builder setHours(
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.Builder builderForValue) {
if (hoursBuilder_ == null) {
hours_ = builderForValue.build();
onChanged();
} else {
hoursBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public Builder mergeHours(io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings value) {
if (hoursBuilder_ == null) {
if (hours_ != null) {
hours_ =
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.newBuilder(hours_).mergeFrom(value).buildPartial();
} else {
hours_ = value;
}
onChanged();
} else {
hoursBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public Builder clearHours() {
if (hoursBuilder_ == null) {
hours_ = null;
onChanged();
} else {
hours_ = null;
hoursBuilder_ = null;
}
return this;
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.Builder getHoursBuilder() {
onChanged();
return getHoursFieldBuilder().getBuilder();
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
public io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettingsOrBuilder getHoursOrBuilder() {
if (hoursBuilder_ != null) {
return hoursBuilder_.getMessageOrBuilder();
} else {
return hours_ == null ?
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.getDefaultInstance() : hours_;
}
}
/**
*
* Indicates regular and special hours that apply for a given digital shop context.
*
*
* .bloombox.partner.settings.ShopHoursSettings hours = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettingsOrBuilder>
getHoursFieldBuilder() {
if (hoursBuilder_ == null) {
hoursBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettings.Builder, io.bloombox.schema.partner.settings.PartnerLocationSettingsOuterClass.ShopHoursSettingsOrBuilder>(
getHours(),
getParentForChildren(),
isClean());
hours_ = null;
}
return hoursBuilder_;
}
private io.opencannabis.schema.contact.GenericContact.ContactInfo contact_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.contact.GenericContact.ContactInfo, io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder, io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder> contactBuilder_;
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public boolean hasContact() {
return contactBuilder_ != null || contact_ != null;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfo getContact() {
if (contactBuilder_ == null) {
return contact_ == null ? io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_;
} else {
return contactBuilder_.getMessage();
}
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public Builder setContact(io.opencannabis.schema.contact.GenericContact.ContactInfo value) {
if (contactBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
contact_ = value;
onChanged();
} else {
contactBuilder_.setMessage(value);
}
return this;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public Builder setContact(
io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder builderForValue) {
if (contactBuilder_ == null) {
contact_ = builderForValue.build();
onChanged();
} else {
contactBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public Builder mergeContact(io.opencannabis.schema.contact.GenericContact.ContactInfo value) {
if (contactBuilder_ == null) {
if (contact_ != null) {
contact_ =
io.opencannabis.schema.contact.GenericContact.ContactInfo.newBuilder(contact_).mergeFrom(value).buildPartial();
} else {
contact_ = value;
}
onChanged();
} else {
contactBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public Builder clearContact() {
if (contactBuilder_ == null) {
contact_ = null;
onChanged();
} else {
contact_ = null;
contactBuilder_ = null;
}
return this;
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder getContactBuilder() {
onChanged();
return getContactFieldBuilder().getBuilder();
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
public io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder getContactOrBuilder() {
if (contactBuilder_ != null) {
return contactBuilder_.getMessageOrBuilder();
} else {
return contact_ == null ?
io.opencannabis.schema.contact.GenericContact.ContactInfo.getDefaultInstance() : contact_;
}
}
/**
*
* Indicates contact info for a given partner location.
*
*
* .opencannabis.contact.ContactInfo contact = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.contact.GenericContact.ContactInfo, io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder, io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder>
getContactFieldBuilder() {
if (contactBuilder_ == null) {
contactBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.contact.GenericContact.ContactInfo, io.opencannabis.schema.contact.GenericContact.ContactInfo.Builder, io.opencannabis.schema.contact.GenericContact.ContactInfoOrBuilder>(
getContact(),
getParentForChildren(),
isClean());
contact_ = null;
}
return contactBuilder_;
}
private io.opencannabis.schema.contact.GenericContact.SocialInfo social_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.contact.GenericContact.SocialInfo, io.opencannabis.schema.contact.GenericContact.SocialInfo.Builder, io.opencannabis.schema.contact.GenericContact.SocialInfoOrBuilder> socialBuilder_;
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public boolean hasSocial() {
return socialBuilder_ != null || social_ != null;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public io.opencannabis.schema.contact.GenericContact.SocialInfo getSocial() {
if (socialBuilder_ == null) {
return social_ == null ? io.opencannabis.schema.contact.GenericContact.SocialInfo.getDefaultInstance() : social_;
} else {
return socialBuilder_.getMessage();
}
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public Builder setSocial(io.opencannabis.schema.contact.GenericContact.SocialInfo value) {
if (socialBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
social_ = value;
onChanged();
} else {
socialBuilder_.setMessage(value);
}
return this;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public Builder setSocial(
io.opencannabis.schema.contact.GenericContact.SocialInfo.Builder builderForValue) {
if (socialBuilder_ == null) {
social_ = builderForValue.build();
onChanged();
} else {
socialBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public Builder mergeSocial(io.opencannabis.schema.contact.GenericContact.SocialInfo value) {
if (socialBuilder_ == null) {
if (social_ != null) {
social_ =
io.opencannabis.schema.contact.GenericContact.SocialInfo.newBuilder(social_).mergeFrom(value).buildPartial();
} else {
social_ = value;
}
onChanged();
} else {
socialBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public Builder clearSocial() {
if (socialBuilder_ == null) {
social_ = null;
onChanged();
} else {
social_ = null;
socialBuilder_ = null;
}
return this;
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public io.opencannabis.schema.contact.GenericContact.SocialInfo.Builder getSocialBuilder() {
onChanged();
return getSocialFieldBuilder().getBuilder();
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
public io.opencannabis.schema.contact.GenericContact.SocialInfoOrBuilder getSocialOrBuilder() {
if (socialBuilder_ != null) {
return socialBuilder_.getMessageOrBuilder();
} else {
return social_ == null ?
io.opencannabis.schema.contact.GenericContact.SocialInfo.getDefaultInstance() : social_;
}
}
/**
*
* Social account listings.
*
*
* .opencannabis.contact.SocialInfo social = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.contact.GenericContact.SocialInfo, io.opencannabis.schema.contact.GenericContact.SocialInfo.Builder, io.opencannabis.schema.contact.GenericContact.SocialInfoOrBuilder>
getSocialFieldBuilder() {
if (socialBuilder_ == null) {
socialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.contact.GenericContact.SocialInfo, io.opencannabis.schema.contact.GenericContact.SocialInfo.Builder, io.opencannabis.schema.contact.GenericContact.SocialInfoOrBuilder>(
getSocial(),
getParentForChildren(),
isClean());
social_ = null;
}
return socialBuilder_;
}
private io.bloombox.schema.services.shop.v1.ShopBranding branding_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopBranding, io.bloombox.schema.services.shop.v1.ShopBranding.Builder, io.bloombox.schema.services.shop.v1.ShopBrandingOrBuilder> brandingBuilder_;
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public boolean hasBranding() {
return brandingBuilder_ != null || branding_ != null;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public io.bloombox.schema.services.shop.v1.ShopBranding getBranding() {
if (brandingBuilder_ == null) {
return branding_ == null ? io.bloombox.schema.services.shop.v1.ShopBranding.getDefaultInstance() : branding_;
} else {
return brandingBuilder_.getMessage();
}
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public Builder setBranding(io.bloombox.schema.services.shop.v1.ShopBranding value) {
if (brandingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
branding_ = value;
onChanged();
} else {
brandingBuilder_.setMessage(value);
}
return this;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public Builder setBranding(
io.bloombox.schema.services.shop.v1.ShopBranding.Builder builderForValue) {
if (brandingBuilder_ == null) {
branding_ = builderForValue.build();
onChanged();
} else {
brandingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public Builder mergeBranding(io.bloombox.schema.services.shop.v1.ShopBranding value) {
if (brandingBuilder_ == null) {
if (branding_ != null) {
branding_ =
io.bloombox.schema.services.shop.v1.ShopBranding.newBuilder(branding_).mergeFrom(value).buildPartial();
} else {
branding_ = value;
}
onChanged();
} else {
brandingBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public Builder clearBranding() {
if (brandingBuilder_ == null) {
branding_ = null;
onChanged();
} else {
branding_ = null;
brandingBuilder_ = null;
}
return this;
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public io.bloombox.schema.services.shop.v1.ShopBranding.Builder getBrandingBuilder() {
onChanged();
return getBrandingFieldBuilder().getBuilder();
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
public io.bloombox.schema.services.shop.v1.ShopBrandingOrBuilder getBrandingOrBuilder() {
if (brandingBuilder_ != null) {
return brandingBuilder_.getMessageOrBuilder();
} else {
return branding_ == null ?
io.bloombox.schema.services.shop.v1.ShopBranding.getDefaultInstance() : branding_;
}
}
/**
*
* Branding information for the digital shop in question.
*
*
* .bloombox.services.shop.v1.ShopBranding branding = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopBranding, io.bloombox.schema.services.shop.v1.ShopBranding.Builder, io.bloombox.schema.services.shop.v1.ShopBrandingOrBuilder>
getBrandingFieldBuilder() {
if (brandingBuilder_ == null) {
brandingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopBranding, io.bloombox.schema.services.shop.v1.ShopBranding.Builder, io.bloombox.schema.services.shop.v1.ShopBrandingOrBuilder>(
getBranding(),
getParentForChildren(),
isClean());
branding_ = null;
}
return brandingBuilder_;
}
@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.services.shop.v1.ShopInfo.Response)
}
// @@protoc_insertion_point(class_scope:bloombox.services.shop.v1.ShopInfo.Response)
private static final io.bloombox.schema.services.shop.v1.ShopInfo.Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.shop.v1.ShopInfo.Response();
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Response getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Response parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Response(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.services.shop.v1.ShopInfo.Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OperationOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.services.shop.v1.ShopInfo.Operation)
com.google.protobuf.MessageOrBuilder {
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
boolean hasRequest();
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
io.bloombox.schema.services.shop.v1.ShopInfo.Request getRequest();
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder getRequestOrBuilder();
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
boolean hasResponse();
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
io.bloombox.schema.services.shop.v1.ShopInfo.Response getResponse();
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder getResponseOrBuilder();
}
/**
*
* Specifies an entire operation to query information about one or more digital shops.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo.Operation}
*/
public static final class Operation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.services.shop.v1.ShopInfo.Operation)
OperationOrBuilder {
private static final long serialVersionUID = 0L;
// Use Operation.newBuilder() to construct.
private Operation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Operation() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Operation(
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.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder subBuilder = null;
if (request_ != null) {
subBuilder = request_.toBuilder();
}
request_ = input.readMessage(io.bloombox.schema.services.shop.v1.ShopInfo.Request.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(request_);
request_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder subBuilder = null;
if (response_ != null) {
subBuilder = response_.toBuilder();
}
response_ = input.readMessage(io.bloombox.schema.services.shop.v1.ShopInfo.Response.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(response_);
response_ = 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.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Operation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.Operation.class, io.bloombox.schema.services.shop.v1.ShopInfo.Operation.Builder.class);
}
public static final int REQUEST_FIELD_NUMBER = 1;
private io.bloombox.schema.services.shop.v1.ShopInfo.Request request_;
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public boolean hasRequest() {
return request_ != null;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.Request getRequest() {
return request_ == null ? io.bloombox.schema.services.shop.v1.ShopInfo.Request.getDefaultInstance() : request_;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder getRequestOrBuilder() {
return getRequest();
}
public static final int RESPONSE_FIELD_NUMBER = 2;
private io.bloombox.schema.services.shop.v1.ShopInfo.Response response_;
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public boolean hasResponse() {
return response_ != null;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.Response getResponse() {
return response_ == null ? io.bloombox.schema.services.shop.v1.ShopInfo.Response.getDefaultInstance() : response_;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder getResponseOrBuilder() {
return getResponse();
}
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 (request_ != null) {
output.writeMessage(1, getRequest());
}
if (response_ != null) {
output.writeMessage(2, getResponse());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (request_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getRequest());
}
if (response_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getResponse());
}
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.services.shop.v1.ShopInfo.Operation)) {
return super.equals(obj);
}
io.bloombox.schema.services.shop.v1.ShopInfo.Operation other = (io.bloombox.schema.services.shop.v1.ShopInfo.Operation) obj;
if (hasRequest() != other.hasRequest()) return false;
if (hasRequest()) {
if (!getRequest()
.equals(other.getRequest())) return false;
}
if (hasResponse() != other.hasResponse()) return false;
if (hasResponse()) {
if (!getResponse()
.equals(other.getResponse())) 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 (hasRequest()) {
hash = (37 * hash) + REQUEST_FIELD_NUMBER;
hash = (53 * hash) + getRequest().hashCode();
}
if (hasResponse()) {
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation 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.services.shop.v1.ShopInfo.Operation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation 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.services.shop.v1.ShopInfo.Operation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation 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.services.shop.v1.ShopInfo.Operation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation 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.services.shop.v1.ShopInfo.Operation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation 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.services.shop.v1.ShopInfo.Operation 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 entire operation to query information about one or more digital shops.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo.Operation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.shop.v1.ShopInfo.Operation)
io.bloombox.schema.services.shop.v1.ShopInfo.OperationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Operation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Operation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.Operation.class, io.bloombox.schema.services.shop.v1.ShopInfo.Operation.Builder.class);
}
// Construct using io.bloombox.schema.services.shop.v1.ShopInfo.Operation.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 (requestBuilder_ == null) {
request_ = null;
} else {
request_ = null;
requestBuilder_ = null;
}
if (responseBuilder_ == null) {
response_ = null;
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_Operation_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Operation getDefaultInstanceForType() {
return io.bloombox.schema.services.shop.v1.ShopInfo.Operation.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Operation build() {
io.bloombox.schema.services.shop.v1.ShopInfo.Operation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo.Operation buildPartial() {
io.bloombox.schema.services.shop.v1.ShopInfo.Operation result = new io.bloombox.schema.services.shop.v1.ShopInfo.Operation(this);
if (requestBuilder_ == null) {
result.request_ = request_;
} else {
result.request_ = requestBuilder_.build();
}
if (responseBuilder_ == null) {
result.response_ = response_;
} else {
result.response_ = responseBuilder_.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.services.shop.v1.ShopInfo.Operation) {
return mergeFrom((io.bloombox.schema.services.shop.v1.ShopInfo.Operation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.shop.v1.ShopInfo.Operation other) {
if (other == io.bloombox.schema.services.shop.v1.ShopInfo.Operation.getDefaultInstance()) return this;
if (other.hasRequest()) {
mergeRequest(other.getRequest());
}
if (other.hasResponse()) {
mergeResponse(other.getResponse());
}
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.services.shop.v1.ShopInfo.Operation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.shop.v1.ShopInfo.Operation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.bloombox.schema.services.shop.v1.ShopInfo.Request request_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopInfo.Request, io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder, io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder> requestBuilder_;
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public boolean hasRequest() {
return requestBuilder_ != null || request_ != null;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.Request getRequest() {
if (requestBuilder_ == null) {
return request_ == null ? io.bloombox.schema.services.shop.v1.ShopInfo.Request.getDefaultInstance() : request_;
} else {
return requestBuilder_.getMessage();
}
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public Builder setRequest(io.bloombox.schema.services.shop.v1.ShopInfo.Request value) {
if (requestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
request_ = value;
onChanged();
} else {
requestBuilder_.setMessage(value);
}
return this;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public Builder setRequest(
io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder builderForValue) {
if (requestBuilder_ == null) {
request_ = builderForValue.build();
onChanged();
} else {
requestBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public Builder mergeRequest(io.bloombox.schema.services.shop.v1.ShopInfo.Request value) {
if (requestBuilder_ == null) {
if (request_ != null) {
request_ =
io.bloombox.schema.services.shop.v1.ShopInfo.Request.newBuilder(request_).mergeFrom(value).buildPartial();
} else {
request_ = value;
}
onChanged();
} else {
requestBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public Builder clearRequest() {
if (requestBuilder_ == null) {
request_ = null;
onChanged();
} else {
request_ = null;
requestBuilder_ = null;
}
return this;
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder getRequestBuilder() {
onChanged();
return getRequestFieldBuilder().getBuilder();
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder getRequestOrBuilder() {
if (requestBuilder_ != null) {
return requestBuilder_.getMessageOrBuilder();
} else {
return request_ == null ?
io.bloombox.schema.services.shop.v1.ShopInfo.Request.getDefaultInstance() : request_;
}
}
/**
*
* Request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Request request = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopInfo.Request, io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder, io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder>
getRequestFieldBuilder() {
if (requestBuilder_ == null) {
requestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopInfo.Request, io.bloombox.schema.services.shop.v1.ShopInfo.Request.Builder, io.bloombox.schema.services.shop.v1.ShopInfo.RequestOrBuilder>(
getRequest(),
getParentForChildren(),
isClean());
request_ = null;
}
return requestBuilder_;
}
private io.bloombox.schema.services.shop.v1.ShopInfo.Response response_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopInfo.Response, io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder, io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder> responseBuilder_;
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public boolean hasResponse() {
return responseBuilder_ != null || response_ != null;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.Response getResponse() {
if (responseBuilder_ == null) {
return response_ == null ? io.bloombox.schema.services.shop.v1.ShopInfo.Response.getDefaultInstance() : response_;
} else {
return responseBuilder_.getMessage();
}
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public Builder setResponse(io.bloombox.schema.services.shop.v1.ShopInfo.Response value) {
if (responseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
response_ = value;
onChanged();
} else {
responseBuilder_.setMessage(value);
}
return this;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public Builder setResponse(
io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder builderForValue) {
if (responseBuilder_ == null) {
response_ = builderForValue.build();
onChanged();
} else {
responseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public Builder mergeResponse(io.bloombox.schema.services.shop.v1.ShopInfo.Response value) {
if (responseBuilder_ == null) {
if (response_ != null) {
response_ =
io.bloombox.schema.services.shop.v1.ShopInfo.Response.newBuilder(response_).mergeFrom(value).buildPartial();
} else {
response_ = value;
}
onChanged();
} else {
responseBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public Builder clearResponse() {
if (responseBuilder_ == null) {
response_ = null;
onChanged();
} else {
response_ = null;
responseBuilder_ = null;
}
return this;
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder getResponseBuilder() {
onChanged();
return getResponseFieldBuilder().getBuilder();
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
public io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder getResponseOrBuilder() {
if (responseBuilder_ != null) {
return responseBuilder_.getMessageOrBuilder();
} else {
return response_ == null ?
io.bloombox.schema.services.shop.v1.ShopInfo.Response.getDefaultInstance() : response_;
}
}
/**
*
* Response to a request for shop status.
*
*
* .bloombox.services.shop.v1.ShopInfo.Response response = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopInfo.Response, io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder, io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder>
getResponseFieldBuilder() {
if (responseBuilder_ == null) {
responseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.services.shop.v1.ShopInfo.Response, io.bloombox.schema.services.shop.v1.ShopInfo.Response.Builder, io.bloombox.schema.services.shop.v1.ShopInfo.ResponseOrBuilder>(
getResponse(),
getParentForChildren(),
isClean());
response_ = null;
}
return responseBuilder_;
}
@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.services.shop.v1.ShopInfo.Operation)
}
// @@protoc_insertion_point(class_scope:bloombox.services.shop.v1.ShopInfo.Operation)
private static final io.bloombox.schema.services.shop.v1.ShopInfo.Operation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.shop.v1.ShopInfo.Operation();
}
public static io.bloombox.schema.services.shop.v1.ShopInfo.Operation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Operation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Operation(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.services.shop.v1.ShopInfo.Operation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
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 {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
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.services.shop.v1.ShopInfo)) {
return super.equals(obj);
}
io.bloombox.schema.services.shop.v1.ShopInfo other = (io.bloombox.schema.services.shop.v1.ShopInfo) obj;
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();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.services.shop.v1.ShopInfo parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo 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.services.shop.v1.ShopInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo 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.services.shop.v1.ShopInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo 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.services.shop.v1.ShopInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo 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.services.shop.v1.ShopInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.services.shop.v1.ShopInfo 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.services.shop.v1.ShopInfo 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 RPC operation to check the status of an online store, for availability/hours status, etc.
*
*
* Protobuf type {@code bloombox.services.shop.v1.ShopInfo}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.services.shop.v1.ShopInfo)
io.bloombox.schema.services.shop.v1.ShopInfoOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.services.shop.v1.ShopInfo.class, io.bloombox.schema.services.shop.v1.ShopInfo.Builder.class);
}
// Construct using io.bloombox.schema.services.shop.v1.ShopInfo.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();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.services.shop.v1.ShopServiceV1.internal_static_bloombox_services_shop_v1_ShopInfo_descriptor;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo getDefaultInstanceForType() {
return io.bloombox.schema.services.shop.v1.ShopInfo.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo build() {
io.bloombox.schema.services.shop.v1.ShopInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.services.shop.v1.ShopInfo buildPartial() {
io.bloombox.schema.services.shop.v1.ShopInfo result = new io.bloombox.schema.services.shop.v1.ShopInfo(this);
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.services.shop.v1.ShopInfo) {
return mergeFrom((io.bloombox.schema.services.shop.v1.ShopInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.services.shop.v1.ShopInfo other) {
if (other == io.bloombox.schema.services.shop.v1.ShopInfo.getDefaultInstance()) return this;
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.services.shop.v1.ShopInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.services.shop.v1.ShopInfo) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@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.services.shop.v1.ShopInfo)
}
// @@protoc_insertion_point(class_scope:bloombox.services.shop.v1.ShopInfo)
private static final io.bloombox.schema.services.shop.v1.ShopInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.services.shop.v1.ShopInfo();
}
public static io.bloombox.schema.services.shop.v1.ShopInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ShopInfo parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ShopInfo(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.services.shop.v1.ShopInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy