public static final class NodeInitializationAction.Builder extends GeneratedMessageV3.Builder<NodeInitializationAction.Builder> implements NodeInitializationActionOrBuilder
Specifies an executable to run on a fully configured node and a
timeout period for executable completion.
Protobuf type google.cloud.dataproc.v1.NodeInitializationAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeInitializationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NodeInitializationAction build()
Returns
buildPartial()
public NodeInitializationAction buildPartial()
Returns
clear()
public NodeInitializationAction.Builder clear()
Returns
Overrides
clearExecutableFile()
public NodeInitializationAction.Builder clearExecutableFile()
Required. Cloud Storage URI of executable file.
string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearExecutionTimeout()
public NodeInitializationAction.Builder clearExecutionTimeout()
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearField(Descriptors.FieldDescriptor field)
public NodeInitializationAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeInitializationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public NodeInitializationAction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public NodeInitializationAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExecutableFile()
public String getExecutableFile()
Required. Cloud Storage URI of executable file.
string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The executableFile.
|
getExecutableFileBytes()
public ByteString getExecutableFileBytes()
Required. Cloud Storage URI of executable file.
string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
ByteString | The bytes for executableFile.
|
getExecutionTimeout()
public Duration getExecutionTimeout()
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
Duration | The executionTimeout.
|
getExecutionTimeoutBuilder()
public Duration.Builder getExecutionTimeoutBuilder()
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getExecutionTimeoutOrBuilder()
public DurationOrBuilder getExecutionTimeoutOrBuilder()
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
hasExecutionTimeout()
public boolean hasExecutionTimeout()
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the executionTimeout field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeExecutionTimeout(Duration value)
public NodeInitializationAction.Builder mergeExecutionTimeout(Duration value)
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
mergeFrom(NodeInitializationAction other)
public NodeInitializationAction.Builder mergeFrom(NodeInitializationAction other)
Parameter
Returns
public NodeInitializationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NodeInitializationAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeInitializationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setExecutableFile(String value)
public NodeInitializationAction.Builder setExecutableFile(String value)
Required. Cloud Storage URI of executable file.
string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The executableFile to set.
|
Returns
setExecutableFileBytes(ByteString value)
public NodeInitializationAction.Builder setExecutableFileBytes(ByteString value)
Required. Cloud Storage URI of executable file.
string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for executableFile to set.
|
Returns
setExecutionTimeout(Duration value)
public NodeInitializationAction.Builder setExecutionTimeout(Duration value)
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Returns
setExecutionTimeout(Duration.Builder builderForValue)
public NodeInitializationAction.Builder setExecutionTimeout(Duration.Builder builderForValue)
Optional. Amount of time executable has to complete. Default is
10 minutes (see JSON representation of
Duration).
Cluster creation fails with an explanatory error message (the
name of the executable that caused the error and the exceeded timeout
period) if the executable is not completed at end of the timeout period.
.google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NodeInitializationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeInitializationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeInitializationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides