io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass 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/OnFleetSettings.proto
package io.bloombox.schema.partner.integrations.onfleet;
public final class OnFleetSettingsOuterClass {
private OnFleetSettingsOuterClass() {}
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 OnFleetIntegrationFeaturesOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures)
com.google.protobuf.MessageOrBuilder {
}
/**
*
* Specifies OnFleet features that may be enabled or disabled.
*
*
* Protobuf type {@code bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures}
*/
public static final class OnFleetIntegrationFeatures extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures)
OnFleetIntegrationFeaturesOrBuilder {
private static final long serialVersionUID = 0L;
// Use OnFleetIntegrationFeatures.newBuilder() to construct.
private OnFleetIntegrationFeatures(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OnFleetIntegrationFeatures() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OnFleetIntegrationFeatures(
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.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.class, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder.class);
}
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.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures)) {
return super.equals(obj);
}
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures other = (io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures) 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.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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 OnFleet features that may be enabled or disabled.
*
*
* Protobuf type {@code bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures)
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.class, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder.class);
}
// Construct using io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.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.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_descriptor;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures getDefaultInstanceForType() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures build() {
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures buildPartial() {
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures result = new io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures(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.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures) {
return mergeFrom((io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures other) {
if (other == io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.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.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures) 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.partner.integrations.onfleet.OnFleetIntegrationFeatures)
}
// @@protoc_insertion_point(class_scope:bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures)
private static final io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures();
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OnFleetIntegrationFeatures parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OnFleetIntegrationFeatures(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.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OnFleetSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.partner.integrations.onfleet.OnFleetSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
boolean hasFeatures();
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures getFeatures();
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder getFeaturesOrBuilder();
}
/**
*
* Specifies OnFleet settings for integration with Bloombox.
*
*
* Protobuf type {@code bloombox.partner.integrations.onfleet.OnFleetSettings}
*/
public static final class OnFleetSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.partner.integrations.onfleet.OnFleetSettings)
OnFleetSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use OnFleetSettings.newBuilder() to construct.
private OnFleetSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OnFleetSettings() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OnFleetSettings(
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 82: {
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder subBuilder = null;
if (features_ != null) {
subBuilder = features_.toBuilder();
}
features_ = input.readMessage(io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.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.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.class, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.Builder.class);
}
public static final int FEATURES_FIELD_NUMBER = 10;
private io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures features_;
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public boolean hasFeatures() {
return features_ != null;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures getFeatures() {
return features_ == null ? io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.getDefaultInstance() : features_;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder 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 (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 (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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings)) {
return super.equals(obj);
}
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings other = (io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings) obj;
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();
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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings 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 OnFleet settings for integration with Bloombox.
*
*
* Protobuf type {@code bloombox.partner.integrations.onfleet.OnFleetSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.partner.integrations.onfleet.OnFleetSettings)
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.class, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.Builder.class);
}
// Construct using io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.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 (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.onfleet.OnFleetSettingsOuterClass.internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_descriptor;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings getDefaultInstanceForType() {
return io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings build() {
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings buildPartial() {
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings result = new io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings(this);
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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings) {
return mergeFrom((io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings other) {
if (other == io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings.getDefaultInstance()) return this;
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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures features_;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder> featuresBuilder_;
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public boolean hasFeatures() {
return featuresBuilder_ != null || features_ != null;
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures getFeatures() {
if (featuresBuilder_ == null) {
return features_ == null ? io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.getDefaultInstance() : features_;
} else {
return featuresBuilder_.getMessage();
}
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public Builder setFeatures(io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures 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.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public Builder setFeatures(
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.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.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public Builder mergeFeatures(io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures value) {
if (featuresBuilder_ == null) {
if (features_ != null) {
features_ =
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.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.onfleet.OnFleetIntegrationFeatures 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.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder getFeaturesBuilder() {
onChanged();
return getFeaturesFieldBuilder().getBuilder();
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
public io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder getFeaturesOrBuilder() {
if (featuresBuilder_ != null) {
return featuresBuilder_.getMessageOrBuilder();
} else {
return features_ == null ?
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.getDefaultInstance() : features_;
}
}
/**
*
* Flags indicating features that should be enabled or disabled.
*
*
* .bloombox.partner.integrations.onfleet.OnFleetIntegrationFeatures features = 10;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder>
getFeaturesFieldBuilder() {
if (featuresBuilder_ == null) {
featuresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeatures.Builder, io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetIntegrationFeaturesOrBuilder>(
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.onfleet.OnFleetSettings)
}
// @@protoc_insertion_point(class_scope:bloombox.partner.integrations.onfleet.OnFleetSettings)
private static final io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings();
}
public static io.bloombox.schema.partner.integrations.onfleet.OnFleetSettingsOuterClass.OnFleetSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OnFleetSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new OnFleetSettings(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.onfleet.OnFleetSettingsOuterClass.OnFleetSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_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/OnFleetSettings.p" +
"roto\022%bloombox.partner.integrations.onfl" +
"eet\"\034\n\032OnFleetIntegrationFeatures\"f\n\017OnF" +
"leetSettings\022S\n\010features\030\n \001(\0132A.bloombo" +
"x.partner.integrations.onfleet.OnFleetIn" +
"tegrationFeaturesB;\n/io.bloombox.schema." +
"partner.integrations.onfleetH\001P\000\242\002\003BBSb\006" +
"proto3"
};
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[] {
}, assigner);
internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_partner_integrations_onfleet_OnFleetIntegrationFeatures_descriptor,
new java.lang.String[] { });
internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_partner_integrations_onfleet_OnFleetSettings_descriptor,
new java.lang.String[] { "Features", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy