Class RedisProxyExternalAuthResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<RedisProxyExternalAuthResponse.Builder>
io.envoyproxy.envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RedisProxyExternalAuthResponseOrBuilder, Cloneable
Enclosing class:
RedisProxyExternalAuthResponse

public static final class RedisProxyExternalAuthResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RedisProxyExternalAuthResponse.Builder> implements RedisProxyExternalAuthResponseOrBuilder
Protobuf type envoy.service.redis_auth.v3.RedisProxyExternalAuthResponse
  • 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<RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RedisProxyExternalAuthResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<RedisProxyExternalAuthResponse.Builder>
    • setField

      public RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
    • clearField

      public RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
    • clearOneof

      public RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
    • setRepeatedField

      public RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
      Throws:
      IOException
    • hasStatus

      public boolean hasStatus()
       Status of the authentication check.
       
      .google.rpc.Status status = 1;
      Specified by:
      hasStatus in interface RedisProxyExternalAuthResponseOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public Status getStatus()
       Status of the authentication check.
       
      .google.rpc.Status status = 1;
      Specified by:
      getStatus in interface RedisProxyExternalAuthResponseOrBuilder
      Returns:
      The status.
    • setStatus

       Status of the authentication check.
       
      .google.rpc.Status status = 1;
    • setStatus

      public RedisProxyExternalAuthResponse.Builder setStatus(Status.Builder builderForValue)
       Status of the authentication check.
       
      .google.rpc.Status status = 1;
    • mergeStatus

      public RedisProxyExternalAuthResponse.Builder mergeStatus(Status value)
       Status of the authentication check.
       
      .google.rpc.Status status = 1;
    • clearStatus

       Status of the authentication check.
       
      .google.rpc.Status status = 1;
    • getStatusBuilder

      public Status.Builder getStatusBuilder()
       Status of the authentication check.
       
      .google.rpc.Status status = 1;
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       Status of the authentication check.
       
      .google.rpc.Status status = 1;
      Specified by:
      getStatusOrBuilder in interface RedisProxyExternalAuthResponseOrBuilder
    • hasExpiration

      public boolean hasExpiration()
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
      Specified by:
      hasExpiration in interface RedisProxyExternalAuthResponseOrBuilder
      Returns:
      Whether the expiration field is set.
    • getExpiration

      public com.google.protobuf.Timestamp getExpiration()
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
      Specified by:
      getExpiration in interface RedisProxyExternalAuthResponseOrBuilder
      Returns:
      The expiration.
    • setExpiration

      public RedisProxyExternalAuthResponse.Builder setExpiration(com.google.protobuf.Timestamp value)
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
    • setExpiration

      public RedisProxyExternalAuthResponse.Builder setExpiration(com.google.protobuf.Timestamp.Builder builderForValue)
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
    • mergeExpiration

      public RedisProxyExternalAuthResponse.Builder mergeExpiration(com.google.protobuf.Timestamp value)
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
    • clearExpiration

      public RedisProxyExternalAuthResponse.Builder clearExpiration()
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
    • getExpirationBuilder

      public com.google.protobuf.Timestamp.Builder getExpirationBuilder()
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
    • getExpirationOrBuilder

      public com.google.protobuf.TimestampOrBuilder getExpirationOrBuilder()
       Optional expiration time for the authentication.
       If set, the authentication will be valid until this time.
       If not set, the authentication will be valid indefinitely.
       
      .google.protobuf.Timestamp expiration = 2;
      Specified by:
      getExpirationOrBuilder in interface RedisProxyExternalAuthResponseOrBuilder
    • getMessage

      public String getMessage()
       Optional message to be sent back to the client.
       
      string message = 3;
      Specified by:
      getMessage in interface RedisProxyExternalAuthResponseOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Optional message to be sent back to the client.
       
      string message = 3;
      Specified by:
      getMessageBytes in interface RedisProxyExternalAuthResponseOrBuilder
      Returns:
      The bytes for message.
    • setMessage

       Optional message to be sent back to the client.
       
      string message = 3;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

       Optional message to be sent back to the client.
       
      string message = 3;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public RedisProxyExternalAuthResponse.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Optional message to be sent back to the client.
       
      string message = 3;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>
    • mergeUnknownFields

      public final RedisProxyExternalAuthResponse.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<RedisProxyExternalAuthResponse.Builder>