
io.bloombox.schema.identity.industry.UserStaffSettings Maven / Gradle / Ivy
/*
* Copyright 2018, 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: identity/industry/StaffSettings.proto
package io.bloombox.schema.identity.industry;
public final class UserStaffSettings {
private UserStaffSettings() {}
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 StaffSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:bloombox.identity.industry.StaffSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
boolean hasPos();
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings getPos();
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder getPosOrBuilder();
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
boolean hasDashboard();
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings getDashboard();
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettingsOrBuilder getDashboardOrBuilder();
}
/**
*
* Settings for staff users, attached to a user's overall industry profile. Applies in any context where the user is
* authorized for industry-side use of Bloombox products.
*
*
* Protobuf type {@code bloombox.identity.industry.StaffSettings}
*/
public static final class StaffSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:bloombox.identity.industry.StaffSettings)
StaffSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use StaffSettings.newBuilder() to construct.
private StaffSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StaffSettings() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StaffSettings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder subBuilder = null;
if (pos_ != null) {
subBuilder = pos_.toBuilder();
}
pos_ = input.readMessage(io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pos_);
pos_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.Builder subBuilder = null;
if (dashboard_ != null) {
subBuilder = dashboard_.toBuilder();
}
dashboard_ = input.readMessage(io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dashboard_);
dashboard_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownFieldProto3(
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.identity.industry.UserStaffSettings.internal_static_bloombox_identity_industry_StaffSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.identity.industry.UserStaffSettings.internal_static_bloombox_identity_industry_StaffSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.class, io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.Builder.class);
}
public static final int POS_FIELD_NUMBER = 1;
private io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings pos_;
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public boolean hasPos() {
return pos_ != null;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings getPos() {
return pos_ == null ? io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.getDefaultInstance() : pos_;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder getPosOrBuilder() {
return getPos();
}
public static final int DASHBOARD_FIELD_NUMBER = 2;
private io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings dashboard_;
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public boolean hasDashboard() {
return dashboard_ != null;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings getDashboard() {
return dashboard_ == null ? io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.getDefaultInstance() : dashboard_;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettingsOrBuilder getDashboardOrBuilder() {
return getDashboard();
}
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 (pos_ != null) {
output.writeMessage(1, getPos());
}
if (dashboard_ != null) {
output.writeMessage(2, getDashboard());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (pos_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getPos());
}
if (dashboard_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getDashboard());
}
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.identity.industry.UserStaffSettings.StaffSettings)) {
return super.equals(obj);
}
io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings other = (io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings) obj;
boolean result = true;
result = result && (hasPos() == other.hasPos());
if (hasPos()) {
result = result && getPos()
.equals(other.getPos());
}
result = result && (hasDashboard() == other.hasDashboard());
if (hasDashboard()) {
result = result && getDashboard()
.equals(other.getDashboard());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPos()) {
hash = (37 * hash) + POS_FIELD_NUMBER;
hash = (53 * hash) + getPos().hashCode();
}
if (hasDashboard()) {
hash = (37 * hash) + DASHBOARD_FIELD_NUMBER;
hash = (53 * hash) + getDashboard().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings 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.identity.industry.UserStaffSettings.StaffSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings 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.identity.industry.UserStaffSettings.StaffSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings 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.identity.industry.UserStaffSettings.StaffSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings 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.identity.industry.UserStaffSettings.StaffSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings 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.identity.industry.UserStaffSettings.StaffSettings 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;
}
/**
*
* Settings for staff users, attached to a user's overall industry profile. Applies in any context where the user is
* authorized for industry-side use of Bloombox products.
*
*
* Protobuf type {@code bloombox.identity.industry.StaffSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:bloombox.identity.industry.StaffSettings)
io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.bloombox.schema.identity.industry.UserStaffSettings.internal_static_bloombox_identity_industry_StaffSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.bloombox.schema.identity.industry.UserStaffSettings.internal_static_bloombox_identity_industry_StaffSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.class, io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.Builder.class);
}
// Construct using io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.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 (posBuilder_ == null) {
pos_ = null;
} else {
pos_ = null;
posBuilder_ = null;
}
if (dashboardBuilder_ == null) {
dashboard_ = null;
} else {
dashboard_ = null;
dashboardBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.bloombox.schema.identity.industry.UserStaffSettings.internal_static_bloombox_identity_industry_StaffSettings_descriptor;
}
@java.lang.Override
public io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings getDefaultInstanceForType() {
return io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.getDefaultInstance();
}
@java.lang.Override
public io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings build() {
io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings buildPartial() {
io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings result = new io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings(this);
if (posBuilder_ == null) {
result.pos_ = pos_;
} else {
result.pos_ = posBuilder_.build();
}
if (dashboardBuilder_ == null) {
result.dashboard_ = dashboard_;
} else {
result.dashboard_ = dashboardBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return (Builder) super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings) {
return mergeFrom((io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings other) {
if (other == io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings.getDefaultInstance()) return this;
if (other.hasPos()) {
mergePos(other.getPos());
}
if (other.hasDashboard()) {
mergeDashboard(other.getDashboard());
}
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.identity.industry.UserStaffSettings.StaffSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings pos_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder> posBuilder_;
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public boolean hasPos() {
return posBuilder_ != null || pos_ != null;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings getPos() {
if (posBuilder_ == null) {
return pos_ == null ? io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.getDefaultInstance() : pos_;
} else {
return posBuilder_.getMessage();
}
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public Builder setPos(io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings value) {
if (posBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pos_ = value;
onChanged();
} else {
posBuilder_.setMessage(value);
}
return this;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public Builder setPos(
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder builderForValue) {
if (posBuilder_ == null) {
pos_ = builderForValue.build();
onChanged();
} else {
posBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public Builder mergePos(io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings value) {
if (posBuilder_ == null) {
if (pos_ != null) {
pos_ =
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.newBuilder(pos_).mergeFrom(value).buildPartial();
} else {
pos_ = value;
}
onChanged();
} else {
posBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public Builder clearPos() {
if (posBuilder_ == null) {
pos_ = null;
onChanged();
} else {
pos_ = null;
posBuilder_ = null;
}
return this;
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder getPosBuilder() {
onChanged();
return getPosFieldBuilder().getBuilder();
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder getPosOrBuilder() {
if (posBuilder_ != null) {
return posBuilder_.getMessageOrBuilder();
} else {
return pos_ == null ?
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.getDefaultInstance() : pos_;
}
}
/**
*
* Point-of-sale device settings. Includes the user's authorization code hash, public key hash, and other settings or
* security details. User preferences on the point-of-sale device are also stored here.
*
*
* .bloombox.identity.industry.POSStaffSettings pos = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder>
getPosFieldBuilder() {
if (posBuilder_ == null) {
posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder>(
getPos(),
getParentForChildren(),
isClean());
pos_ = null;
}
return posBuilder_;
}
private io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings dashboard_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings, io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.Builder, io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettingsOrBuilder> dashboardBuilder_;
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public boolean hasDashboard() {
return dashboardBuilder_ != null || dashboard_ != null;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings getDashboard() {
if (dashboardBuilder_ == null) {
return dashboard_ == null ? io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.getDefaultInstance() : dashboard_;
} else {
return dashboardBuilder_.getMessage();
}
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public Builder setDashboard(io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings value) {
if (dashboardBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dashboard_ = value;
onChanged();
} else {
dashboardBuilder_.setMessage(value);
}
return this;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public Builder setDashboard(
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.Builder builderForValue) {
if (dashboardBuilder_ == null) {
dashboard_ = builderForValue.build();
onChanged();
} else {
dashboardBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public Builder mergeDashboard(io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings value) {
if (dashboardBuilder_ == null) {
if (dashboard_ != null) {
dashboard_ =
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.newBuilder(dashboard_).mergeFrom(value).buildPartial();
} else {
dashboard_ = value;
}
onChanged();
} else {
dashboardBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public Builder clearDashboard() {
if (dashboardBuilder_ == null) {
dashboard_ = null;
onChanged();
} else {
dashboard_ = null;
dashboardBuilder_ = null;
}
return this;
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.Builder getDashboardBuilder() {
onChanged();
return getDashboardFieldBuilder().getBuilder();
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
public io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettingsOrBuilder getDashboardOrBuilder() {
if (dashboardBuilder_ != null) {
return dashboardBuilder_.getMessageOrBuilder();
} else {
return dashboard_ == null ?
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.getDefaultInstance() : dashboard_;
}
}
/**
*
* Settings specific to the web dashboard when this user signs in. Personalization and preference options expressed
* for update by the user in the dashboard are stored here. These are distinguished from organization settings in that
* they are not shared between users and generally only apply cosmetically.
*
*
* .bloombox.identity.industry.DashboardStaffSettings dashboard = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings, io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.Builder, io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettingsOrBuilder>
getDashboardFieldBuilder() {
if (dashboardBuilder_ == null) {
dashboardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings, io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettings.Builder, io.bloombox.schema.identity.industry.StaffDashboardSettings.DashboardStaffSettingsOrBuilder>(
getDashboard(),
getParentForChildren(),
isClean());
dashboard_ = null;
}
return dashboardBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:bloombox.identity.industry.StaffSettings)
}
// @@protoc_insertion_point(class_scope:bloombox.identity.industry.StaffSettings)
private static final io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings();
}
public static io.bloombox.schema.identity.industry.UserStaffSettings.StaffSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StaffSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StaffSettings(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.identity.industry.UserStaffSettings.StaffSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_bloombox_identity_industry_StaffSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bloombox_identity_industry_StaffSettings_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%identity/industry/StaffSettings.proto\022" +
"\032bloombox.identity.industry\032(identity/in" +
"dustry/POSStaffSettings.proto\032.identity/" +
"industry/DashboardStaffSettings.proto\"\221\001" +
"\n\rStaffSettings\0229\n\003pos\030\001 \001(\0132,.bloombox." +
"identity.industry.POSStaffSettings\022E\n\tda" +
"shboard\030\002 \001(\01322.bloombox.identity.indust" +
"ry.DashboardStaffSettingsBC\n$io.bloombox" +
".schema.identity.industryB\021UserStaffSett" +
"ingsH\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.bloombox.schema.identity.industry.StaffPOSSettings.getDescriptor(),
io.bloombox.schema.identity.industry.StaffDashboardSettings.getDescriptor(),
}, assigner);
internal_static_bloombox_identity_industry_StaffSettings_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bloombox_identity_industry_StaffSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bloombox_identity_industry_StaffSettings_descriptor,
new java.lang.String[] { "Pos", "Dashboard", });
io.bloombox.schema.identity.industry.StaffPOSSettings.getDescriptor();
io.bloombox.schema.identity.industry.StaffDashboardSettings.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy