Class Curation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Curation.Builder>
com.google.cloud.apihub.v1.Curation.Builder
All Implemented Interfaces:
CurationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Curation

public static final class Curation.Builder extends com.google.protobuf.GeneratedMessage.Builder<Curation.Builder> implements CurationOrBuilder
 A curation resource in the API Hub.
 
Protobuf type google.cloud.apihub.v1.Curation
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Curation.Builder>
    • clear

      public Curation.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Curation.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.GeneratedMessage.Builder<Curation.Builder>
    • getDefaultInstanceForType

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

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

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

      public Curation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Curation.Builder>
    • mergeFrom

      public Curation.Builder mergeFrom(Curation other)
    • isInitialized

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

      public Curation.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<Curation.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the curation.
      
       Format:
       `projects/{project}/locations/{location}/curations/{curation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface CurationOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the curation.
      
       Format:
       `projects/{project}/locations/{location}/curations/{curation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface CurationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Curation.Builder setName(String value)
       Identifier. The name of the curation.
      
       Format:
       `projects/{project}/locations/{location}/curations/{curation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Curation.Builder clearName()
       Identifier. The name of the curation.
      
       Format:
       `projects/{project}/locations/{location}/curations/{curation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Curation.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the curation.
      
       Format:
       `projects/{project}/locations/{location}/curations/{curation}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Required. The display name of the curation.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayName in interface CurationOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of the curation.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface CurationOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Curation.Builder setDisplayName(String value)
       Required. The display name of the curation.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Curation.Builder clearDisplayName()
       Required. The display name of the curation.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Curation.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Required. The display name of the curation.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. The description of the curation.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface CurationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. The description of the curation.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface CurationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Curation.Builder setDescription(String value)
       Optional. The description of the curation.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Curation.Builder clearDescription()
       Optional. The description of the curation.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Curation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. The description of the curation.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasEndpoint

      public boolean hasEndpoint()
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEndpoint in interface CurationOrBuilder
      Returns:
      Whether the endpoint field is set.
    • getEndpoint

      public Endpoint getEndpoint()
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpoint in interface CurationOrBuilder
      Returns:
      The endpoint.
    • setEndpoint

      public Curation.Builder setEndpoint(Endpoint value)
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
    • setEndpoint

      public Curation.Builder setEndpoint(Endpoint.Builder builderForValue)
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
    • mergeEndpoint

      public Curation.Builder mergeEndpoint(Endpoint value)
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
    • clearEndpoint

      public Curation.Builder clearEndpoint()
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
    • getEndpointBuilder

      public Endpoint.Builder getEndpointBuilder()
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
    • getEndpointOrBuilder

      public EndpointOrBuilder getEndpointOrBuilder()
       Required. The endpoint to be triggered for curation.
       
      .google.cloud.apihub.v1.Endpoint endpoint = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEndpointOrBuilder in interface CurationOrBuilder
    • getPluginInstanceActionsList

      public List<Curation.PluginInstanceActionID> getPluginInstanceActionsList()
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginInstanceActionsList in interface CurationOrBuilder
    • getPluginInstanceActionsCount

      public int getPluginInstanceActionsCount()
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginInstanceActionsCount in interface CurationOrBuilder
    • getPluginInstanceActions

      public Curation.PluginInstanceActionID getPluginInstanceActions(int index)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginInstanceActions in interface CurationOrBuilder
    • setPluginInstanceActions

      public Curation.Builder setPluginInstanceActions(int index, Curation.PluginInstanceActionID value)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPluginInstanceActions

      public Curation.Builder setPluginInstanceActions(int index, Curation.PluginInstanceActionID.Builder builderForValue)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPluginInstanceActions

      public Curation.Builder addPluginInstanceActions(Curation.PluginInstanceActionID value)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPluginInstanceActions

      public Curation.Builder addPluginInstanceActions(int index, Curation.PluginInstanceActionID value)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPluginInstanceActions

      public Curation.Builder addPluginInstanceActions(Curation.PluginInstanceActionID.Builder builderForValue)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPluginInstanceActions

      public Curation.Builder addPluginInstanceActions(int index, Curation.PluginInstanceActionID.Builder builderForValue)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPluginInstanceActions

      public Curation.Builder addAllPluginInstanceActions(Iterable<? extends Curation.PluginInstanceActionID> values)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPluginInstanceActions

      public Curation.Builder clearPluginInstanceActions()
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePluginInstanceActions

      public Curation.Builder removePluginInstanceActions(int index)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPluginInstanceActionsBuilder

      public Curation.PluginInstanceActionID.Builder getPluginInstanceActionsBuilder(int index)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPluginInstanceActionsOrBuilder

      public Curation.PluginInstanceActionIDOrBuilder getPluginInstanceActionsOrBuilder(int index)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginInstanceActionsOrBuilder in interface CurationOrBuilder
    • getPluginInstanceActionsOrBuilderList

      public List<? extends Curation.PluginInstanceActionIDOrBuilder> getPluginInstanceActionsOrBuilderList()
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPluginInstanceActionsOrBuilderList in interface CurationOrBuilder
    • addPluginInstanceActionsBuilder

      public Curation.PluginInstanceActionID.Builder addPluginInstanceActionsBuilder()
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPluginInstanceActionsBuilder

      public Curation.PluginInstanceActionID.Builder addPluginInstanceActionsBuilder(int index)
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPluginInstanceActionsBuilderList

      public List<Curation.PluginInstanceActionID.Builder> getPluginInstanceActionsBuilderList()
       Output only. The plugin instances and associated actions that are using the
       curation. Note: A particular curation could be used by multiple plugin
       instances or multiple actions in a plugin instance.
       
      repeated .google.cloud.apihub.v1.Curation.PluginInstanceActionID plugin_instance_actions = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLastExecutionStateValue

      public int getLastExecutionStateValue()
       Output only. The last execution state of the curation.
       
      .google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionStateValue in interface CurationOrBuilder
      Returns:
      The enum numeric value on the wire for lastExecutionState.
    • setLastExecutionStateValue

      public Curation.Builder setLastExecutionStateValue(int value)
       Output only. The last execution state of the curation.
       
      .google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for lastExecutionState to set.
      Returns:
      This builder for chaining.
    • getLastExecutionState

      public Curation.LastExecutionState getLastExecutionState()
       Output only. The last execution state of the curation.
       
      .google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionState in interface CurationOrBuilder
      Returns:
      The lastExecutionState.
    • setLastExecutionState

      public Curation.Builder setLastExecutionState(Curation.LastExecutionState value)
       Output only. The last execution state of the curation.
       
      .google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lastExecutionState to set.
      Returns:
      This builder for chaining.
    • clearLastExecutionState

      public Curation.Builder clearLastExecutionState()
       Output only. The last execution state of the curation.
       
      .google.cloud.apihub.v1.Curation.LastExecutionState last_execution_state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getLastExecutionErrorCodeValue

      public int getLastExecutionErrorCodeValue()
       Output only. The error code of the last execution of the curation. The
       error code is populated only when the last execution state is failed.
       
      .google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionErrorCodeValue in interface CurationOrBuilder
      Returns:
      The enum numeric value on the wire for lastExecutionErrorCode.
    • setLastExecutionErrorCodeValue

      public Curation.Builder setLastExecutionErrorCodeValue(int value)
       Output only. The error code of the last execution of the curation. The
       error code is populated only when the last execution state is failed.
       
      .google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for lastExecutionErrorCode to set.
      Returns:
      This builder for chaining.
    • getLastExecutionErrorCode

      public Curation.ErrorCode getLastExecutionErrorCode()
       Output only. The error code of the last execution of the curation. The
       error code is populated only when the last execution state is failed.
       
      .google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionErrorCode in interface CurationOrBuilder
      Returns:
      The lastExecutionErrorCode.
    • setLastExecutionErrorCode

      public Curation.Builder setLastExecutionErrorCode(Curation.ErrorCode value)
       Output only. The error code of the last execution of the curation. The
       error code is populated only when the last execution state is failed.
       
      .google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lastExecutionErrorCode to set.
      Returns:
      This builder for chaining.
    • clearLastExecutionErrorCode

      public Curation.Builder clearLastExecutionErrorCode()
       Output only. The error code of the last execution of the curation. The
       error code is populated only when the last execution state is failed.
       
      .google.cloud.apihub.v1.Curation.ErrorCode last_execution_error_code = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getLastExecutionErrorMessage

      public String getLastExecutionErrorMessage()
       Output only. Error message describing the failure, if any, during the last
       execution of the curation.
       
      string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionErrorMessage in interface CurationOrBuilder
      Returns:
      The lastExecutionErrorMessage.
    • getLastExecutionErrorMessageBytes

      public com.google.protobuf.ByteString getLastExecutionErrorMessageBytes()
       Output only. Error message describing the failure, if any, during the last
       execution of the curation.
       
      string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLastExecutionErrorMessageBytes in interface CurationOrBuilder
      Returns:
      The bytes for lastExecutionErrorMessage.
    • setLastExecutionErrorMessage

      public Curation.Builder setLastExecutionErrorMessage(String value)
       Output only. Error message describing the failure, if any, during the last
       execution of the curation.
       
      string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lastExecutionErrorMessage to set.
      Returns:
      This builder for chaining.
    • clearLastExecutionErrorMessage

      public Curation.Builder clearLastExecutionErrorMessage()
       Output only. Error message describing the failure, if any, during the last
       execution of the curation.
       
      string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLastExecutionErrorMessageBytes

      public Curation.Builder setLastExecutionErrorMessageBytes(com.google.protobuf.ByteString value)
       Output only. Error message describing the failure, if any, during the last
       execution of the curation.
       
      string last_execution_error_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for lastExecutionErrorMessage to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface CurationOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface CurationOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Curation.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Curation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Curation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Curation.Builder clearCreateTime()
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the curation was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface CurationOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface CurationOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface CurationOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Curation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Curation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Curation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Curation.Builder clearUpdateTime()
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time at which the curation was last updated.
       
      .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface CurationOrBuilder