Class AuthInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<AuthInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<AuthInfo.Builder>
org.yamcs.protobuf.AuthInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AuthInfoOrBuilder
Enclosing class:
AuthInfo

public static final class AuthInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthInfo.Builder> implements AuthInfoOrBuilder
Protobuf type yamcs.protobuf.auth.AuthInfo
  • Method Details

    • getDescriptor

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

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

      public AuthInfo.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.GeneratedMessage.Builder<AuthInfo.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.GeneratedMessage.Builder<AuthInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public AuthInfo.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<AuthInfo.Builder>
    • mergeFrom

      public AuthInfo.Builder mergeFrom(AuthInfo other)
    • isInitialized

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

      public AuthInfo.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<AuthInfo.Builder>
      Throws:
      IOException
    • hasRequireAuthentication

      public boolean hasRequireAuthentication()
      optional bool requireAuthentication = 1;
      Specified by:
      hasRequireAuthentication in interface AuthInfoOrBuilder
      Returns:
      Whether the requireAuthentication field is set.
    • getRequireAuthentication

      public boolean getRequireAuthentication()
      optional bool requireAuthentication = 1;
      Specified by:
      getRequireAuthentication in interface AuthInfoOrBuilder
      Returns:
      The requireAuthentication.
    • setRequireAuthentication

      public AuthInfo.Builder setRequireAuthentication(boolean value)
      optional bool requireAuthentication = 1;
      Parameters:
      value - The requireAuthentication to set.
      Returns:
      This builder for chaining.
    • clearRequireAuthentication

      public AuthInfo.Builder clearRequireAuthentication()
      optional bool requireAuthentication = 1;
      Returns:
      This builder for chaining.
    • hasSpnego

      public boolean hasSpnego()
       If true, the server is supportive of SPNEGO negotiation
       
      optional bool spnego = 2;
      Specified by:
      hasSpnego in interface AuthInfoOrBuilder
      Returns:
      Whether the spnego field is set.
    • getSpnego

      public boolean getSpnego()
       If true, the server is supportive of SPNEGO negotiation
       
      optional bool spnego = 2;
      Specified by:
      getSpnego in interface AuthInfoOrBuilder
      Returns:
      The spnego.
    • setSpnego

      public AuthInfo.Builder setSpnego(boolean value)
       If true, the server is supportive of SPNEGO negotiation
       
      optional bool spnego = 2;
      Parameters:
      value - The spnego to set.
      Returns:
      This builder for chaining.
    • clearSpnego

      public AuthInfo.Builder clearSpnego()
       If true, the server is supportive of SPNEGO negotiation
       
      optional bool spnego = 2;
      Returns:
      This builder for chaining.
    • hasOpenid

      public boolean hasOpenid()
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
      Specified by:
      hasOpenid in interface AuthInfoOrBuilder
      Returns:
      Whether the openid field is set.
    • getOpenid

      public OpenIDConnectInfo getOpenid()
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
      Specified by:
      getOpenid in interface AuthInfoOrBuilder
      Returns:
      The openid.
    • setOpenid

      public AuthInfo.Builder setOpenid(OpenIDConnectInfo value)
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
    • setOpenid

      public AuthInfo.Builder setOpenid(OpenIDConnectInfo.Builder builderForValue)
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
    • mergeOpenid

      public AuthInfo.Builder mergeOpenid(OpenIDConnectInfo value)
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
    • clearOpenid

      public AuthInfo.Builder clearOpenid()
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
    • getOpenidBuilder

      public OpenIDConnectInfo.Builder getOpenidBuilder()
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
    • getOpenidOrBuilder

      public OpenIDConnectInfoOrBuilder getOpenidOrBuilder()
       OpenID Connect information. If used, the server expects
       web applications to generate an OAuth2 code directly against
       the upstream OpenID Connect server.
       
      optional .yamcs.protobuf.auth.OpenIDConnectInfo openid = 3;
      Specified by:
      getOpenidOrBuilder in interface AuthInfoOrBuilder