All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bloombox.schema.identity.industry.StaffPOSSettings Maven / Gradle / Ivy

There is a newer version: 1.8
Show newest version
/*
 * 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/POSStaffSettings.proto

package io.bloombox.schema.identity.industry;

public final class StaffPOSSettings {
  private StaffPOSSettings() {}
  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 POSStaffSettingsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:bloombox.identity.industry.POSStaffSettings)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of the user's point-of-sale passcode.
     * 
* * .opencannabis.crypto.Hash challenge = 1; */ boolean hasChallenge(); /** *
     * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of the user's point-of-sale passcode.
     * 
* * .opencannabis.crypto.Hash challenge = 1; */ io.opencannabis.schema.crypto.primitives.integrity.Hash getChallenge(); /** *
     * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of the user's point-of-sale passcode.
     * 
* * .opencannabis.crypto.Hash challenge = 1; */ io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getChallengeOrBuilder(); /** *
     * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of a keycard scan operation designed to log the user in quickly.
     * 
* * .opencannabis.crypto.Hash keycard = 2; */ boolean hasKeycard(); /** *
     * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of a keycard scan operation designed to log the user in quickly.
     * 
* * .opencannabis.crypto.Hash keycard = 2; */ io.opencannabis.schema.crypto.primitives.integrity.Hash getKeycard(); /** *
     * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of a keycard scan operation designed to log the user in quickly.
     * 
* * .opencannabis.crypto.Hash keycard = 2; */ io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getKeycardOrBuilder(); } /** *
   * Settings for point-of-sale devices, when this user is the active authorized user and establishes a valid, authorized
   * point-of-sale session.
   * 
* * Protobuf type {@code bloombox.identity.industry.POSStaffSettings} */ public static final class POSStaffSettings extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.identity.industry.POSStaffSettings) POSStaffSettingsOrBuilder { private static final long serialVersionUID = 0L; // Use POSStaffSettings.newBuilder() to construct. private POSStaffSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private POSStaffSettings() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private POSStaffSettings( 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.opencannabis.schema.crypto.primitives.integrity.Hash.Builder subBuilder = null; if (challenge_ != null) { subBuilder = challenge_.toBuilder(); } challenge_ = input.readMessage(io.opencannabis.schema.crypto.primitives.integrity.Hash.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(challenge_); challenge_ = subBuilder.buildPartial(); } break; } case 18: { io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder subBuilder = null; if (keycard_ != null) { subBuilder = keycard_.toBuilder(); } keycard_ = input.readMessage(io.opencannabis.schema.crypto.primitives.integrity.Hash.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keycard_); keycard_ = 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.StaffPOSSettings.internal_static_bloombox_identity_industry_POSStaffSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.identity.industry.StaffPOSSettings.internal_static_bloombox_identity_industry_POSStaffSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.class, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder.class); } public static final int CHALLENGE_FIELD_NUMBER = 1; private io.opencannabis.schema.crypto.primitives.integrity.Hash challenge_; /** *
     * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of the user's point-of-sale passcode.
     * 
* * .opencannabis.crypto.Hash challenge = 1; */ public boolean hasChallenge() { return challenge_ != null; } /** *
     * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of the user's point-of-sale passcode.
     * 
* * .opencannabis.crypto.Hash challenge = 1; */ public io.opencannabis.schema.crypto.primitives.integrity.Hash getChallenge() { return challenge_ == null ? io.opencannabis.schema.crypto.primitives.integrity.Hash.getDefaultInstance() : challenge_; } /** *
     * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of the user's point-of-sale passcode.
     * 
* * .opencannabis.crypto.Hash challenge = 1; */ public io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getChallengeOrBuilder() { return getChallenge(); } public static final int KEYCARD_FIELD_NUMBER = 2; private io.opencannabis.schema.crypto.primitives.integrity.Hash keycard_; /** *
     * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of a keycard scan operation designed to log the user in quickly.
     * 
* * .opencannabis.crypto.Hash keycard = 2; */ public boolean hasKeycard() { return keycard_ != null; } /** *
     * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of a keycard scan operation designed to log the user in quickly.
     * 
* * .opencannabis.crypto.Hash keycard = 2; */ public io.opencannabis.schema.crypto.primitives.integrity.Hash getKeycard() { return keycard_ == null ? io.opencannabis.schema.crypto.primitives.integrity.Hash.getDefaultInstance() : keycard_; } /** *
     * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
     * rejection of a keycard scan operation designed to log the user in quickly.
     * 
* * .opencannabis.crypto.Hash keycard = 2; */ public io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getKeycardOrBuilder() { return getKeycard(); } 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 (challenge_ != null) { output.writeMessage(1, getChallenge()); } if (keycard_ != null) { output.writeMessage(2, getKeycard()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (challenge_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getChallenge()); } if (keycard_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getKeycard()); } 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.StaffPOSSettings.POSStaffSettings)) { return super.equals(obj); } io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings other = (io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings) obj; boolean result = true; result = result && (hasChallenge() == other.hasChallenge()); if (hasChallenge()) { result = result && getChallenge() .equals(other.getChallenge()); } result = result && (hasKeycard() == other.hasKeycard()); if (hasKeycard()) { result = result && getKeycard() .equals(other.getKeycard()); } 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 (hasChallenge()) { hash = (37 * hash) + CHALLENGE_FIELD_NUMBER; hash = (53 * hash) + getChallenge().hashCode(); } if (hasKeycard()) { hash = (37 * hash) + KEYCARD_FIELD_NUMBER; hash = (53 * hash) + getKeycard().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings 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.StaffPOSSettings.POSStaffSettings 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 point-of-sale devices, when this user is the active authorized user and establishes a valid, authorized
     * point-of-sale session.
     * 
* * Protobuf type {@code bloombox.identity.industry.POSStaffSettings} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.identity.industry.POSStaffSettings) io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.identity.industry.StaffPOSSettings.internal_static_bloombox_identity_industry_POSStaffSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.identity.industry.StaffPOSSettings.internal_static_bloombox_identity_industry_POSStaffSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.class, io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.Builder.class); } // Construct using io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.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 (challengeBuilder_ == null) { challenge_ = null; } else { challenge_ = null; challengeBuilder_ = null; } if (keycardBuilder_ == null) { keycard_ = null; } else { keycard_ = null; keycardBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.identity.industry.StaffPOSSettings.internal_static_bloombox_identity_industry_POSStaffSettings_descriptor; } @java.lang.Override public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings getDefaultInstanceForType() { return io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings build() { io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings buildPartial() { io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings result = new io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings(this); if (challengeBuilder_ == null) { result.challenge_ = challenge_; } else { result.challenge_ = challengeBuilder_.build(); } if (keycardBuilder_ == null) { result.keycard_ = keycard_; } else { result.keycard_ = keycardBuilder_.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.StaffPOSSettings.POSStaffSettings) { return mergeFrom((io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings other) { if (other == io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings.getDefaultInstance()) return this; if (other.hasChallenge()) { mergeChallenge(other.getChallenge()); } if (other.hasKeycard()) { mergeKeycard(other.getKeycard()); } 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.StaffPOSSettings.POSStaffSettings parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.opencannabis.schema.crypto.primitives.integrity.Hash challenge_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.crypto.primitives.integrity.Hash, io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder, io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder> challengeBuilder_; /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public boolean hasChallenge() { return challengeBuilder_ != null || challenge_ != null; } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public io.opencannabis.schema.crypto.primitives.integrity.Hash getChallenge() { if (challengeBuilder_ == null) { return challenge_ == null ? io.opencannabis.schema.crypto.primitives.integrity.Hash.getDefaultInstance() : challenge_; } else { return challengeBuilder_.getMessage(); } } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public Builder setChallenge(io.opencannabis.schema.crypto.primitives.integrity.Hash value) { if (challengeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } challenge_ = value; onChanged(); } else { challengeBuilder_.setMessage(value); } return this; } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public Builder setChallenge( io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder builderForValue) { if (challengeBuilder_ == null) { challenge_ = builderForValue.build(); onChanged(); } else { challengeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public Builder mergeChallenge(io.opencannabis.schema.crypto.primitives.integrity.Hash value) { if (challengeBuilder_ == null) { if (challenge_ != null) { challenge_ = io.opencannabis.schema.crypto.primitives.integrity.Hash.newBuilder(challenge_).mergeFrom(value).buildPartial(); } else { challenge_ = value; } onChanged(); } else { challengeBuilder_.mergeFrom(value); } return this; } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public Builder clearChallenge() { if (challengeBuilder_ == null) { challenge_ = null; onChanged(); } else { challenge_ = null; challengeBuilder_ = null; } return this; } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder getChallengeBuilder() { onChanged(); return getChallengeFieldBuilder().getBuilder(); } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ public io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getChallengeOrBuilder() { if (challengeBuilder_ != null) { return challengeBuilder_.getMessageOrBuilder(); } else { return challenge_ == null ? io.opencannabis.schema.crypto.primitives.integrity.Hash.getDefaultInstance() : challenge_; } } /** *
       * Point-of-sale authentication challenge. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of the user's point-of-sale passcode.
       * 
* * .opencannabis.crypto.Hash challenge = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.crypto.primitives.integrity.Hash, io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder, io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder> getChallengeFieldBuilder() { if (challengeBuilder_ == null) { challengeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.crypto.primitives.integrity.Hash, io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder, io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder>( getChallenge(), getParentForChildren(), isClean()); challenge_ = null; } return challengeBuilder_; } private io.opencannabis.schema.crypto.primitives.integrity.Hash keycard_ = null; private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.crypto.primitives.integrity.Hash, io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder, io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder> keycardBuilder_; /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public boolean hasKeycard() { return keycardBuilder_ != null || keycard_ != null; } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public io.opencannabis.schema.crypto.primitives.integrity.Hash getKeycard() { if (keycardBuilder_ == null) { return keycard_ == null ? io.opencannabis.schema.crypto.primitives.integrity.Hash.getDefaultInstance() : keycard_; } else { return keycardBuilder_.getMessage(); } } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public Builder setKeycard(io.opencannabis.schema.crypto.primitives.integrity.Hash value) { if (keycardBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keycard_ = value; onChanged(); } else { keycardBuilder_.setMessage(value); } return this; } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public Builder setKeycard( io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder builderForValue) { if (keycardBuilder_ == null) { keycard_ = builderForValue.build(); onChanged(); } else { keycardBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public Builder mergeKeycard(io.opencannabis.schema.crypto.primitives.integrity.Hash value) { if (keycardBuilder_ == null) { if (keycard_ != null) { keycard_ = io.opencannabis.schema.crypto.primitives.integrity.Hash.newBuilder(keycard_).mergeFrom(value).buildPartial(); } else { keycard_ = value; } onChanged(); } else { keycardBuilder_.mergeFrom(value); } return this; } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public Builder clearKeycard() { if (keycardBuilder_ == null) { keycard_ = null; onChanged(); } else { keycard_ = null; keycardBuilder_ = null; } return this; } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder getKeycardBuilder() { onChanged(); return getKeycardFieldBuilder().getBuilder(); } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ public io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder getKeycardOrBuilder() { if (keycardBuilder_ != null) { return keycardBuilder_.getMessageOrBuilder(); } else { return keycard_ == null ? io.opencannabis.schema.crypto.primitives.integrity.Hash.getDefaultInstance() : keycard_; } } /** *
       * Point-of-sale keycard challenge hash. Stores a hashed and salted pre-image with which to compute a match or
       * rejection of a keycard scan operation designed to log the user in quickly.
       * 
* * .opencannabis.crypto.Hash keycard = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.crypto.primitives.integrity.Hash, io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder, io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder> getKeycardFieldBuilder() { if (keycardBuilder_ == null) { keycardBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.opencannabis.schema.crypto.primitives.integrity.Hash, io.opencannabis.schema.crypto.primitives.integrity.Hash.Builder, io.opencannabis.schema.crypto.primitives.integrity.HashOrBuilder>( getKeycard(), getParentForChildren(), isClean()); keycard_ = null; } return keycardBuilder_; } @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.POSStaffSettings) } // @@protoc_insertion_point(class_scope:bloombox.identity.industry.POSStaffSettings) private static final io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings(); } public static io.bloombox.schema.identity.industry.StaffPOSSettings.POSStaffSettings getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public POSStaffSettings parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new POSStaffSettings(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.StaffPOSSettings.POSStaffSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_bloombox_identity_industry_POSStaffSettings_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_bloombox_identity_industry_POSStaffSettings_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/POSStaffSettings.pro" + "to\022\032bloombox.identity.industry\032!crypto/p" + "rimitives/Integrity.proto\"l\n\020POSStaffSet" + "tings\022,\n\tchallenge\030\001 \001(\0132\031.opencannabis." + "crypto.Hash\022*\n\007keycard\030\002 \001(\0132\031.opencanna" + "bis.crypto.HashBB\n$io.bloombox.schema.id" + "entity.industryB\020StaffPOSSettingsH\001P\000\242\002\003" + "BBSb\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.crypto.primitives.integrity.Integrity.getDescriptor(), }, assigner); internal_static_bloombox_identity_industry_POSStaffSettings_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_bloombox_identity_industry_POSStaffSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_bloombox_identity_industry_POSStaffSettings_descriptor, new java.lang.String[] { "Challenge", "Keycard", }); io.opencannabis.schema.crypto.primitives.integrity.Integrity.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy