Class CompilationResult.CodeCompilationConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig
-
- All Implemented Interfaces:
CompilationResult.CodeCompilationConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- CompilationResult
public static final class CompilationResult.CodeCompilationConfig extends com.google.protobuf.GeneratedMessageV3 implements CompilationResult.CodeCompilationConfigOrBuilder
Configures various aspects of Dataform code compilation.
Protobuf typegoogle.cloud.dataform.v1beta1.CompilationResult.CodeCompilationConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompilationResult.CodeCompilationConfig.BuilderConfigures various aspects of Dataform code compilation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intASSERTION_SCHEMA_FIELD_NUMBERstatic intDATABASE_SUFFIX_FIELD_NUMBERstatic intDEFAULT_DATABASE_FIELD_NUMBERstatic intDEFAULT_LOCATION_FIELD_NUMBERstatic intDEFAULT_SCHEMA_FIELD_NUMBERstatic intSCHEMA_SUFFIX_FIELD_NUMBERstatic intTABLE_PREFIX_FIELD_NUMBERstatic intVARS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsVars(String key)Optional.booleanequals(Object obj)StringgetAssertionSchema()Optional.com.google.protobuf.ByteStringgetAssertionSchemaBytes()Optional.StringgetDatabaseSuffix()Optional.com.google.protobuf.ByteStringgetDatabaseSuffixBytes()Optional.StringgetDefaultDatabase()Optional.com.google.protobuf.ByteStringgetDefaultDatabaseBytes()Optional.static CompilationResult.CodeCompilationConfiggetDefaultInstance()CompilationResult.CodeCompilationConfiggetDefaultInstanceForType()StringgetDefaultLocation()Optional.com.google.protobuf.ByteStringgetDefaultLocationBytes()Optional.StringgetDefaultSchema()Optional.com.google.protobuf.ByteStringgetDefaultSchemaBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<CompilationResult.CodeCompilationConfig>getParserForType()StringgetSchemaSuffix()Optional.com.google.protobuf.ByteStringgetSchemaSuffixBytes()Optional.intgetSerializedSize()StringgetTablePrefix()Optional.com.google.protobuf.ByteStringgetTablePrefixBytes()Optional.Map<String,String>getVars()Deprecated.intgetVarsCount()Optional.Map<String,String>getVarsMap()Optional.StringgetVarsOrDefault(String key, String defaultValue)Optional.StringgetVarsOrThrow(String key)Optional.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static CompilationResult.CodeCompilationConfig.BuildernewBuilder()static CompilationResult.CodeCompilationConfig.BuildernewBuilder(CompilationResult.CodeCompilationConfig prototype)CompilationResult.CodeCompilationConfig.BuildernewBuilderForType()protected CompilationResult.CodeCompilationConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CompilationResult.CodeCompilationConfigparseDelimitedFrom(InputStream input)static CompilationResult.CodeCompilationConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResult.CodeCompilationConfigparseFrom(byte[] data)static CompilationResult.CodeCompilationConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResult.CodeCompilationConfigparseFrom(com.google.protobuf.ByteString data)static CompilationResult.CodeCompilationConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResult.CodeCompilationConfigparseFrom(com.google.protobuf.CodedInputStream input)static CompilationResult.CodeCompilationConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResult.CodeCompilationConfigparseFrom(InputStream input)static CompilationResult.CodeCompilationConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResult.CodeCompilationConfigparseFrom(ByteBuffer data)static CompilationResult.CodeCompilationConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CompilationResult.CodeCompilationConfig>parser()CompilationResult.CodeCompilationConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEFAULT_DATABASE_FIELD_NUMBER
public static final int DEFAULT_DATABASE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_SCHEMA_FIELD_NUMBER
public static final int DEFAULT_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_LOCATION_FIELD_NUMBER
public static final int DEFAULT_LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSERTION_SCHEMA_FIELD_NUMBER
public static final int ASSERTION_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VARS_FIELD_NUMBER
public static final int VARS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATABASE_SUFFIX_FIELD_NUMBER
public static final int DATABASE_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_SUFFIX_FIELD_NUMBER
public static final int SCHEMA_SUFFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TABLE_PREFIX_FIELD_NUMBER
public static final int TABLE_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultDatabase
public String getDefaultDatabase()
Optional. The default database (Google Cloud project ID).
string default_database = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultDatabasein interfaceCompilationResult.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:
getDefaultDatabaseBytesin interfaceCompilationResult.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:
getDefaultSchemain interfaceCompilationResult.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:
getDefaultSchemaBytesin interfaceCompilationResult.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:
getDefaultLocationin interfaceCompilationResult.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:
getDefaultLocationBytesin interfaceCompilationResult.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:
getAssertionSchemain interfaceCompilationResult.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:
getAssertionSchemaBytesin interfaceCompilationResult.CodeCompilationConfigOrBuilder- Returns:
- The bytes for assertionSchema.
-
getVarsCount
public int getVarsCount()
Description copied from interface:CompilationResult.CodeCompilationConfigOrBuilderOptional. User-defined variables that are made available to project code during compilation.
map<string, string> vars = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVarsCountin interfaceCompilationResult.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:
containsVarsin interfaceCompilationResult.CodeCompilationConfigOrBuilder
-
getVars
@Deprecated public Map<String,String> getVars()
Deprecated.UsegetVarsMap()instead.- Specified by:
getVarsin interfaceCompilationResult.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:
getVarsMapin interfaceCompilationResult.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:
getVarsOrDefaultin interfaceCompilationResult.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:
getVarsOrThrowin interfaceCompilationResult.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:
getDatabaseSuffixin interfaceCompilationResult.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:
getDatabaseSuffixBytesin interfaceCompilationResult.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:
getSchemaSuffixin interfaceCompilationResult.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:
getSchemaSuffixBytesin interfaceCompilationResult.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:
getTablePrefixin interfaceCompilationResult.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:
getTablePrefixBytesin interfaceCompilationResult.CodeCompilationConfigOrBuilder- Returns:
- The bytes for tablePrefix.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult.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 CompilationResult.CodeCompilationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResult.CodeCompilationConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResult.CodeCompilationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResult.CodeCompilationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CompilationResult.CodeCompilationConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CompilationResult.CodeCompilationConfig.Builder newBuilder()
-
newBuilder
public static CompilationResult.CodeCompilationConfig.Builder newBuilder(CompilationResult.CodeCompilationConfig prototype)
-
toBuilder
public CompilationResult.CodeCompilationConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompilationResult.CodeCompilationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CompilationResult.CodeCompilationConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CompilationResult.CodeCompilationConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<CompilationResult.CodeCompilationConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CompilationResult.CodeCompilationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-