Class ClientId.Builder

java.lang.Object
io.deephaven.shadow.core.com.google.protobuf.AbstractMessageLite.Builder
io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder<BuilderT>
io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
io.deephaven.proto.auth.ClientId.Builder
All Implemented Interfaces:
ClientIdOrBuilder, io.deephaven.shadow.core.com.google.protobuf.Message.Builder, io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder, io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder, io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ClientId

public static final class ClientId.Builder extends io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder> implements ClientIdOrBuilder
 A unique client identifier sent by clients to introduce themselves to servers.
 
Protobuf type io.deephaven.proto.auth.ClientId
  • Method Summary

    Modifier and Type
    Method
    Description
    addRepeatedField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
     
     
     
    clearField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field)
     
    A string to identify this client in server side log files.
    clearOneof(io.deephaven.shadow.core.com.google.protobuf.Descriptors.OneofDescriptor oneof)
     
    A client uuid in bytes is created by client library code and used for the lifetime of that client process.
     
     
    static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.Descriptor
     
    io.deephaven.shadow.core.com.google.protobuf.Descriptors.Descriptor
     
    A string to identify this client in server side log files.
    io.deephaven.shadow.core.com.google.protobuf.ByteString
    A string to identify this client in server side log files.
    io.deephaven.shadow.core.com.google.protobuf.ByteString
    A client uuid in bytes is created by client library code and used for the lifetime of that client process.
    protected io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(io.deephaven.shadow.core.com.google.protobuf.CodedInputStream input, io.deephaven.shadow.core.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(io.deephaven.shadow.core.com.google.protobuf.Message other)
     
    mergeUnknownFields(io.deephaven.shadow.core.com.google.protobuf.UnknownFieldSet unknownFields)
     
    setField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
     
    setName(String value)
    A string to identify this client in server side log files.
    setNameBytes(io.deephaven.shadow.core.com.google.protobuf.ByteString value)
    A string to identify this client in server side log files.
    setRepeatedField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
     
    setUnknownFields(io.deephaven.shadow.core.com.google.protobuf.UnknownFieldSet unknownFields)
     
    setUuid(io.deephaven.shadow.core.com.google.protobuf.ByteString value)
    A client uuid in bytes is created by client library code and used for the lifetime of that client process.

    Methods inherited from class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder

    getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class io.deephaven.shadow.core.com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final io.deephaven.shadow.core.com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • clear

      public ClientId.Builder clear()
      Specified by:
      clear in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      clear in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • getDescriptorForType

      public io.deephaven.shadow.core.com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • getDefaultInstanceForType

      public ClientId getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface io.deephaven.shadow.core.com.google.protobuf.MessageOrBuilder
    • build

      public ClientId build()
      Specified by:
      build in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      build in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ClientId buildPartial()
      Specified by:
      buildPartial in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
    • clone

      public ClientId.Builder clone()
      Specified by:
      clone in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      clone in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • setField

      public ClientId.Builder setField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      setField in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • clearField

      public ClientId.Builder clearField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      clearField in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • clearOneof

      public ClientId.Builder clearOneof(io.deephaven.shadow.core.com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • setRepeatedField

      public ClientId.Builder setRepeatedField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • addRepeatedField

      public ClientId.Builder addRepeatedField(io.deephaven.shadow.core.com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • mergeFrom

      public ClientId.Builder mergeFrom(io.deephaven.shadow.core.com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder<ClientId.Builder>
    • mergeFrom

      public ClientId.Builder mergeFrom(ClientId other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface io.deephaven.shadow.core.com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • mergeFrom

      public ClientId.Builder mergeFrom(io.deephaven.shadow.core.com.google.protobuf.CodedInputStream input, io.deephaven.shadow.core.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface io.deephaven.shadow.core.com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class io.deephaven.shadow.core.com.google.protobuf.AbstractMessage.Builder<ClientId.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       A string to identify this client in server side log files.
       This has no relation to username in authentication, it is exclusively a way for client programs
       to provide support for ease of debugging, by providing descriptive text.
       A good example could be `python reconciliation script running on machine a.b.c.d`.
       The server will only use this string in the initial logging for a client connection.
       The intent is to facilitate debugging when an administrator or user of this API needs to find
       the entries for a given client program in server logs.
       The protocol is designed so that uuid is enough for tracing unique clients, so this string
       is not strictly necessary; it may save effort for an admin (or yourself) in tracking down
       a uuid in a sea of machines however.
       Libraries built on top of this proto are expected to allow users to provide their own string
       (hopefully including explanatory documentation for the purpose in their API definition).
       When users do not provide one, libraries are expected to provide sensible defaults
       (eg, "python client running on machine a.b.c.d").
       
      string name = 1;
      Specified by:
      getName in interface ClientIdOrBuilder
      Returns:
      The name.
    • getNameBytes

      public io.deephaven.shadow.core.com.google.protobuf.ByteString getNameBytes()
       A string to identify this client in server side log files.
       This has no relation to username in authentication, it is exclusively a way for client programs
       to provide support for ease of debugging, by providing descriptive text.
       A good example could be `python reconciliation script running on machine a.b.c.d`.
       The server will only use this string in the initial logging for a client connection.
       The intent is to facilitate debugging when an administrator or user of this API needs to find
       the entries for a given client program in server logs.
       The protocol is designed so that uuid is enough for tracing unique clients, so this string
       is not strictly necessary; it may save effort for an admin (or yourself) in tracking down
       a uuid in a sea of machines however.
       Libraries built on top of this proto are expected to allow users to provide their own string
       (hopefully including explanatory documentation for the purpose in their API definition).
       When users do not provide one, libraries are expected to provide sensible defaults
       (eg, "python client running on machine a.b.c.d").
       
      string name = 1;
      Specified by:
      getNameBytes in interface ClientIdOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ClientId.Builder setName(String value)
       A string to identify this client in server side log files.
       This has no relation to username in authentication, it is exclusively a way for client programs
       to provide support for ease of debugging, by providing descriptive text.
       A good example could be `python reconciliation script running on machine a.b.c.d`.
       The server will only use this string in the initial logging for a client connection.
       The intent is to facilitate debugging when an administrator or user of this API needs to find
       the entries for a given client program in server logs.
       The protocol is designed so that uuid is enough for tracing unique clients, so this string
       is not strictly necessary; it may save effort for an admin (or yourself) in tracking down
       a uuid in a sea of machines however.
       Libraries built on top of this proto are expected to allow users to provide their own string
       (hopefully including explanatory documentation for the purpose in their API definition).
       When users do not provide one, libraries are expected to provide sensible defaults
       (eg, "python client running on machine a.b.c.d").
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ClientId.Builder clearName()
       A string to identify this client in server side log files.
       This has no relation to username in authentication, it is exclusively a way for client programs
       to provide support for ease of debugging, by providing descriptive text.
       A good example could be `python reconciliation script running on machine a.b.c.d`.
       The server will only use this string in the initial logging for a client connection.
       The intent is to facilitate debugging when an administrator or user of this API needs to find
       the entries for a given client program in server logs.
       The protocol is designed so that uuid is enough for tracing unique clients, so this string
       is not strictly necessary; it may save effort for an admin (or yourself) in tracking down
       a uuid in a sea of machines however.
       Libraries built on top of this proto are expected to allow users to provide their own string
       (hopefully including explanatory documentation for the purpose in their API definition).
       When users do not provide one, libraries are expected to provide sensible defaults
       (eg, "python client running on machine a.b.c.d").
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public ClientId.Builder setNameBytes(io.deephaven.shadow.core.com.google.protobuf.ByteString value)
       A string to identify this client in server side log files.
       This has no relation to username in authentication, it is exclusively a way for client programs
       to provide support for ease of debugging, by providing descriptive text.
       A good example could be `python reconciliation script running on machine a.b.c.d`.
       The server will only use this string in the initial logging for a client connection.
       The intent is to facilitate debugging when an administrator or user of this API needs to find
       the entries for a given client program in server logs.
       The protocol is designed so that uuid is enough for tracing unique clients, so this string
       is not strictly necessary; it may save effort for an admin (or yourself) in tracking down
       a uuid in a sea of machines however.
       Libraries built on top of this proto are expected to allow users to provide their own string
       (hopefully including explanatory documentation for the purpose in their API definition).
       When users do not provide one, libraries are expected to provide sensible defaults
       (eg, "python client running on machine a.b.c.d").
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getUuid

      public io.deephaven.shadow.core.com.google.protobuf.ByteString getUuid()
       A client uuid in bytes is created by client library code and used for the lifetime of that client process.
       A client's uuid is expected by the server to be unique across all live client channels.
       If the same client process during its lifetime connects to different server processes,
       be it on different machines or different server process instances
       on the same machine (eg, server bounce), the client process is expected to use the same uuid to all servers.
       Note that uuids are a means for clients and servers to uniquely identify clients in log files;
       a uuid on its own is not enough to uniquely identify and trust a client session in the server.
       See 'cookie' in other messages below for a unique, and secret, client session identifier.
       The uuid is a user-visible unique name for a client, that can be used across non-overlapping sessions.
       The cookie is not user-visible and is provided by the protocol and required by the server to trust messages
       to have a particular client as origin.
       
      bytes uuid = 2;
      Specified by:
      getUuid in interface ClientIdOrBuilder
      Returns:
      The uuid.
    • setUuid

      public ClientId.Builder setUuid(io.deephaven.shadow.core.com.google.protobuf.ByteString value)
       A client uuid in bytes is created by client library code and used for the lifetime of that client process.
       A client's uuid is expected by the server to be unique across all live client channels.
       If the same client process during its lifetime connects to different server processes,
       be it on different machines or different server process instances
       on the same machine (eg, server bounce), the client process is expected to use the same uuid to all servers.
       Note that uuids are a means for clients and servers to uniquely identify clients in log files;
       a uuid on its own is not enough to uniquely identify and trust a client session in the server.
       See 'cookie' in other messages below for a unique, and secret, client session identifier.
       The uuid is a user-visible unique name for a client, that can be used across non-overlapping sessions.
       The cookie is not user-visible and is provided by the protocol and required by the server to trust messages
       to have a particular client as origin.
       
      bytes uuid = 2;
      Parameters:
      value - The uuid to set.
      Returns:
      This builder for chaining.
    • clearUuid

      public ClientId.Builder clearUuid()
       A client uuid in bytes is created by client library code and used for the lifetime of that client process.
       A client's uuid is expected by the server to be unique across all live client channels.
       If the same client process during its lifetime connects to different server processes,
       be it on different machines or different server process instances
       on the same machine (eg, server bounce), the client process is expected to use the same uuid to all servers.
       Note that uuids are a means for clients and servers to uniquely identify clients in log files;
       a uuid on its own is not enough to uniquely identify and trust a client session in the server.
       See 'cookie' in other messages below for a unique, and secret, client session identifier.
       The uuid is a user-visible unique name for a client, that can be used across non-overlapping sessions.
       The cookie is not user-visible and is provided by the protocol and required by the server to trust messages
       to have a particular client as origin.
       
      bytes uuid = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ClientId.Builder setUnknownFields(io.deephaven.shadow.core.com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>
    • mergeUnknownFields

      public final ClientId.Builder mergeUnknownFields(io.deephaven.shadow.core.com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface io.deephaven.shadow.core.com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class io.deephaven.shadow.core.com.google.protobuf.GeneratedMessageV3.Builder<ClientId.Builder>