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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NodeInitializationAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NodeInitializationAction build()
buildPartial()
public NodeInitializationAction buildPartial()
clear()
public NodeInitializationAction.Builder clear()
Overrides
clearExecutableFile()
public NodeInitializationAction.Builder clearExecutableFile()
Required. Cloud Storage URI of executable file.
string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
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];
clearField(Descriptors.FieldDescriptor field)
public NodeInitializationAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public NodeInitializationAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public NodeInitializationAction.Builder clone()
Overrides
getDefaultInstanceForType()
public NodeInitializationAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(NodeInitializationAction other)
public NodeInitializationAction.Builder mergeFrom(NodeInitializationAction other)
public NodeInitializationAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NodeInitializationAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NodeInitializationAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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];
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public NodeInitializationAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NodeInitializationAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NodeInitializationAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides