Class NodeInitializationAction.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>
      • getDefaultInstanceForType

        public NodeInitializationAction getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public NodeInitializationAction build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public NodeInitializationAction buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public NodeInitializationAction.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 int index,
                                                                 Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>
      • addRepeatedField

        public NodeInitializationAction.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>
      • mergeFrom

        public NodeInitializationAction.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeInitializationAction.Builder>
        Throws:
        IOException
      • getExecutableFile

        public String getExecutableFile()
         Required. Cloud Storage URI of executable file.
         
        string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExecutableFile in interface NodeInitializationActionOrBuilder
        Returns:
        The executableFile.
      • getExecutableFileBytes

        public com.google.protobuf.ByteString getExecutableFileBytes()
         Required. Cloud Storage URI of executable file.
         
        string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExecutableFileBytes in interface NodeInitializationActionOrBuilder
        Returns:
        The bytes for executableFile.
      • setExecutableFile

        public NodeInitializationAction.Builder setExecutableFile​(String value)
         Required. Cloud Storage URI of executable file.
         
        string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The executableFile to set.
        Returns:
        This builder for chaining.
      • clearExecutableFile

        public NodeInitializationAction.Builder clearExecutableFile()
         Required. Cloud Storage URI of executable file.
         
        string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setExecutableFileBytes

        public NodeInitializationAction.Builder setExecutableFileBytes​(com.google.protobuf.ByteString value)
         Required. Cloud Storage URI of executable file.
         
        string executable_file = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for executableFile to set.
        Returns:
        This builder for chaining.
      • hasExecutionTimeout

        public boolean hasExecutionTimeout()
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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];
        Specified by:
        hasExecutionTimeout in interface NodeInitializationActionOrBuilder
        Returns:
        Whether the executionTimeout field is set.
      • getExecutionTimeout

        public com.google.protobuf.Duration getExecutionTimeout()
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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];
        Specified by:
        getExecutionTimeout in interface NodeInitializationActionOrBuilder
        Returns:
        The executionTimeout.
      • setExecutionTimeout

        public NodeInitializationAction.Builder setExecutionTimeout​(com.google.protobuf.Duration value)
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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

        public NodeInitializationAction.Builder setExecutionTimeout​(com.google.protobuf.Duration.Builder builderForValue)
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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];
      • mergeExecutionTimeout

        public NodeInitializationAction.Builder mergeExecutionTimeout​(com.google.protobuf.Duration value)
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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];
      • clearExecutionTimeout

        public NodeInitializationAction.Builder clearExecutionTimeout()
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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];
      • getExecutionTimeoutBuilder

        public com.google.protobuf.Duration.Builder getExecutionTimeoutBuilder()
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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 com.google.protobuf.DurationOrBuilder getExecutionTimeoutOrBuilder()
         Optional. Amount of time executable has to complete. Default is
         10 minutes (see JSON representation of
         [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json)).
        
         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];
        Specified by:
        getExecutionTimeoutOrBuilder in interface NodeInitializationActionOrBuilder
      • setUnknownFields

        public final NodeInitializationAction.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>
      • mergeUnknownFields

        public final NodeInitializationAction.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeInitializationAction.Builder>