Class UpdateDataSourceRequest.Builder

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

public static final class UpdateDataSourceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder> implements UpdateDataSourceRequestOrBuilder
 Request to update datasource configuration.
 
Protobuf type ai.pipestream.connector.intake.v1.UpdateDataSourceRequest
  • 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.Builder<UpdateDataSourceRequest.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateDataSourceRequest.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<UpdateDataSourceRequest.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<UpdateDataSourceRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateDataSourceRequest.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<UpdateDataSourceRequest.Builder>
      Throws:
      IOException
    • 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.
    • setDatasourceId

      public UpdateDataSourceRequest.Builder setDatasourceId(String value)
       DataSource identifier to update.
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Parameters:
      value - The datasourceId to set.
      Returns:
      This builder for chaining.
    • clearDatasourceId

      public UpdateDataSourceRequest.Builder clearDatasourceId()
       DataSource identifier to update.
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Returns:
      This builder for chaining.
    • setDatasourceIdBytes

      public UpdateDataSourceRequest.Builder setDatasourceIdBytes(com.google.protobuf.ByteString value)
       DataSource identifier to update.
       
      string datasource_id = 1 [json_name = "datasourceId"];
      Parameters:
      value - The bytes for datasourceId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setName

      public UpdateDataSourceRequest.Builder setName(String value)
       Updated datasource name (optional).
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public UpdateDataSourceRequest.Builder clearName()
       Updated datasource name (optional).
       
      string name = 2 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public UpdateDataSourceRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Updated datasource name (optional).
       
      string name = 2 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDriveName

      public UpdateDataSourceRequest.Builder setDriveName(String value)
       Updated drive name (optional).
       
      string drive_name = 3 [json_name = "driveName"];
      Parameters:
      value - The driveName to set.
      Returns:
      This builder for chaining.
    • clearDriveName

      public UpdateDataSourceRequest.Builder clearDriveName()
       Updated drive name (optional).
       
      string drive_name = 3 [json_name = "driveName"];
      Returns:
      This builder for chaining.
    • setDriveNameBytes

      public UpdateDataSourceRequest.Builder setDriveNameBytes(com.google.protobuf.ByteString value)
       Updated drive name (optional).
       
      string drive_name = 3 [json_name = "driveName"];
      Parameters:
      value - The bytes for driveName to set.
      Returns:
      This builder for chaining.
    • 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
    • clearMetadata

      public UpdateDataSourceRequest.Builder clearMetadata()
    • removeMetadata

      public UpdateDataSourceRequest.Builder removeMetadata(String key)
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
    • getMutableMetadata

      @Deprecated public Map<String,String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public UpdateDataSourceRequest.Builder putMetadata(String key, String value)
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
    • putAllMetadata

      public UpdateDataSourceRequest.Builder putAllMetadata(Map<String,String> values)
       Updated metadata (optional, replaces existing).
       
      map<string, string> metadata = 4 [json_name = "metadata"];
    • 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.
    • setMaxFileSize

      public UpdateDataSourceRequest.Builder setMaxFileSize(long value)
       Updated max file size (optional).
       
      int64 max_file_size = 5 [json_name = "maxFileSize"];
      Parameters:
      value - The maxFileSize to set.
      Returns:
      This builder for chaining.
    • clearMaxFileSize

      public UpdateDataSourceRequest.Builder clearMaxFileSize()
       Updated max file size (optional).
       
      int64 max_file_size = 5 [json_name = "maxFileSize"];
      Returns:
      This builder for chaining.
    • 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.
    • setRateLimitPerMinute

      public UpdateDataSourceRequest.Builder setRateLimitPerMinute(long value)
       Updated rate limit (optional).
       
      int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];
      Parameters:
      value - The rateLimitPerMinute to set.
      Returns:
      This builder for chaining.
    • clearRateLimitPerMinute

      public UpdateDataSourceRequest.Builder clearRateLimitPerMinute()
       Updated rate limit (optional).
       
      int64 rate_limit_per_minute = 6 [json_name = "rateLimitPerMinute"];
      Returns:
      This builder for chaining.