Class UpdateDataSourceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.connector.intake.v1.UpdateDataSourceRequest
All Implemented Interfaces:
UpdateDataSourceRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UpdateDataSourceRequest extends com.google.protobuf.GeneratedMessage implements UpdateDataSourceRequestOrBuilder
 Request to update datasource configuration.
 
Protobuf type ai.pipestream.connector.intake.v1.UpdateDataSourceRequest
See Also:
  • Field Details

    • DATASOURCE_ID_FIELD_NUMBER

      public static final int DATASOURCE_ID_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DRIVE_NAME_FIELD_NUMBER

      public static final int DRIVE_NAME_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
    • MAX_FILE_SIZE_FIELD_NUMBER

      public static final int MAX_FILE_SIZE_FIELD_NUMBER
      See Also:
    • RATE_LIMIT_PER_MINUTE_FIELD_NUMBER

      public static final int RATE_LIMIT_PER_MINUTE_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDatasourceId

      public String getDatasourceId()
       DataSource identifier to update.
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Specified by:
      getDatasourceId in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The datasourceId.
    • getDatasourceIdBytes

      public com.google.protobuf.ByteString getDatasourceIdBytes()
       DataSource identifier to update.
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Specified by:
      getDatasourceIdBytes in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The bytes for datasourceId.
    • getName

      public String getName()
       Updated datasource name (optional).
       
      string name = 2 [json_name = "name"];
      Specified by:
      getName in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Updated datasource name (optional).
       
      string name = 2 [json_name = "name"];
      Specified by:
      getNameBytes in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The bytes for name.
    • getDriveName

      public String getDriveName()
       Updated drive name (optional).
       
      string drive_name = 3 [json_name = "driveName"];
      Specified by:
      getDriveName in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The driveName.
    • getDriveNameBytes

      public com.google.protobuf.ByteString getDriveNameBytes()
       Updated drive name (optional).
       
      string drive_name = 3 [json_name = "driveName"];
      Specified by:
      getDriveNameBytes in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The bytes for driveName.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: UpdateDataSourceRequestOrBuilder
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
      Specified by:
      getMetadataCount in interface UpdateDataSourceRequestOrBuilder
    • containsMetadata

      public boolean containsMetadata(String key)
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
      Specified by:
      containsMetadata in interface UpdateDataSourceRequestOrBuilder
    • getMetadata

      @Deprecated public Map<String,String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface UpdateDataSourceRequestOrBuilder
    • getMetadataMap

      public Map<String,String> getMetadataMap()
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
      Specified by:
      getMetadataMap in interface UpdateDataSourceRequestOrBuilder
    • getMetadataOrDefault

      public String getMetadataOrDefault(String key, String defaultValue)
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
      Specified by:
      getMetadataOrDefault in interface UpdateDataSourceRequestOrBuilder
    • getMetadataOrThrow

      public String getMetadataOrThrow(String key)
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
      Specified by:
      getMetadataOrThrow in interface UpdateDataSourceRequestOrBuilder
    • getMaxFileSize

      public long getMaxFileSize()
       Updated max file size (optional).
       
      int64 max_file_size = 5 [json_name = "maxFileSize"];
      Specified by:
      getMaxFileSize in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The maxFileSize.
    • getRateLimitPerMinute

      public long getRateLimitPerMinute()
       Updated rate limit (optional).
       
      int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];
      Specified by:
      getRateLimitPerMinute in interface UpdateDataSourceRequestOrBuilder
      Returns:
      The rateLimitPerMinute.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateDataSourceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UpdateDataSourceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UpdateDataSourceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UpdateDataSourceRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UpdateDataSourceRequest.Builder newBuilder()
    • newBuilder

      public static UpdateDataSourceRequest.Builder newBuilder(UpdateDataSourceRequest prototype)
    • toBuilder

      public UpdateDataSourceRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UpdateDataSourceRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UpdateDataSourceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UpdateDataSourceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<UpdateDataSourceRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UpdateDataSourceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder