Class CodeCompilationConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataform.v1.CodeCompilationConfig
All Implemented Interfaces:
CodeCompilationConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CodeCompilationConfig extends com.google.protobuf.GeneratedMessage implements CodeCompilationConfigOrBuilder
 Configures various aspects of Dataform code compilation.
 
Protobuf type google.cloud.dataform.v1.CodeCompilationConfig
See Also:
  • Field Details

    • DEFAULT_DATABASE_FIELD_NUMBER

      public static final int DEFAULT_DATABASE_FIELD_NUMBER
      See Also:
    • DEFAULT_SCHEMA_FIELD_NUMBER

      public static final int DEFAULT_SCHEMA_FIELD_NUMBER
      See Also:
    • DEFAULT_LOCATION_FIELD_NUMBER

      public static final int DEFAULT_LOCATION_FIELD_NUMBER
      See Also:
    • ASSERTION_SCHEMA_FIELD_NUMBER

      public static final int ASSERTION_SCHEMA_FIELD_NUMBER
      See Also:
    • VARS_FIELD_NUMBER

      public static final int VARS_FIELD_NUMBER
      See Also:
    • DATABASE_SUFFIX_FIELD_NUMBER

      public static final int DATABASE_SUFFIX_FIELD_NUMBER
      See Also:
    • SCHEMA_SUFFIX_FIELD_NUMBER

      public static final int SCHEMA_SUFFIX_FIELD_NUMBER
      See Also:
    • TABLE_PREFIX_FIELD_NUMBER

      public static final int TABLE_PREFIX_FIELD_NUMBER
      See Also:
    • BUILTIN_ASSERTION_NAME_PREFIX_FIELD_NUMBER

      public static final int BUILTIN_ASSERTION_NAME_PREFIX_FIELD_NUMBER
      See Also:
    • DEFAULT_NOTEBOOK_RUNTIME_OPTIONS_FIELD_NUMBER

      public static final int DEFAULT_NOTEBOOK_RUNTIME_OPTIONS_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
    • getDefaultDatabase

      public String getDefaultDatabase()
       Optional. The default database (Google Cloud project ID).
       
      string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultDatabase in interface CodeCompilationConfigOrBuilder
      Returns:
      The defaultDatabase.
    • getDefaultDatabaseBytes

      public com.google.protobuf.ByteString getDefaultDatabaseBytes()
       Optional. The default database (Google Cloud project ID).
       
      string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultDatabaseBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for defaultDatabase.
    • getDefaultSchema

      public String getDefaultSchema()
       Optional. The default schema (BigQuery dataset ID).
       
      string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultSchema in interface CodeCompilationConfigOrBuilder
      Returns:
      The defaultSchema.
    • getDefaultSchemaBytes

      public com.google.protobuf.ByteString getDefaultSchemaBytes()
       Optional. The default schema (BigQuery dataset ID).
       
      string default_schema = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultSchemaBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for defaultSchema.
    • getDefaultLocation

      public String getDefaultLocation()
       Optional. The default BigQuery location to use. Defaults to "US".
       See the BigQuery docs for a full list of locations:
       https://cloud.google.com/bigquery/docs/locations.
       
      string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultLocation in interface CodeCompilationConfigOrBuilder
      Returns:
      The defaultLocation.
    • getDefaultLocationBytes

      public com.google.protobuf.ByteString getDefaultLocationBytes()
       Optional. The default BigQuery location to use. Defaults to "US".
       See the BigQuery docs for a full list of locations:
       https://cloud.google.com/bigquery/docs/locations.
       
      string default_location = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultLocationBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for defaultLocation.
    • getAssertionSchema

      public String getAssertionSchema()
       Optional. The default schema (BigQuery dataset ID) for assertions.
       
      string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssertionSchema in interface CodeCompilationConfigOrBuilder
      Returns:
      The assertionSchema.
    • getAssertionSchemaBytes

      public com.google.protobuf.ByteString getAssertionSchemaBytes()
       Optional. The default schema (BigQuery dataset ID) for assertions.
       
      string assertion_schema = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssertionSchemaBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for assertionSchema.
    • getVarsCount

      public int getVarsCount()
      Description copied from interface: CodeCompilationConfigOrBuilder
       Optional. User-defined variables that are made available to project code
       during compilation.
       
      map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVarsCount in interface CodeCompilationConfigOrBuilder
    • containsVars

      public boolean containsVars(String key)
       Optional. User-defined variables that are made available to project code
       during compilation.
       
      map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsVars in interface CodeCompilationConfigOrBuilder
    • getVars

      @Deprecated public Map<String,String> getVars()
      Deprecated.
      Use getVarsMap() instead.
      Specified by:
      getVars in interface CodeCompilationConfigOrBuilder
    • getVarsMap

      public Map<String,String> getVarsMap()
       Optional. User-defined variables that are made available to project code
       during compilation.
       
      map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVarsMap in interface CodeCompilationConfigOrBuilder
    • getVarsOrDefault

      public String getVarsOrDefault(String key, String defaultValue)
       Optional. User-defined variables that are made available to project code
       during compilation.
       
      map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVarsOrDefault in interface CodeCompilationConfigOrBuilder
    • getVarsOrThrow

      public String getVarsOrThrow(String key)
       Optional. User-defined variables that are made available to project code
       during compilation.
       
      map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVarsOrThrow in interface CodeCompilationConfigOrBuilder
    • getDatabaseSuffix

      public String getDatabaseSuffix()
       Optional. The suffix that should be appended to all database (Google Cloud
       project ID) names.
       
      string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDatabaseSuffix in interface CodeCompilationConfigOrBuilder
      Returns:
      The databaseSuffix.
    • getDatabaseSuffixBytes

      public com.google.protobuf.ByteString getDatabaseSuffixBytes()
       Optional. The suffix that should be appended to all database (Google Cloud
       project ID) names.
       
      string database_suffix = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDatabaseSuffixBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for databaseSuffix.
    • getSchemaSuffix

      public String getSchemaSuffix()
       Optional. The suffix that should be appended to all schema (BigQuery
       dataset ID) names.
       
      string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSchemaSuffix in interface CodeCompilationConfigOrBuilder
      Returns:
      The schemaSuffix.
    • getSchemaSuffixBytes

      public com.google.protobuf.ByteString getSchemaSuffixBytes()
       Optional. The suffix that should be appended to all schema (BigQuery
       dataset ID) names.
       
      string schema_suffix = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSchemaSuffixBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for schemaSuffix.
    • getTablePrefix

      public String getTablePrefix()
       Optional. The prefix that should be prepended to all table names.
       
      string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTablePrefix in interface CodeCompilationConfigOrBuilder
      Returns:
      The tablePrefix.
    • getTablePrefixBytes

      public com.google.protobuf.ByteString getTablePrefixBytes()
       Optional. The prefix that should be prepended to all table names.
       
      string table_prefix = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTablePrefixBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for tablePrefix.
    • getBuiltinAssertionNamePrefix

      public String getBuiltinAssertionNamePrefix()
       Optional. The prefix to prepend to built-in assertion names.
       
      string builtin_assertion_name_prefix = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBuiltinAssertionNamePrefix in interface CodeCompilationConfigOrBuilder
      Returns:
      The builtinAssertionNamePrefix.
    • getBuiltinAssertionNamePrefixBytes

      public com.google.protobuf.ByteString getBuiltinAssertionNamePrefixBytes()
       Optional. The prefix to prepend to built-in assertion names.
       
      string builtin_assertion_name_prefix = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBuiltinAssertionNamePrefixBytes in interface CodeCompilationConfigOrBuilder
      Returns:
      The bytes for builtinAssertionNamePrefix.
    • hasDefaultNotebookRuntimeOptions

      public boolean hasDefaultNotebookRuntimeOptions()
       Optional. The default notebook runtime options.
       
      .google.cloud.dataform.v1.NotebookRuntimeOptions default_notebook_runtime_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDefaultNotebookRuntimeOptions in interface CodeCompilationConfigOrBuilder
      Returns:
      Whether the defaultNotebookRuntimeOptions field is set.
    • getDefaultNotebookRuntimeOptions

      public NotebookRuntimeOptions getDefaultNotebookRuntimeOptions()
       Optional. The default notebook runtime options.
       
      .google.cloud.dataform.v1.NotebookRuntimeOptions default_notebook_runtime_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultNotebookRuntimeOptions in interface CodeCompilationConfigOrBuilder
      Returns:
      The defaultNotebookRuntimeOptions.
    • getDefaultNotebookRuntimeOptionsOrBuilder

      public NotebookRuntimeOptionsOrBuilder getDefaultNotebookRuntimeOptionsOrBuilder()
       Optional. The default notebook runtime options.
       
      .google.cloud.dataform.v1.NotebookRuntimeOptions default_notebook_runtime_options = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDefaultNotebookRuntimeOptionsOrBuilder in interface CodeCompilationConfigOrBuilder
    • 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 CodeCompilationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CodeCompilationConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static CodeCompilationConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CodeCompilationConfig> 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 CodeCompilationConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder