Class DatabricksSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DatabricksSource.Builder>
ai.chalk.protos.chalk.graph.v1.DatabricksSource.Builder
All Implemented Interfaces:
DatabricksSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DatabricksSource

public static final class DatabricksSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DatabricksSource.Builder> implements DatabricksSourceOrBuilder
Protobuf type chalk.graph.v1.DatabricksSource
  • 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.GeneratedMessageV3.Builder<DatabricksSource.Builder>
    • internalGetMutableMapFieldReflection

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

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

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

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

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

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

      public DatabricksSource.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<DatabricksSource.Builder>
    • setField

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

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

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

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

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

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

      public DatabricksSource.Builder mergeFrom(DatabricksSource other)
    • isInitialized

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

      public DatabricksSource.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<DatabricksSource.Builder>
      Throws:
      IOException
    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface DatabricksSourceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface DatabricksSourceOrBuilder
      Returns:
      The bytes for name.
    • setName

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

      public DatabricksSource.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DatabricksSource.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getHost

      public String getHost()
      string host = 2 [json_name = "host"];
      Specified by:
      getHost in interface DatabricksSourceOrBuilder
      Returns:
      The host.
    • getHostBytes

      public com.google.protobuf.ByteString getHostBytes()
      string host = 2 [json_name = "host"];
      Specified by:
      getHostBytes in interface DatabricksSourceOrBuilder
      Returns:
      The bytes for host.
    • setHost

      public DatabricksSource.Builder setHost(String value)
      string host = 2 [json_name = "host"];
      Parameters:
      value - The host to set.
      Returns:
      This builder for chaining.
    • clearHost

      public DatabricksSource.Builder clearHost()
      string host = 2 [json_name = "host"];
      Returns:
      This builder for chaining.
    • setHostBytes

      public DatabricksSource.Builder setHostBytes(com.google.protobuf.ByteString value)
      string host = 2 [json_name = "host"];
      Parameters:
      value - The bytes for host to set.
      Returns:
      This builder for chaining.
    • getPort

      public String getPort()
      string port = 3 [json_name = "port"];
      Specified by:
      getPort in interface DatabricksSourceOrBuilder
      Returns:
      The port.
    • getPortBytes

      public com.google.protobuf.ByteString getPortBytes()
      string port = 3 [json_name = "port"];
      Specified by:
      getPortBytes in interface DatabricksSourceOrBuilder
      Returns:
      The bytes for port.
    • setPort

      public DatabricksSource.Builder setPort(String value)
      string port = 3 [json_name = "port"];
      Parameters:
      value - The port to set.
      Returns:
      This builder for chaining.
    • clearPort

      public DatabricksSource.Builder clearPort()
      string port = 3 [json_name = "port"];
      Returns:
      This builder for chaining.
    • setPortBytes

      public DatabricksSource.Builder setPortBytes(com.google.protobuf.ByteString value)
      string port = 3 [json_name = "port"];
      Parameters:
      value - The bytes for port to set.
      Returns:
      This builder for chaining.
    • getDb

      public String getDb()
      string db = 4 [json_name = "db"];
      Specified by:
      getDb in interface DatabricksSourceOrBuilder
      Returns:
      The db.
    • getDbBytes

      public com.google.protobuf.ByteString getDbBytes()
      string db = 4 [json_name = "db"];
      Specified by:
      getDbBytes in interface DatabricksSourceOrBuilder
      Returns:
      The bytes for db.
    • setDb

      public DatabricksSource.Builder setDb(String value)
      string db = 4 [json_name = "db"];
      Parameters:
      value - The db to set.
      Returns:
      This builder for chaining.
    • clearDb

      public DatabricksSource.Builder clearDb()
      string db = 4 [json_name = "db"];
      Returns:
      This builder for chaining.
    • setDbBytes

      public DatabricksSource.Builder setDbBytes(com.google.protobuf.ByteString value)
      string db = 4 [json_name = "db"];
      Parameters:
      value - The bytes for db to set.
      Returns:
      This builder for chaining.
    • getHttpPath

      public String getHttpPath()
      string http_path = 5 [json_name = "httpPath"];
      Specified by:
      getHttpPath in interface DatabricksSourceOrBuilder
      Returns:
      The httpPath.
    • getHttpPathBytes

      public com.google.protobuf.ByteString getHttpPathBytes()
      string http_path = 5 [json_name = "httpPath"];
      Specified by:
      getHttpPathBytes in interface DatabricksSourceOrBuilder
      Returns:
      The bytes for httpPath.
    • setHttpPath

      public DatabricksSource.Builder setHttpPath(String value)
      string http_path = 5 [json_name = "httpPath"];
      Parameters:
      value - The httpPath to set.
      Returns:
      This builder for chaining.
    • clearHttpPath

      public DatabricksSource.Builder clearHttpPath()
      string http_path = 5 [json_name = "httpPath"];
      Returns:
      This builder for chaining.
    • setHttpPathBytes

      public DatabricksSource.Builder setHttpPathBytes(com.google.protobuf.ByteString value)
      string http_path = 5 [json_name = "httpPath"];
      Parameters:
      value - The bytes for httpPath to set.
      Returns:
      This builder for chaining.
    • getAccessToken

      public String getAccessToken()
      string access_token = 6 [json_name = "accessToken"];
      Specified by:
      getAccessToken in interface DatabricksSourceOrBuilder
      Returns:
      The accessToken.
    • getAccessTokenBytes

      public com.google.protobuf.ByteString getAccessTokenBytes()
      string access_token = 6 [json_name = "accessToken"];
      Specified by:
      getAccessTokenBytes in interface DatabricksSourceOrBuilder
      Returns:
      The bytes for accessToken.
    • setAccessToken

      public DatabricksSource.Builder setAccessToken(String value)
      string access_token = 6 [json_name = "accessToken"];
      Parameters:
      value - The accessToken to set.
      Returns:
      This builder for chaining.
    • clearAccessToken

      public DatabricksSource.Builder clearAccessToken()
      string access_token = 6 [json_name = "accessToken"];
      Returns:
      This builder for chaining.
    • setAccessTokenBytes

      public DatabricksSource.Builder setAccessTokenBytes(com.google.protobuf.ByteString value)
      string access_token = 6 [json_name = "accessToken"];
      Parameters:
      value - The bytes for accessToken to set.
      Returns:
      This builder for chaining.
    • getEngineArgsCount

      public int getEngineArgsCount()
      Description copied from interface: DatabricksSourceOrBuilder
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
      Specified by:
      getEngineArgsCount in interface DatabricksSourceOrBuilder
    • containsEngineArgs

      public boolean containsEngineArgs(String key)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
      Specified by:
      containsEngineArgs in interface DatabricksSourceOrBuilder
    • getEngineArgs

      @Deprecated public Map<String,ScalarValue> getEngineArgs()
      Deprecated.
      Use getEngineArgsMap() instead.
      Specified by:
      getEngineArgs in interface DatabricksSourceOrBuilder
    • getEngineArgsMap

      public Map<String,ScalarValue> getEngineArgsMap()
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
      Specified by:
      getEngineArgsMap in interface DatabricksSourceOrBuilder
    • getEngineArgsOrDefault

      public ScalarValue getEngineArgsOrDefault(String key, ScalarValue defaultValue)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
      Specified by:
      getEngineArgsOrDefault in interface DatabricksSourceOrBuilder
    • getEngineArgsOrThrow

      public ScalarValue getEngineArgsOrThrow(String key)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
      Specified by:
      getEngineArgsOrThrow in interface DatabricksSourceOrBuilder
    • clearEngineArgs

      public DatabricksSource.Builder clearEngineArgs()
    • removeEngineArgs

      public DatabricksSource.Builder removeEngineArgs(String key)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
    • getMutableEngineArgs

      @Deprecated public Map<String,ScalarValue> getMutableEngineArgs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putEngineArgs

      public DatabricksSource.Builder putEngineArgs(String key, ScalarValue value)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
    • putAllEngineArgs

      public DatabricksSource.Builder putAllEngineArgs(Map<String,ScalarValue> values)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
    • putEngineArgsBuilderIfAbsent

      public ScalarValue.Builder putEngineArgsBuilderIfAbsent(String key)
      map<string, .chalk.arrow.v1.ScalarValue> engine_args = 7 [json_name = "engineArgs"];
    • getAsyncEngineArgsCount

      public int getAsyncEngineArgsCount()
      Description copied from interface: DatabricksSourceOrBuilder
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
      Specified by:
      getAsyncEngineArgsCount in interface DatabricksSourceOrBuilder
    • containsAsyncEngineArgs

      public boolean containsAsyncEngineArgs(String key)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
      Specified by:
      containsAsyncEngineArgs in interface DatabricksSourceOrBuilder
    • getAsyncEngineArgs

      @Deprecated public Map<String,ScalarValue> getAsyncEngineArgs()
      Deprecated.
      Specified by:
      getAsyncEngineArgs in interface DatabricksSourceOrBuilder
    • getAsyncEngineArgsMap

      public Map<String,ScalarValue> getAsyncEngineArgsMap()
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
      Specified by:
      getAsyncEngineArgsMap in interface DatabricksSourceOrBuilder
    • getAsyncEngineArgsOrDefault

      public ScalarValue getAsyncEngineArgsOrDefault(String key, ScalarValue defaultValue)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
      Specified by:
      getAsyncEngineArgsOrDefault in interface DatabricksSourceOrBuilder
    • getAsyncEngineArgsOrThrow

      public ScalarValue getAsyncEngineArgsOrThrow(String key)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
      Specified by:
      getAsyncEngineArgsOrThrow in interface DatabricksSourceOrBuilder
    • clearAsyncEngineArgs

      public DatabricksSource.Builder clearAsyncEngineArgs()
    • removeAsyncEngineArgs

      public DatabricksSource.Builder removeAsyncEngineArgs(String key)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
    • getMutableAsyncEngineArgs

      @Deprecated public Map<String,ScalarValue> getMutableAsyncEngineArgs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putAsyncEngineArgs

      public DatabricksSource.Builder putAsyncEngineArgs(String key, ScalarValue value)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
    • putAllAsyncEngineArgs

      public DatabricksSource.Builder putAllAsyncEngineArgs(Map<String,ScalarValue> values)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
    • putAsyncEngineArgsBuilderIfAbsent

      public ScalarValue.Builder putAsyncEngineArgsBuilderIfAbsent(String key)
      map<string, .chalk.arrow.v1.ScalarValue> async_engine_args = 8 [json_name = "asyncEngineArgs"];
    • setUnknownFields

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

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