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

main.java.com.streamlayer.users.BypassAuthRequest Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/users/users.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.users;

/**
 * Protobuf type {@code streamlayer.users.BypassAuthRequest}
 */
public  final class BypassAuthRequest extends
    com.google.protobuf.GeneratedMessageLite<
        BypassAuthRequest, BypassAuthRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.users.BypassAuthRequest)
    BypassAuthRequestOrBuilder {
  private BypassAuthRequest() {
    userKey_ = "";
    schema_ = "";
    inviterKey_ = "";
  }
  private int bitField0_;
  public static final int USER_KEY_FIELD_NUMBER = 1;
  private java.lang.String userKey_;
  /**
   * 
   * used ot pass user token or related secret
   * 
* * string user_key = 1 [json_name = "userKey"]; * @return The userKey. */ @java.lang.Override public java.lang.String getUserKey() { return userKey_; } /** *
   * used ot pass user token or related secret
   * 
* * string user_key = 1 [json_name = "userKey"]; * @return The bytes for userKey. */ @java.lang.Override public com.google.protobuf.ByteString getUserKeyBytes() { return com.google.protobuf.ByteString.copyFromUtf8(userKey_); } /** *
   * used ot pass user token or related secret
   * 
* * string user_key = 1 [json_name = "userKey"]; * @param value The userKey to set. */ private void setUserKey( java.lang.String value) { java.lang.Class valueClass = value.getClass(); userKey_ = value; } /** *
   * used ot pass user token or related secret
   * 
* * string user_key = 1 [json_name = "userKey"]; */ private void clearUserKey() { userKey_ = getDefaultInstance().getUserKey(); } /** *
   * used ot pass user token or related secret
   * 
* * string user_key = 1 [json_name = "userKey"]; * @param value The bytes for userKey to set. */ private void setUserKeyBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); userKey_ = value.toStringUtf8(); } public static final int SCHEMA_FIELD_NUMBER = 2; private java.lang.String schema_; /** *
   * used to pass authentication schema
   * 
* * string schema = 2 [json_name = "schema"]; * @return The schema. */ @java.lang.Override public java.lang.String getSchema() { return schema_; } /** *
   * used to pass authentication schema
   * 
* * string schema = 2 [json_name = "schema"]; * @return The bytes for schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchemaBytes() { return com.google.protobuf.ByteString.copyFromUtf8(schema_); } /** *
   * used to pass authentication schema
   * 
* * string schema = 2 [json_name = "schema"]; * @param value The schema to set. */ private void setSchema( java.lang.String value) { java.lang.Class valueClass = value.getClass(); schema_ = value; } /** *
   * used to pass authentication schema
   * 
* * string schema = 2 [json_name = "schema"]; */ private void clearSchema() { schema_ = getDefaultInstance().getSchema(); } /** *
   * used to pass authentication schema
   * 
* * string schema = 2 [json_name = "schema"]; * @param value The bytes for schema to set. */ private void setSchemaBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); schema_ = value.toStringUtf8(); } public static final int INIT_FIELD_NUMBER = 3; private boolean init_; /** *
   * Used to initiate session for certain schemas, false by default
   * 
* * bool init = 3 [json_name = "init"]; * @return The init. */ @java.lang.Override public boolean getInit() { return init_; } /** *
   * Used to initiate session for certain schemas, false by default
   * 
* * bool init = 3 [json_name = "init"]; * @param value The init to set. */ private void setInit(boolean value) { init_ = value; } /** *
   * Used to initiate session for certain schemas, false by default
   * 
* * bool init = 3 [json_name = "init"]; */ private void clearInit() { init_ = false; } public static final int INVITER_KEY_FIELD_NUMBER = 4; private java.lang.String inviterKey_; /** *
   * Used to pass user id who invites
   * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return Whether the inviterKey field is set. */ @java.lang.Override public boolean hasInviterKey() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Used to pass user id who invites
   * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return The inviterKey. */ @java.lang.Override public java.lang.String getInviterKey() { return inviterKey_; } /** *
   * Used to pass user id who invites
   * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return The bytes for inviterKey. */ @java.lang.Override public com.google.protobuf.ByteString getInviterKeyBytes() { return com.google.protobuf.ByteString.copyFromUtf8(inviterKey_); } /** *
   * Used to pass user id who invites
   * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @param value The inviterKey to set. */ private void setInviterKey( java.lang.String value) { java.lang.Class valueClass = value.getClass(); bitField0_ |= 0x00000001; inviterKey_ = value; } /** *
   * Used to pass user id who invites
   * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; */ private void clearInviterKey() { bitField0_ = (bitField0_ & ~0x00000001); inviterKey_ = getDefaultInstance().getInviterKey(); } /** *
   * Used to pass user id who invites
   * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @param value The bytes for inviterKey to set. */ private void setInviterKeyBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); inviterKey_ = value.toStringUtf8(); bitField0_ |= 0x00000001; } public static com.streamlayer.users.BypassAuthRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.users.BypassAuthRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.users.BypassAuthRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.users.BypassAuthRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.users.BypassAuthRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.users.BypassAuthRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.users.BypassAuthRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.users.BypassAuthRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.users.BypassAuthRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.users.BypassAuthRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.users.BypassAuthRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.users.BypassAuthRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.users.BypassAuthRequest prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.users.BypassAuthRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.users.BypassAuthRequest, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.users.BypassAuthRequest) com.streamlayer.users.BypassAuthRequestOrBuilder { // Construct using com.streamlayer.users.BypassAuthRequest.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     * used ot pass user token or related secret
     * 
* * string user_key = 1 [json_name = "userKey"]; * @return The userKey. */ @java.lang.Override public java.lang.String getUserKey() { return instance.getUserKey(); } /** *
     * used ot pass user token or related secret
     * 
* * string user_key = 1 [json_name = "userKey"]; * @return The bytes for userKey. */ @java.lang.Override public com.google.protobuf.ByteString getUserKeyBytes() { return instance.getUserKeyBytes(); } /** *
     * used ot pass user token or related secret
     * 
* * string user_key = 1 [json_name = "userKey"]; * @param value The userKey to set. * @return This builder for chaining. */ public Builder setUserKey( java.lang.String value) { copyOnWrite(); instance.setUserKey(value); return this; } /** *
     * used ot pass user token or related secret
     * 
* * string user_key = 1 [json_name = "userKey"]; * @return This builder for chaining. */ public Builder clearUserKey() { copyOnWrite(); instance.clearUserKey(); return this; } /** *
     * used ot pass user token or related secret
     * 
* * string user_key = 1 [json_name = "userKey"]; * @param value The bytes for userKey to set. * @return This builder for chaining. */ public Builder setUserKeyBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setUserKeyBytes(value); return this; } /** *
     * used to pass authentication schema
     * 
* * string schema = 2 [json_name = "schema"]; * @return The schema. */ @java.lang.Override public java.lang.String getSchema() { return instance.getSchema(); } /** *
     * used to pass authentication schema
     * 
* * string schema = 2 [json_name = "schema"]; * @return The bytes for schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchemaBytes() { return instance.getSchemaBytes(); } /** *
     * used to pass authentication schema
     * 
* * string schema = 2 [json_name = "schema"]; * @param value The schema to set. * @return This builder for chaining. */ public Builder setSchema( java.lang.String value) { copyOnWrite(); instance.setSchema(value); return this; } /** *
     * used to pass authentication schema
     * 
* * string schema = 2 [json_name = "schema"]; * @return This builder for chaining. */ public Builder clearSchema() { copyOnWrite(); instance.clearSchema(); return this; } /** *
     * used to pass authentication schema
     * 
* * string schema = 2 [json_name = "schema"]; * @param value The bytes for schema to set. * @return This builder for chaining. */ public Builder setSchemaBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setSchemaBytes(value); return this; } /** *
     * Used to initiate session for certain schemas, false by default
     * 
* * bool init = 3 [json_name = "init"]; * @return The init. */ @java.lang.Override public boolean getInit() { return instance.getInit(); } /** *
     * Used to initiate session for certain schemas, false by default
     * 
* * bool init = 3 [json_name = "init"]; * @param value The init to set. * @return This builder for chaining. */ public Builder setInit(boolean value) { copyOnWrite(); instance.setInit(value); return this; } /** *
     * Used to initiate session for certain schemas, false by default
     * 
* * bool init = 3 [json_name = "init"]; * @return This builder for chaining. */ public Builder clearInit() { copyOnWrite(); instance.clearInit(); return this; } /** *
     * Used to pass user id who invites
     * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return Whether the inviterKey field is set. */ @java.lang.Override public boolean hasInviterKey() { return instance.hasInviterKey(); } /** *
     * Used to pass user id who invites
     * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return The inviterKey. */ @java.lang.Override public java.lang.String getInviterKey() { return instance.getInviterKey(); } /** *
     * Used to pass user id who invites
     * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return The bytes for inviterKey. */ @java.lang.Override public com.google.protobuf.ByteString getInviterKeyBytes() { return instance.getInviterKeyBytes(); } /** *
     * Used to pass user id who invites
     * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @param value The inviterKey to set. * @return This builder for chaining. */ public Builder setInviterKey( java.lang.String value) { copyOnWrite(); instance.setInviterKey(value); return this; } /** *
     * Used to pass user id who invites
     * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @return This builder for chaining. */ public Builder clearInviterKey() { copyOnWrite(); instance.clearInviterKey(); return this; } /** *
     * Used to pass user id who invites
     * 
* * optional string inviter_key = 4 [json_name = "inviterKey"]; * @param value The bytes for inviterKey to set. * @return This builder for chaining. */ public Builder setInviterKeyBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setInviterKeyBytes(value); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.users.BypassAuthRequest) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.users.BypassAuthRequest(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "userKey_", "schema_", "init_", "inviterKey_", }; java.lang.String info = "\u0000\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0208" + "\u0003\u0007\u0004\u1208\u0000"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.users.BypassAuthRequest.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.users.BypassAuthRequest) private static final com.streamlayer.users.BypassAuthRequest DEFAULT_INSTANCE; static { BypassAuthRequest defaultInstance = new BypassAuthRequest(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( BypassAuthRequest.class, defaultInstance); } public static com.streamlayer.users.BypassAuthRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy