Class UnexpectedExitStatusEvent.Builder

  • All Implemented Interfaces:
    UnexpectedExitStatusEventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UnexpectedExitStatusEvent

    public static final class UnexpectedExitStatusEvent.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UnexpectedExitStatusEvent.Builder>
    implements UnexpectedExitStatusEventOrBuilder
     An event generated when the execution of a container results in a
     non-zero exit status that was not otherwise ignored. Execution will
     continue, but only actions that are flagged as `ALWAYS_RUN` will be
     executed. Other actions will be skipped.
     
    Protobuf type google.cloud.lifesciences.v2beta.UnexpectedExitStatusEvent
    • 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<UnexpectedExitStatusEvent.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<UnexpectedExitStatusEvent.Builder>
      • getDefaultInstanceForType

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

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

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

        public UnexpectedExitStatusEvent.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<UnexpectedExitStatusEvent.Builder>
      • isInitialized

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

        public UnexpectedExitStatusEvent.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<UnexpectedExitStatusEvent.Builder>
        Throws:
        IOException
      • setActionId

        public UnexpectedExitStatusEvent.Builder setActionId​(int value)
         The numeric ID of the action that started the container.
         
        int32 action_id = 1;
        Parameters:
        value - The actionId to set.
        Returns:
        This builder for chaining.
      • clearActionId

        public UnexpectedExitStatusEvent.Builder clearActionId()
         The numeric ID of the action that started the container.
         
        int32 action_id = 1;
        Returns:
        This builder for chaining.
      • setExitStatus

        public UnexpectedExitStatusEvent.Builder setExitStatus​(int value)
         The exit status of the container.
         
        int32 exit_status = 2;
        Parameters:
        value - The exitStatus to set.
        Returns:
        This builder for chaining.
      • clearExitStatus

        public UnexpectedExitStatusEvent.Builder clearExitStatus()
         The exit status of the container.
         
        int32 exit_status = 2;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final UnexpectedExitStatusEvent.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<UnexpectedExitStatusEvent.Builder>
      • mergeUnknownFields

        public final UnexpectedExitStatusEvent.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<UnexpectedExitStatusEvent.Builder>