Class RotateApiKeyRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RotateApiKeyRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<RotateApiKeyRequest.Builder>
ai.pipestream.connector.intake.v1.RotateApiKeyRequest.Builder
All Implemented Interfaces:
RotateApiKeyRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RotateApiKeyRequest

public static final class RotateApiKeyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RotateApiKeyRequest.Builder> implements RotateApiKeyRequestOrBuilder
 Request to rotate connector API key.
 
Protobuf type ai.pipestream.connector.intake.v1.RotateApiKeyRequest
  • 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<RotateApiKeyRequest.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<RotateApiKeyRequest.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<RotateApiKeyRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public RotateApiKeyRequest.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<RotateApiKeyRequest.Builder>
      Throws:
      IOException
    • getConnectorId

      public String getConnectorId()
       Connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Specified by:
      getConnectorId in interface RotateApiKeyRequestOrBuilder
      Returns:
      The connectorId.
    • getConnectorIdBytes

      public com.google.protobuf.ByteString getConnectorIdBytes()
       Connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Specified by:
      getConnectorIdBytes in interface RotateApiKeyRequestOrBuilder
      Returns:
      The bytes for connectorId.
    • setConnectorId

      public RotateApiKeyRequest.Builder setConnectorId(String value)
       Connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Parameters:
      value - The connectorId to set.
      Returns:
      This builder for chaining.
    • clearConnectorId

      public RotateApiKeyRequest.Builder clearConnectorId()
       Connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Returns:
      This builder for chaining.
    • setConnectorIdBytes

      public RotateApiKeyRequest.Builder setConnectorIdBytes(com.google.protobuf.ByteString value)
       Connector identifier.
       
      string connector_id = 1 [json_name = "connectorId"];
      Parameters:
      value - The bytes for connectorId to set.
      Returns:
      This builder for chaining.
    • getInvalidateOldImmediately

      public boolean getInvalidateOldImmediately()
       Whether to invalidate old key immediately or allow grace period.
       
      bool invalidate_old_immediately = 2 [json_name = "invalidateOldImmediately"];
      Specified by:
      getInvalidateOldImmediately in interface RotateApiKeyRequestOrBuilder
      Returns:
      The invalidateOldImmediately.
    • setInvalidateOldImmediately

      public RotateApiKeyRequest.Builder setInvalidateOldImmediately(boolean value)
       Whether to invalidate old key immediately or allow grace period.
       
      bool invalidate_old_immediately = 2 [json_name = "invalidateOldImmediately"];
      Parameters:
      value - The invalidateOldImmediately to set.
      Returns:
      This builder for chaining.
    • clearInvalidateOldImmediately

      public RotateApiKeyRequest.Builder clearInvalidateOldImmediately()
       Whether to invalidate old key immediately or allow grace period.
       
      bool invalidate_old_immediately = 2 [json_name = "invalidateOldImmediately"];
      Returns:
      This builder for chaining.