
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass 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: partner/integrations/TreezSettings.proto
package io.bloombox.schema.partner.integrations.treez;
public final class TreezSettingsOuterClass {
private TreezSettingsOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface TreezIntegrationFeaturesOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.treez.TreezIntegrationFeatures)
com.google.protobuf.MessageOrBuilder {
/**
*
* Enable or disable menu read sync.
*
*
* bool menu_read = 1;
*/
boolean getMenuRead();
}
/**
*
* Specifies Treez features that may be enabled or disabled.
*
*
* Protobuf type {@code bloombox.partner.integrations.treez.TreezIntegrationFeatures}
*/
public static final class TreezIntegrationFeatures extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.partner.integrations.treez.TreezIntegrationFeatures)
TreezIntegrationFeaturesOrBuilder {
private static final long serialVersionUID = 0L;
// Use TreezIntegrationFeatures.newBuilder() to construct.
private TreezIntegrationFeatures(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TreezIntegrationFeatures() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TreezIntegrationFeatures(
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: {
menuRead_ = input.readBool();
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.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.class, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder.class);
}
public static final int MENU_READ_FIELD_NUMBER = 1;
private boolean menuRead_;
/**
*
* Enable or disable menu read sync.
*
*
* bool menu_read = 1;
*/
public boolean getMenuRead() {
return menuRead_;
}
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 (menuRead_ != false) {
output.writeBool(1, menuRead_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (menuRead_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, menuRead_);
}
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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures)) {
return super.equals(obj);
}
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures other = (io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures) obj;
if (getMenuRead()
!= other.getMenuRead()) 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) + MENU_READ_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getMenuRead());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures 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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures 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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures 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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures 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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures 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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures 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 Treez features that may be enabled or disabled.
*
*
* Protobuf type {@code bloombox.partner.integrations.treez.TreezIntegrationFeatures}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.treez.TreezIntegrationFeatures)
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.class, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder.class);
}
// Construct using io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.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();
menuRead_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_descriptor;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures getDefaultInstanceForType() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures build() {
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures buildPartial() {
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures result = new io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures(this);
result.menuRead_ = menuRead_;
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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures) {
return mergeFrom((io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures other) {
if (other == io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.getDefaultInstance()) return this;
if (other.getMenuRead() != false) {
setMenuRead(other.getMenuRead());
}
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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private boolean menuRead_ ;
/**
*
* Enable or disable menu read sync.
*
*
* bool menu_read = 1;
*/
public boolean getMenuRead() {
return menuRead_;
}
/**
*
* Enable or disable menu read sync.
*
*
* bool menu_read = 1;
*/
public Builder setMenuRead(boolean value) {
menuRead_ = value;
onChanged();
return this;
}
/**
*
* Enable or disable menu read sync.
*
*
* bool menu_read = 1;
*/
public Builder clearMenuRead() {
menuRead_ = false;
onChanged();
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.partner.integrations.treez.TreezIntegrationFeatures)
}
// @@protoc_insertion_point(class_scope:bloombox.partner.integrations.treez.TreezIntegrationFeatures)
private static final io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures();
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TreezIntegrationFeatures parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TreezIntegrationFeatures(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.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TreezSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.treez.TreezSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
java.lang.String getAccountId();
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
com.google.protobuf.ByteString
getAccountIdBytes();
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
boolean hasSyncInterval();
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
io.opencannabis.schema.temporal.TemporalSchedule.Schedule getSyncInterval();
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
io.opencannabis.schema.temporal.TemporalSchedule.ScheduleOrBuilder getSyncIntervalOrBuilder();
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
boolean hasFeatures();
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures getFeatures();
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder getFeaturesOrBuilder();
}
/**
*
* Specifies settings related to Treez integration with Bloombox.
*
*
* Protobuf type {@code bloombox.partner.integrations.treez.TreezSettings}
*/
public static final class TreezSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.partner.integrations.treez.TreezSettings)
TreezSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use TreezSettings.newBuilder() to construct.
private TreezSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TreezSettings() {
accountId_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TreezSettings(
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: {
java.lang.String s = input.readStringRequireUtf8();
accountId_ = s;
break;
}
case 18: {
io.opencannabis.schema.temporal.TemporalSchedule.Schedule.Builder subBuilder = null;
if (syncInterval_ != null) {
subBuilder = syncInterval_.toBuilder();
}
syncInterval_ = input.readMessage(io.opencannabis.schema.temporal.TemporalSchedule.Schedule.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(syncInterval_);
syncInterval_ = subBuilder.buildPartial();
}
break;
}
case 82: {
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder subBuilder = null;
if (features_ != null) {
subBuilder = features_.toBuilder();
}
features_ = input.readMessage(io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(features_);
features_ = 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.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.class, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.Builder.class);
}
public static final int ACCOUNT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object accountId_;
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountId_ = s;
return s;
}
}
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SYNC_INTERVAL_FIELD_NUMBER = 2;
private io.opencannabis.schema.temporal.TemporalSchedule.Schedule syncInterval_;
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public boolean hasSyncInterval() {
return syncInterval_ != null;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public io.opencannabis.schema.temporal.TemporalSchedule.Schedule getSyncInterval() {
return syncInterval_ == null ? io.opencannabis.schema.temporal.TemporalSchedule.Schedule.getDefaultInstance() : syncInterval_;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public io.opencannabis.schema.temporal.TemporalSchedule.ScheduleOrBuilder getSyncIntervalOrBuilder() {
return getSyncInterval();
}
public static final int FEATURES_FIELD_NUMBER = 10;
private io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures features_;
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public boolean hasFeatures() {
return features_ != null;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures getFeatures() {
return features_ == null ? io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.getDefaultInstance() : features_;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder getFeaturesOrBuilder() {
return getFeatures();
}
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 (!getAccountIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, accountId_);
}
if (syncInterval_ != null) {
output.writeMessage(2, getSyncInterval());
}
if (features_ != null) {
output.writeMessage(10, getFeatures());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAccountIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, accountId_);
}
if (syncInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSyncInterval());
}
if (features_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getFeatures());
}
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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings)) {
return super.equals(obj);
}
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings other = (io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings) obj;
if (!getAccountId()
.equals(other.getAccountId())) return false;
if (hasSyncInterval() != other.hasSyncInterval()) return false;
if (hasSyncInterval()) {
if (!getSyncInterval()
.equals(other.getSyncInterval())) return false;
}
if (hasFeatures() != other.hasFeatures()) return false;
if (hasFeatures()) {
if (!getFeatures()
.equals(other.getFeatures())) 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) + ACCOUNT_ID_FIELD_NUMBER;
hash = (53 * hash) + getAccountId().hashCode();
if (hasSyncInterval()) {
hash = (37 * hash) + SYNC_INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getSyncInterval().hashCode();
}
if (hasFeatures()) {
hash = (37 * hash) + FEATURES_FIELD_NUMBER;
hash = (53 * hash) + getFeatures().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings 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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings 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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings 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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings 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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings 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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings 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 settings related to Treez integration with Bloombox.
*
*
* Protobuf type {@code bloombox.partner.integrations.treez.TreezSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.treez.TreezSettings)
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.class, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.Builder.class);
}
// Construct using io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.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();
accountId_ = "";
if (syncIntervalBuilder_ == null) {
syncInterval_ = null;
} else {
syncInterval_ = null;
syncIntervalBuilder_ = null;
}
if (featuresBuilder_ == null) {
features_ = null;
} else {
features_ = null;
featuresBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.internal_static_bloombox_partner_integrations_treez_TreezSettings_descriptor;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings getDefaultInstanceForType() {
return io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings build() {
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings buildPartial() {
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings result = new io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings(this);
result.accountId_ = accountId_;
if (syncIntervalBuilder_ == null) {
result.syncInterval_ = syncInterval_;
} else {
result.syncInterval_ = syncIntervalBuilder_.build();
}
if (featuresBuilder_ == null) {
result.features_ = features_;
} else {
result.features_ = featuresBuilder_.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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings) {
return mergeFrom((io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings other) {
if (other == io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings.getDefaultInstance()) return this;
if (!other.getAccountId().isEmpty()) {
accountId_ = other.accountId_;
onChanged();
}
if (other.hasSyncInterval()) {
mergeSyncInterval(other.getSyncInterval());
}
if (other.hasFeatures()) {
mergeFeatures(other.getFeatures());
}
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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object accountId_ = "";
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public java.lang.String getAccountId() {
java.lang.Object ref = accountId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accountId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public com.google.protobuf.ByteString
getAccountIdBytes() {
java.lang.Object ref = accountId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public Builder setAccountId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accountId_ = value;
onChanged();
return this;
}
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public Builder clearAccountId() {
accountId_ = getDefaultInstance().getAccountId();
onChanged();
return this;
}
/**
*
* Account ID in Treez.
*
*
* string account_id = 1;
*/
public Builder setAccountIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accountId_ = value;
onChanged();
return this;
}
private io.opencannabis.schema.temporal.TemporalSchedule.Schedule syncInterval_;
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.temporal.TemporalSchedule.Schedule, io.opencannabis.schema.temporal.TemporalSchedule.Schedule.Builder, io.opencannabis.schema.temporal.TemporalSchedule.ScheduleOrBuilder> syncIntervalBuilder_;
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public boolean hasSyncInterval() {
return syncIntervalBuilder_ != null || syncInterval_ != null;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public io.opencannabis.schema.temporal.TemporalSchedule.Schedule getSyncInterval() {
if (syncIntervalBuilder_ == null) {
return syncInterval_ == null ? io.opencannabis.schema.temporal.TemporalSchedule.Schedule.getDefaultInstance() : syncInterval_;
} else {
return syncIntervalBuilder_.getMessage();
}
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public Builder setSyncInterval(io.opencannabis.schema.temporal.TemporalSchedule.Schedule value) {
if (syncIntervalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
syncInterval_ = value;
onChanged();
} else {
syncIntervalBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public Builder setSyncInterval(
io.opencannabis.schema.temporal.TemporalSchedule.Schedule.Builder builderForValue) {
if (syncIntervalBuilder_ == null) {
syncInterval_ = builderForValue.build();
onChanged();
} else {
syncIntervalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public Builder mergeSyncInterval(io.opencannabis.schema.temporal.TemporalSchedule.Schedule value) {
if (syncIntervalBuilder_ == null) {
if (syncInterval_ != null) {
syncInterval_ =
io.opencannabis.schema.temporal.TemporalSchedule.Schedule.newBuilder(syncInterval_).mergeFrom(value).buildPartial();
} else {
syncInterval_ = value;
}
onChanged();
} else {
syncIntervalBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public Builder clearSyncInterval() {
if (syncIntervalBuilder_ == null) {
syncInterval_ = null;
onChanged();
} else {
syncInterval_ = null;
syncIntervalBuilder_ = null;
}
return this;
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public io.opencannabis.schema.temporal.TemporalSchedule.Schedule.Builder getSyncIntervalBuilder() {
onChanged();
return getSyncIntervalFieldBuilder().getBuilder();
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
public io.opencannabis.schema.temporal.TemporalSchedule.ScheduleOrBuilder getSyncIntervalOrBuilder() {
if (syncIntervalBuilder_ != null) {
return syncIntervalBuilder_.getMessageOrBuilder();
} else {
return syncInterval_ == null ?
io.opencannabis.schema.temporal.TemporalSchedule.Schedule.getDefaultInstance() : syncInterval_;
}
}
/**
*
* Sync interval settings.
*
*
* .opencannabis.temporal.Schedule sync_interval = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.temporal.TemporalSchedule.Schedule, io.opencannabis.schema.temporal.TemporalSchedule.Schedule.Builder, io.opencannabis.schema.temporal.TemporalSchedule.ScheduleOrBuilder>
getSyncIntervalFieldBuilder() {
if (syncIntervalBuilder_ == null) {
syncIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.opencannabis.schema.temporal.TemporalSchedule.Schedule, io.opencannabis.schema.temporal.TemporalSchedule.Schedule.Builder, io.opencannabis.schema.temporal.TemporalSchedule.ScheduleOrBuilder>(
getSyncInterval(),
getParentForChildren(),
isClean());
syncInterval_ = null;
}
return syncIntervalBuilder_;
}
private io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures features_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder> featuresBuilder_;
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public boolean hasFeatures() {
return featuresBuilder_ != null || features_ != null;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures getFeatures() {
if (featuresBuilder_ == null) {
return features_ == null ? io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.getDefaultInstance() : features_;
} else {
return featuresBuilder_.getMessage();
}
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public Builder setFeatures(io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures value) {
if (featuresBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
features_ = value;
onChanged();
} else {
featuresBuilder_.setMessage(value);
}
return this;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public Builder setFeatures(
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder builderForValue) {
if (featuresBuilder_ == null) {
features_ = builderForValue.build();
onChanged();
} else {
featuresBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public Builder mergeFeatures(io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures value) {
if (featuresBuilder_ == null) {
if (features_ != null) {
features_ =
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.newBuilder(features_).mergeFrom(value).buildPartial();
} else {
features_ = value;
}
onChanged();
} else {
featuresBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public Builder clearFeatures() {
if (featuresBuilder_ == null) {
features_ = null;
onChanged();
} else {
features_ = null;
featuresBuilder_ = null;
}
return this;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder getFeaturesBuilder() {
onChanged();
return getFeaturesFieldBuilder().getBuilder();
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder getFeaturesOrBuilder() {
if (featuresBuilder_ != null) {
return featuresBuilder_.getMessageOrBuilder();
} else {
return features_ == null ?
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.getDefaultInstance() : features_;
}
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.treez.TreezIntegrationFeatures features = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder>
getFeaturesFieldBuilder() {
if (featuresBuilder_ == null) {
featuresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezIntegrationFeaturesOrBuilder>(
getFeatures(),
getParentForChildren(),
isClean());
features_ = null;
}
return featuresBuilder_;
}
@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.partner.integrations.treez.TreezSettings)
}
// @@protoc_insertion_point(class_scope:bloombox.partner.integrations.treez.TreezSettings)
private static final io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings();
}
public static io.bloombox.schema.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TreezSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TreezSettings(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.partner.integrations.treez.TreezSettingsOuterClass.TreezSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_partner_integrations_treez_TreezSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_partner_integrations_treez_TreezSettings_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n(partner/integrations/TreezSettings.pro" +
"to\022#bloombox.partner.integrations.treez\032" +
"\027temporal/Schedule.proto\"-\n\030TreezIntegra" +
"tionFeatures\022\021\n\tmenu_read\030\001 \001(\010\"\254\001\n\rTree" +
"zSettings\022\022\n\naccount_id\030\001 \001(\t\0226\n\rsync_in" +
"terval\030\002 \001(\0132\037.opencannabis.temporal.Sch" +
"edule\022O\n\010features\030\n \001(\0132=.bloombox.partn" +
"er.integrations.treez.TreezIntegrationFe" +
"aturesB9\n-io.bloombox.schema.partner.int" +
"egrations.treezH\001P\000\242\002\003BBSb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
io.opencannabis.schema.temporal.TemporalSchedule.getDescriptor(),
}, assigner);
internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_partner_integrations_treez_TreezIntegrationFeatures_descriptor,
new java.lang.String[] { "MenuRead", });
internal_static_bloombox_partner_integrations_treez_TreezSettings_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_bloombox_partner_integrations_treez_TreezSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_partner_integrations_treez_TreezSettings_descriptor,
new java.lang.String[] { "AccountId", "SyncInterval", "Features", });
io.opencannabis.schema.temporal.TemporalSchedule.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy