Class SessionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SessionInfo.Builder>
org.yamcs.protobuf.SessionInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SessionInfoOrBuilder
Enclosing class:
SessionInfo

public static final class SessionInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SessionInfo.Builder> implements SessionInfoOrBuilder
Protobuf type yamcs.protobuf.iam.SessionInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SessionInfo.Builder>
    • clear

      public SessionInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<SessionInfo.Builder>
    • getDescriptorForType

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

      public SessionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SessionInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SessionInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public SessionInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SessionInfo.Builder>
    • setField

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

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

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

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

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

      public SessionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionInfo.Builder>
    • mergeFrom

      public SessionInfo.Builder mergeFrom(SessionInfo other)
    • isInitialized

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

      public SessionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionInfo.Builder>
      Throws:
      IOException
    • hasId

      public boolean hasId()
       Session identifier
       
      optional string id = 1;
      Specified by:
      hasId in interface SessionInfoOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public String getId()
       Session identifier
       
      optional string id = 1;
      Specified by:
      getId in interface SessionInfoOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Session identifier
       
      optional string id = 1;
      Specified by:
      getIdBytes in interface SessionInfoOrBuilder
      Returns:
      The bytes for id.
    • setId

      public SessionInfo.Builder setId(String value)
       Session identifier
       
      optional string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public SessionInfo.Builder clearId()
       Session identifier
       
      optional string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public SessionInfo.Builder setIdBytes(com.google.protobuf.ByteString value)
       Session identifier
       
      optional string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasUsername

      public boolean hasUsername()
      optional string username = 2;
      Specified by:
      hasUsername in interface SessionInfoOrBuilder
      Returns:
      Whether the username field is set.
    • getUsername

      public String getUsername()
      optional string username = 2;
      Specified by:
      getUsername in interface SessionInfoOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
      optional string username = 2;
      Specified by:
      getUsernameBytes in interface SessionInfoOrBuilder
      Returns:
      The bytes for username.
    • setUsername

      public SessionInfo.Builder setUsername(String value)
      optional string username = 2;
      Parameters:
      value - The username to set.
      Returns:
      This builder for chaining.
    • clearUsername

      public SessionInfo.Builder clearUsername()
      optional string username = 2;
      Returns:
      This builder for chaining.
    • setUsernameBytes

      public SessionInfo.Builder setUsernameBytes(com.google.protobuf.ByteString value)
      optional string username = 2;
      Parameters:
      value - The bytes for username to set.
      Returns:
      This builder for chaining.
    • hasIpAddress

      public boolean hasIpAddress()
      optional string ipAddress = 3;
      Specified by:
      hasIpAddress in interface SessionInfoOrBuilder
      Returns:
      Whether the ipAddress field is set.
    • getIpAddress

      public String getIpAddress()
      optional string ipAddress = 3;
      Specified by:
      getIpAddress in interface SessionInfoOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
      optional string ipAddress = 3;
      Specified by:
      getIpAddressBytes in interface SessionInfoOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      public SessionInfo.Builder setIpAddress(String value)
      optional string ipAddress = 3;
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public SessionInfo.Builder clearIpAddress()
      optional string ipAddress = 3;
      Returns:
      This builder for chaining.
    • setIpAddressBytes

      public SessionInfo.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
      optional string ipAddress = 3;
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.
    • hasHostname

      public boolean hasHostname()
      optional string hostname = 4;
      Specified by:
      hasHostname in interface SessionInfoOrBuilder
      Returns:
      Whether the hostname field is set.
    • getHostname

      public String getHostname()
      optional string hostname = 4;
      Specified by:
      getHostname in interface SessionInfoOrBuilder
      Returns:
      The hostname.
    • getHostnameBytes

      public com.google.protobuf.ByteString getHostnameBytes()
      optional string hostname = 4;
      Specified by:
      getHostnameBytes in interface SessionInfoOrBuilder
      Returns:
      The bytes for hostname.
    • setHostname

      public SessionInfo.Builder setHostname(String value)
      optional string hostname = 4;
      Parameters:
      value - The hostname to set.
      Returns:
      This builder for chaining.
    • clearHostname

      public SessionInfo.Builder clearHostname()
      optional string hostname = 4;
      Returns:
      This builder for chaining.
    • setHostnameBytes

      public SessionInfo.Builder setHostnameBytes(com.google.protobuf.ByteString value)
      optional string hostname = 4;
      Parameters:
      value - The bytes for hostname to set.
      Returns:
      This builder for chaining.
    • hasStartTime

      public boolean hasStartTime()
      optional .google.protobuf.Timestamp startTime = 5;
      Specified by:
      hasStartTime in interface SessionInfoOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
      optional .google.protobuf.Timestamp startTime = 5;
      Specified by:
      getStartTime in interface SessionInfoOrBuilder
      Returns:
      The startTime.
    • setStartTime

      public SessionInfo.Builder setStartTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp startTime = 5;
    • setStartTime

      public SessionInfo.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp startTime = 5;
    • mergeStartTime

      public SessionInfo.Builder mergeStartTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp startTime = 5;
    • clearStartTime

      public SessionInfo.Builder clearStartTime()
      optional .google.protobuf.Timestamp startTime = 5;
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
      optional .google.protobuf.Timestamp startTime = 5;
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
      optional .google.protobuf.Timestamp startTime = 5;
      Specified by:
      getStartTimeOrBuilder in interface SessionInfoOrBuilder
    • hasLastAccessTime

      public boolean hasLastAccessTime()
      optional .google.protobuf.Timestamp lastAccessTime = 6;
      Specified by:
      hasLastAccessTime in interface SessionInfoOrBuilder
      Returns:
      Whether the lastAccessTime field is set.
    • getLastAccessTime

      public com.google.protobuf.Timestamp getLastAccessTime()
      optional .google.protobuf.Timestamp lastAccessTime = 6;
      Specified by:
      getLastAccessTime in interface SessionInfoOrBuilder
      Returns:
      The lastAccessTime.
    • setLastAccessTime

      public SessionInfo.Builder setLastAccessTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastAccessTime = 6;
    • setLastAccessTime

      public SessionInfo.Builder setLastAccessTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp lastAccessTime = 6;
    • mergeLastAccessTime

      public SessionInfo.Builder mergeLastAccessTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp lastAccessTime = 6;
    • clearLastAccessTime

      public SessionInfo.Builder clearLastAccessTime()
      optional .google.protobuf.Timestamp lastAccessTime = 6;
    • getLastAccessTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastAccessTimeBuilder()
      optional .google.protobuf.Timestamp lastAccessTime = 6;
    • getLastAccessTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastAccessTimeOrBuilder()
      optional .google.protobuf.Timestamp lastAccessTime = 6;
      Specified by:
      getLastAccessTimeOrBuilder in interface SessionInfoOrBuilder
    • hasExpirationTime

      public boolean hasExpirationTime()
      optional .google.protobuf.Timestamp expirationTime = 7;
      Specified by:
      hasExpirationTime in interface SessionInfoOrBuilder
      Returns:
      Whether the expirationTime field is set.
    • getExpirationTime

      public com.google.protobuf.Timestamp getExpirationTime()
      optional .google.protobuf.Timestamp expirationTime = 7;
      Specified by:
      getExpirationTime in interface SessionInfoOrBuilder
      Returns:
      The expirationTime.
    • setExpirationTime

      public SessionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp expirationTime = 7;
    • setExpirationTime

      public SessionInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp expirationTime = 7;
    • mergeExpirationTime

      public SessionInfo.Builder mergeExpirationTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp expirationTime = 7;
    • clearExpirationTime

      public SessionInfo.Builder clearExpirationTime()
      optional .google.protobuf.Timestamp expirationTime = 7;
    • getExpirationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()
      optional .google.protobuf.Timestamp expirationTime = 7;
    • getExpirationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()
      optional .google.protobuf.Timestamp expirationTime = 7;
      Specified by:
      getExpirationTimeOrBuilder in interface SessionInfoOrBuilder
    • getClientsList

      public com.google.protobuf.ProtocolStringList getClientsList()
      repeated string clients = 8;
      Specified by:
      getClientsList in interface SessionInfoOrBuilder
      Returns:
      A list containing the clients.
    • getClientsCount

      public int getClientsCount()
      repeated string clients = 8;
      Specified by:
      getClientsCount in interface SessionInfoOrBuilder
      Returns:
      The count of clients.
    • getClients

      public String getClients(int index)
      repeated string clients = 8;
      Specified by:
      getClients in interface SessionInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The clients at the given index.
    • getClientsBytes

      public com.google.protobuf.ByteString getClientsBytes(int index)
      repeated string clients = 8;
      Specified by:
      getClientsBytes in interface SessionInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the clients at the given index.
    • setClients

      public SessionInfo.Builder setClients(int index, String value)
      repeated string clients = 8;
      Parameters:
      index - The index to set the value at.
      value - The clients to set.
      Returns:
      This builder for chaining.
    • addClients

      public SessionInfo.Builder addClients(String value)
      repeated string clients = 8;
      Parameters:
      value - The clients to add.
      Returns:
      This builder for chaining.
    • addAllClients

      public SessionInfo.Builder addAllClients(Iterable<String> values)
      repeated string clients = 8;
      Parameters:
      values - The clients to add.
      Returns:
      This builder for chaining.
    • clearClients

      public SessionInfo.Builder clearClients()
      repeated string clients = 8;
      Returns:
      This builder for chaining.
    • addClientsBytes

      public SessionInfo.Builder addClientsBytes(com.google.protobuf.ByteString value)
      repeated string clients = 8;
      Parameters:
      value - The bytes of the clients to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

      public final SessionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SessionInfo.Builder>