Class StartActivityExecutionResponse.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<StartActivityExecutionResponse.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<StartActivityExecutionResponse.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public StartActivityExecutionResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.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<StartActivityExecutionResponse.Builder>
        Throws:
        java.io.IOException
      • getRunId

        public java.lang.String getRunId()
         The run ID of the activity that was started - or used (via ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING).
         
        string run_id = 1;
        Specified by:
        getRunId in interface StartActivityExecutionResponseOrBuilder
        Returns:
        The runId.
      • getRunIdBytes

        public com.google.protobuf.ByteString getRunIdBytes()
         The run ID of the activity that was started - or used (via ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING).
         
        string run_id = 1;
        Specified by:
        getRunIdBytes in interface StartActivityExecutionResponseOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public StartActivityExecutionResponse.Builder setRunId​(java.lang.String value)
         The run ID of the activity that was started - or used (via ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING).
         
        string run_id = 1;
        Parameters:
        value - The runId to set.
        Returns:
        This builder for chaining.
      • clearRunId

        public StartActivityExecutionResponse.Builder clearRunId()
         The run ID of the activity that was started - or used (via ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING).
         
        string run_id = 1;
        Returns:
        This builder for chaining.
      • setRunIdBytes

        public StartActivityExecutionResponse.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
         The run ID of the activity that was started - or used (via ACTIVITY_ID_CONFLICT_POLICY_USE_EXISTING).
         
        string run_id = 1;
        Parameters:
        value - The bytes for runId to set.
        Returns:
        This builder for chaining.
      • setStarted

        public StartActivityExecutionResponse.Builder setStarted​(boolean value)
         If true, a new activity was started.
         
        bool started = 2;
        Parameters:
        value - The started to set.
        Returns:
        This builder for chaining.