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 class
CompilationResult.CodeCompilationConfig.Builder
Configures 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 int
ASSERTION_SCHEMA_FIELD_NUMBER
static int
DATABASE_SUFFIX_FIELD_NUMBER
static int
DEFAULT_DATABASE_FIELD_NUMBER
static int
DEFAULT_LOCATION_FIELD_NUMBER
static int
DEFAULT_SCHEMA_FIELD_NUMBER
static int
SCHEMA_SUFFIX_FIELD_NUMBER
static int
TABLE_PREFIX_FIELD_NUMBER
static int
VARS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsVars(String key)
Optional.boolean
equals(Object obj)
String
getAssertionSchema()
Optional.com.google.protobuf.ByteString
getAssertionSchemaBytes()
Optional.String
getDatabaseSuffix()
Optional.com.google.protobuf.ByteString
getDatabaseSuffixBytes()
Optional.String
getDefaultDatabase()
Optional.com.google.protobuf.ByteString
getDefaultDatabaseBytes()
Optional.static CompilationResult.CodeCompilationConfig
getDefaultInstance()
CompilationResult.CodeCompilationConfig
getDefaultInstanceForType()
String
getDefaultLocation()
Optional.com.google.protobuf.ByteString
getDefaultLocationBytes()
Optional.String
getDefaultSchema()
Optional.com.google.protobuf.ByteString
getDefaultSchemaBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<CompilationResult.CodeCompilationConfig>
getParserForType()
String
getSchemaSuffix()
Optional.com.google.protobuf.ByteString
getSchemaSuffixBytes()
Optional.int
getSerializedSize()
String
getTablePrefix()
Optional.com.google.protobuf.ByteString
getTablePrefixBytes()
Optional.Map<String,String>
getVars()
Deprecated.int
getVarsCount()
Optional.Map<String,String>
getVarsMap()
Optional.String
getVarsOrDefault(String key, String defaultValue)
Optional.String
getVarsOrThrow(String key)
Optional.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static CompilationResult.CodeCompilationConfig.Builder
newBuilder()
static CompilationResult.CodeCompilationConfig.Builder
newBuilder(CompilationResult.CodeCompilationConfig prototype)
CompilationResult.CodeCompilationConfig.Builder
newBuilderForType()
protected CompilationResult.CodeCompilationConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static CompilationResult.CodeCompilationConfig
parseDelimitedFrom(InputStream input)
static CompilationResult.CodeCompilationConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResult.CodeCompilationConfig
parseFrom(byte[] data)
static CompilationResult.CodeCompilationConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResult.CodeCompilationConfig
parseFrom(com.google.protobuf.ByteString data)
static CompilationResult.CodeCompilationConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResult.CodeCompilationConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static CompilationResult.CodeCompilationConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResult.CodeCompilationConfig
parseFrom(InputStream input)
static CompilationResult.CodeCompilationConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CompilationResult.CodeCompilationConfig
parseFrom(ByteBuffer data)
static CompilationResult.CodeCompilationConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CompilationResult.CodeCompilationConfig>
parser()
CompilationResult.CodeCompilationConfig.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getDefaultDatabase
in 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:
getDefaultDatabaseBytes
in 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:
getDefaultSchema
in 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:
getDefaultSchemaBytes
in 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:
getDefaultLocation
in 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:
getDefaultLocationBytes
in 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:
getAssertionSchema
in 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:
getAssertionSchemaBytes
in interfaceCompilationResult.CodeCompilationConfigOrBuilder
- Returns:
- The bytes for assertionSchema.
-
getVarsCount
public int getVarsCount()
Description copied from interface:CompilationResult.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 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:
containsVars
in interfaceCompilationResult.CodeCompilationConfigOrBuilder
-
getVars
@Deprecated public Map<String,String> getVars()
Deprecated.UsegetVarsMap()
instead.- Specified by:
getVars
in 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:
getVarsMap
in 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:
getVarsOrDefault
in 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:
getVarsOrThrow
in 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:
getDatabaseSuffix
in 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:
getDatabaseSuffixBytes
in 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:
getSchemaSuffix
in 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:
getSchemaSuffixBytes
in 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:
getTablePrefix
in 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:
getTablePrefixBytes
in interfaceCompilationResult.CodeCompilationConfigOrBuilder
- Returns:
- The bytes for tablePrefix.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompilationResult.CodeCompilationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CompilationResult.CodeCompilationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-