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.Builder
addAllClientTags(Iterable<String> values)
Optional.PrestoJob.Builder
addClientTags(String value)
Optional.PrestoJob.Builder
addClientTagsBytes(com.google.protobuf.ByteString value)
Optional.PrestoJob.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PrestoJob
build()
PrestoJob
buildPartial()
PrestoJob.Builder
clear()
PrestoJob.Builder
clearClientTags()
Optional.PrestoJob.Builder
clearContinueOnFailure()
Optional.PrestoJob.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PrestoJob.Builder
clearLoggingConfig()
Optional.PrestoJob.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PrestoJob.Builder
clearOutputFormat()
Optional.PrestoJob.Builder
clearProperties()
PrestoJob.Builder
clearQueries()
PrestoJob.Builder
clearQueryFileUri()
The HCFS URI of the script that contains SQL queries.PrestoJob.Builder
clearQueryList()
A list of queries.PrestoJob.Builder
clone()
boolean
containsProperties(String key)
Optional.String
getClientTags(int index)
Optional.com.google.protobuf.ByteString
getClientTagsBytes(int index)
Optional.int
getClientTagsCount()
Optional.com.google.protobuf.ProtocolStringList
getClientTagsList()
Optional.boolean
getContinueOnFailure()
Optional.PrestoJob
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
LoggingConfig
getLoggingConfig()
Optional.LoggingConfig.Builder
getLoggingConfigBuilder()
Optional.LoggingConfigOrBuilder
getLoggingConfigOrBuilder()
Optional.Map<String,String>
getMutableProperties()
Deprecated.String
getOutputFormat()
Optional.com.google.protobuf.ByteString
getOutputFormatBytes()
Optional.Map<String,String>
getProperties()
Deprecated.int
getPropertiesCount()
Optional.Map<String,String>
getPropertiesMap()
Optional.String
getPropertiesOrDefault(String key, String defaultValue)
Optional.String
getPropertiesOrThrow(String key)
Optional.PrestoJob.QueriesCase
getQueriesCase()
String
getQueryFileUri()
The HCFS URI of the script that contains SQL queries.com.google.protobuf.ByteString
getQueryFileUriBytes()
The HCFS URI of the script that contains SQL queries.QueryList
getQueryList()
A list of queries.QueryList.Builder
getQueryListBuilder()
A list of queries.QueryListOrBuilder
getQueryListOrBuilder()
A list of queries.boolean
hasLoggingConfig()
Optional.boolean
hasQueryFileUri()
The HCFS URI of the script that contains SQL queries.boolean
hasQueryList()
A list of queries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
PrestoJob.Builder
mergeFrom(PrestoJob other)
PrestoJob.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PrestoJob.Builder
mergeFrom(com.google.protobuf.Message other)
PrestoJob.Builder
mergeLoggingConfig(LoggingConfig value)
Optional.PrestoJob.Builder
mergeQueryList(QueryList value)
A list of queries.PrestoJob.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PrestoJob.Builder
putAllProperties(Map<String,String> values)
Optional.PrestoJob.Builder
putProperties(String key, String value)
Optional.PrestoJob.Builder
removeProperties(String key)
Optional.PrestoJob.Builder
setClientTags(int index, String value)
Optional.PrestoJob.Builder
setContinueOnFailure(boolean value)
Optional.PrestoJob.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PrestoJob.Builder
setLoggingConfig(LoggingConfig value)
Optional.PrestoJob.Builder
setLoggingConfig(LoggingConfig.Builder builderForValue)
Optional.PrestoJob.Builder
setOutputFormat(String value)
Optional.PrestoJob.Builder
setOutputFormatBytes(com.google.protobuf.ByteString value)
Optional.PrestoJob.Builder
setQueryFileUri(String value)
The HCFS URI of the script that contains SQL queries.PrestoJob.Builder
setQueryFileUriBytes(com.google.protobuf.ByteString value)
The HCFS URI of the script that contains SQL queries.PrestoJob.Builder
setQueryList(QueryList value)
A list of queries.PrestoJob.Builder
setQueryList(QueryList.Builder builderForValue)
A list of queries.PrestoJob.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
PrestoJob.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
clear
public PrestoJob.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
getDefaultInstanceForType
public PrestoJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PrestoJob build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PrestoJob buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PrestoJob.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
setField
public PrestoJob.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
clearField
public PrestoJob.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
clearOneof
public PrestoJob.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
setRepeatedField
public PrestoJob.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
addRepeatedField
public PrestoJob.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
mergeFrom
public PrestoJob.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PrestoJob.Builder>
-
mergeFrom
public PrestoJob.Builder mergeFrom(PrestoJob other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PrestoJob.Builder>
- Throws:
IOException
-
getQueriesCase
public PrestoJob.QueriesCase getQueriesCase()
- Specified by:
getQueriesCase
in 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:
hasQueryFileUri
in 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:
getQueryFileUri
in 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:
getQueryFileUriBytes
in 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:
hasQueryList
in 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:
getQueryList
in 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:
getQueryListOrBuilder
in 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:
getContinueOnFailure
in 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:
getOutputFormat
in 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:
getOutputFormatBytes
in 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:
getClientTagsList
in 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:
getClientTagsCount
in 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:
getClientTags
in 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:
getClientTagsBytes
in 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:PrestoJobOrBuilder
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:
getPropertiesCount
in 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:
containsProperties
in interfacePrestoJobOrBuilder
-
getProperties
@Deprecated public Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()
instead.- Specified by:
getProperties
in 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:
getPropertiesMap
in 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:
getPropertiesOrDefault
in 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:
getPropertiesOrThrow
in 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:
hasLoggingConfig
in 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:
getLoggingConfig
in 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:
getLoggingConfigOrBuilder
in interfacePrestoJobOrBuilder
-
setUnknownFields
public final PrestoJob.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
mergeUnknownFields
public final PrestoJob.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PrestoJob.Builder>
-
-