Package com.google.cloud.dataproc.v1
Class PrestoJob.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
- com.google.cloud.dataproc.v1.PrestoJob.Builder
-
- All Implemented Interfaces:
PrestoJobOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PrestoJob
public static final class PrestoJob.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder> implements PrestoJobOrBuilder
A Dataproc job for running [Presto](https://prestosql.io/) queries. **IMPORTANT**: The [Dataproc Presto Optional Component](https://cloud.google.com/dataproc/docs/concepts/components/presto) must be enabled when the cluster is created to submit a Presto job to the cluster.
Protobuf typegoogle.cloud.dataproc.v1.PrestoJob
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PrestoJob.BuilderaddAllClientTags(Iterable<String> values)Optional.PrestoJob.BuilderaddClientTags(String value)Optional.PrestoJob.BuilderaddClientTagsBytes(com.google.protobuf.ByteString value)Optional.PrestoJob.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PrestoJobbuild()PrestoJobbuildPartial()PrestoJob.Builderclear()PrestoJob.BuilderclearClientTags()Optional.PrestoJob.BuilderclearContinueOnFailure()Optional.PrestoJob.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PrestoJob.BuilderclearLoggingConfig()Optional.PrestoJob.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PrestoJob.BuilderclearOutputFormat()Optional.PrestoJob.BuilderclearProperties()PrestoJob.BuilderclearQueries()PrestoJob.BuilderclearQueryFileUri()The HCFS URI of the script that contains SQL queries.PrestoJob.BuilderclearQueryList()A list of queries.PrestoJob.Builderclone()booleancontainsProperties(String key)Optional.StringgetClientTags(int index)Optional.com.google.protobuf.ByteStringgetClientTagsBytes(int index)Optional.intgetClientTagsCount()Optional.com.google.protobuf.ProtocolStringListgetClientTagsList()Optional.booleangetContinueOnFailure()Optional.PrestoJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LoggingConfiggetLoggingConfig()Optional.LoggingConfig.BuildergetLoggingConfigBuilder()Optional.LoggingConfigOrBuildergetLoggingConfigOrBuilder()Optional.Map<String,String>getMutableProperties()Deprecated.StringgetOutputFormat()Optional.com.google.protobuf.ByteStringgetOutputFormatBytes()Optional.Map<String,String>getProperties()Deprecated.intgetPropertiesCount()Optional.Map<String,String>getPropertiesMap()Optional.StringgetPropertiesOrDefault(String key, String defaultValue)Optional.StringgetPropertiesOrThrow(String key)Optional.PrestoJob.QueriesCasegetQueriesCase()StringgetQueryFileUri()The HCFS URI of the script that contains SQL queries.com.google.protobuf.ByteStringgetQueryFileUriBytes()The HCFS URI of the script that contains SQL queries.QueryListgetQueryList()A list of queries.QueryList.BuildergetQueryListBuilder()A list of queries.QueryListOrBuildergetQueryListOrBuilder()A list of queries.booleanhasLoggingConfig()Optional.booleanhasQueryFileUri()The HCFS URI of the script that contains SQL queries.booleanhasQueryList()A list of queries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()PrestoJob.BuildermergeFrom(PrestoJob other)PrestoJob.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PrestoJob.BuildermergeFrom(com.google.protobuf.Message other)PrestoJob.BuildermergeLoggingConfig(LoggingConfig value)Optional.PrestoJob.BuildermergeQueryList(QueryList value)A list of queries.PrestoJob.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PrestoJob.BuilderputAllProperties(Map<String,String> values)Optional.PrestoJob.BuilderputProperties(String key, String value)Optional.PrestoJob.BuilderremoveProperties(String key)Optional.PrestoJob.BuildersetClientTags(int index, String value)Optional.PrestoJob.BuildersetContinueOnFailure(boolean value)Optional.PrestoJob.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PrestoJob.BuildersetLoggingConfig(LoggingConfig value)Optional.PrestoJob.BuildersetLoggingConfig(LoggingConfig.Builder builderForValue)Optional.PrestoJob.BuildersetOutputFormat(String value)Optional.PrestoJob.BuildersetOutputFormatBytes(com.google.protobuf.ByteString value)Optional.PrestoJob.BuildersetQueryFileUri(String value)The HCFS URI of the script that contains SQL queries.PrestoJob.BuildersetQueryFileUriBytes(com.google.protobuf.ByteString value)The HCFS URI of the script that contains SQL queries.PrestoJob.BuildersetQueryList(QueryList value)A list of queries.PrestoJob.BuildersetQueryList(QueryList.Builder builderForValue)A list of queries.PrestoJob.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PrestoJob.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<PrestoJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
clear
public PrestoJob.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
getDefaultInstanceForType
public PrestoJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PrestoJob build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PrestoJob buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PrestoJob.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
setField
public PrestoJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
clearField
public PrestoJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
clearOneof
public PrestoJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
setRepeatedField
public PrestoJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
addRepeatedField
public PrestoJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
mergeFrom
public PrestoJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrestoJob.Builder>
-
mergeFrom
public PrestoJob.Builder mergeFrom(PrestoJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
mergeFrom
public PrestoJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PrestoJob.Builder>- Throws:
IOException
-
getQueriesCase
public PrestoJob.QueriesCase getQueriesCase()
- Specified by:
getQueriesCasein interfacePrestoJobOrBuilder
-
clearQueries
public PrestoJob.Builder clearQueries()
-
hasQueryFileUri
public boolean hasQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Specified by:
hasQueryFileUriin interfacePrestoJobOrBuilder- Returns:
- Whether the queryFileUri field is set.
-
getQueryFileUri
public String getQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Specified by:
getQueryFileUriin interfacePrestoJobOrBuilder- Returns:
- The queryFileUri.
-
getQueryFileUriBytes
public com.google.protobuf.ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Specified by:
getQueryFileUriBytesin interfacePrestoJobOrBuilder- Returns:
- The bytes for queryFileUri.
-
setQueryFileUri
public PrestoJob.Builder setQueryFileUri(String value)
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Parameters:
value- The queryFileUri to set.- Returns:
- This builder for chaining.
-
clearQueryFileUri
public PrestoJob.Builder clearQueryFileUri()
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Returns:
- This builder for chaining.
-
setQueryFileUriBytes
public PrestoJob.Builder setQueryFileUriBytes(com.google.protobuf.ByteString value)
The HCFS URI of the script that contains SQL queries.
string query_file_uri = 1;- Parameters:
value- The bytes for queryFileUri to set.- Returns:
- This builder for chaining.
-
hasQueryList
public boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;- Specified by:
hasQueryListin interfacePrestoJobOrBuilder- Returns:
- Whether the queryList field is set.
-
getQueryList
public QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;- Specified by:
getQueryListin interfacePrestoJobOrBuilder- Returns:
- The queryList.
-
setQueryList
public PrestoJob.Builder setQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
setQueryList
public PrestoJob.Builder setQueryList(QueryList.Builder builderForValue)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
mergeQueryList
public PrestoJob.Builder mergeQueryList(QueryList value)
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
clearQueryList
public PrestoJob.Builder clearQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
getQueryListBuilder
public QueryList.Builder getQueryListBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
getQueryListOrBuilder
public QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;- Specified by:
getQueryListOrBuilderin interfacePrestoJobOrBuilder
-
getContinueOnFailure
public boolean getContinueOnFailure()
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getContinueOnFailurein interfacePrestoJobOrBuilder- Returns:
- The continueOnFailure.
-
setContinueOnFailure
public PrestoJob.Builder setContinueOnFailure(boolean value)
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The continueOnFailure to set.- Returns:
- This builder for chaining.
-
clearContinueOnFailure
public PrestoJob.Builder clearContinueOnFailure()
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getOutputFormat
public String getOutputFormat()
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputFormatin interfacePrestoJobOrBuilder- Returns:
- The outputFormat.
-
getOutputFormatBytes
public com.google.protobuf.ByteString getOutputFormatBytes()
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOutputFormatBytesin interfacePrestoJobOrBuilder- Returns:
- The bytes for outputFormat.
-
setOutputFormat
public PrestoJob.Builder setOutputFormat(String value)
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The outputFormat to set.- Returns:
- This builder for chaining.
-
clearOutputFormat
public PrestoJob.Builder clearOutputFormat()
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setOutputFormatBytes
public PrestoJob.Builder setOutputFormatBytes(com.google.protobuf.ByteString value)
Optional. The format in which query output will be displayed. See the Presto documentation for supported output formats
string output_format = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for outputFormat to set.- Returns:
- This builder for chaining.
-
getClientTagsList
public com.google.protobuf.ProtocolStringList getClientTagsList()
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientTagsListin interfacePrestoJobOrBuilder- Returns:
- A list containing the clientTags.
-
getClientTagsCount
public int getClientTagsCount()
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientTagsCountin interfacePrestoJobOrBuilder- Returns:
- The count of clientTags.
-
getClientTags
public String getClientTags(int index)
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientTagsin interfacePrestoJobOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The clientTags at the given index.
-
getClientTagsBytes
public com.google.protobuf.ByteString getClientTagsBytes(int index)
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClientTagsBytesin interfacePrestoJobOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the clientTags at the given index.
-
setClientTags
public PrestoJob.Builder setClientTags(int index, String value)
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The clientTags to set.- Returns:
- This builder for chaining.
-
addClientTags
public PrestoJob.Builder addClientTags(String value)
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The clientTags to add.- Returns:
- This builder for chaining.
-
addAllClientTags
public PrestoJob.Builder addAllClientTags(Iterable<String> values)
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The clientTags to add.- Returns:
- This builder for chaining.
-
clearClientTags
public PrestoJob.Builder clearClientTags()
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addClientTagsBytes
public PrestoJob.Builder addClientTagsBytes(com.google.protobuf.ByteString value)
Optional. Presto client tags to attach to this query
repeated string client_tags = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the clientTags to add.- Returns:
- This builder for chaining.
-
getPropertiesCount
public int getPropertiesCount()
Description copied from interface:PrestoJobOrBuilderOptional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesCountin interfacePrestoJobOrBuilder
-
containsProperties
public boolean containsProperties(String key)
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsPropertiesin interfacePrestoJobOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()instead.- Specified by:
getPropertiesin interfacePrestoJobOrBuilder
-
getPropertiesMap
public Map<String,String> getPropertiesMap()
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesMapin interfacePrestoJobOrBuilder
-
getPropertiesOrDefault
public String getPropertiesOrDefault(String key, String defaultValue)
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrDefaultin interfacePrestoJobOrBuilder
-
getPropertiesOrThrow
public String getPropertiesOrThrow(String key)
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPropertiesOrThrowin interfacePrestoJobOrBuilder
-
clearProperties
public PrestoJob.Builder clearProperties()
-
removeProperties
public PrestoJob.Builder removeProperties(String key)
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableProperties
@Deprecated public Map<String,String> getMutableProperties()
Deprecated.Use alternate mutation accessors instead.
-
putProperties
public PrestoJob.Builder putProperties(String key, String value)
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
putAllProperties
public PrestoJob.Builder putAllProperties(Map<String,String> values)
Optional. A mapping of property names to values. Used to set Presto [session properties](https://prestodb.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in the Presto CLI
map<string, string> properties = 6 [(.google.api.field_behavior) = OPTIONAL];
-
hasLoggingConfig
public boolean hasLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLoggingConfigin interfacePrestoJobOrBuilder- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
public LoggingConfig getLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLoggingConfigin interfacePrestoJobOrBuilder- Returns:
- The loggingConfig.
-
setLoggingConfig
public PrestoJob.Builder setLoggingConfig(LoggingConfig value)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
setLoggingConfig
public PrestoJob.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
mergeLoggingConfig
public PrestoJob.Builder mergeLoggingConfig(LoggingConfig value)
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
clearLoggingConfig
public PrestoJob.Builder clearLoggingConfig()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getLoggingConfigBuilder
public LoggingConfig.Builder getLoggingConfigBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getLoggingConfigOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. The runtime log config for job execution.
.google.cloud.dataproc.v1.LoggingConfig logging_config = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLoggingConfigOrBuilderin interfacePrestoJobOrBuilder
-
setUnknownFields
public final PrestoJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
mergeUnknownFields
public final PrestoJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
-