Class RetrohuntMetadata.Builder

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

public static final class RetrohuntMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<RetrohuntMetadata.Builder> implements RetrohuntMetadataOrBuilder
 Operation Metadata for Retrohunts.
 
Protobuf type google.cloud.chronicle.v1.RetrohuntMetadata
  • 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<RetrohuntMetadata.Builder>
    • clear

      public RetrohuntMetadata.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<RetrohuntMetadata.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<RetrohuntMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

      public RetrohuntMetadata.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<RetrohuntMetadata.Builder>
    • mergeFrom

      public RetrohuntMetadata.Builder mergeFrom(RetrohuntMetadata other)
    • isInitialized

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

      public RetrohuntMetadata.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<RetrohuntMetadata.Builder>
      Throws:
      IOException
    • getRetrohunt

      public String getRetrohunt()
       The name of the retrohunt.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
       
      string retrohunt = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRetrohunt in interface RetrohuntMetadataOrBuilder
      Returns:
      The retrohunt.
    • getRetrohuntBytes

      public com.google.protobuf.ByteString getRetrohuntBytes()
       The name of the retrohunt.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
       
      string retrohunt = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getRetrohuntBytes in interface RetrohuntMetadataOrBuilder
      Returns:
      The bytes for retrohunt.
    • setRetrohunt

      public RetrohuntMetadata.Builder setRetrohunt(String value)
       The name of the retrohunt.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
       
      string retrohunt = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The retrohunt to set.
      Returns:
      This builder for chaining.
    • clearRetrohunt

      public RetrohuntMetadata.Builder clearRetrohunt()
       The name of the retrohunt.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
       
      string retrohunt = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setRetrohuntBytes

      public RetrohuntMetadata.Builder setRetrohuntBytes(com.google.protobuf.ByteString value)
       The name of the retrohunt.
       Format:
       `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`
       
      string retrohunt = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for retrohunt to set.
      Returns:
      This builder for chaining.
    • hasExecutionInterval

      public boolean hasExecutionInterval()
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
      Specified by:
      hasExecutionInterval in interface RetrohuntMetadataOrBuilder
      Returns:
      Whether the executionInterval field is set.
    • getExecutionInterval

      public Interval getExecutionInterval()
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
      Specified by:
      getExecutionInterval in interface RetrohuntMetadataOrBuilder
      Returns:
      The executionInterval.
    • setExecutionInterval

      public RetrohuntMetadata.Builder setExecutionInterval(Interval value)
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
    • setExecutionInterval

      public RetrohuntMetadata.Builder setExecutionInterval(Interval.Builder builderForValue)
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
    • mergeExecutionInterval

      public RetrohuntMetadata.Builder mergeExecutionInterval(Interval value)
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
    • clearExecutionInterval

      public RetrohuntMetadata.Builder clearExecutionInterval()
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
    • getExecutionIntervalBuilder

      public Interval.Builder getExecutionIntervalBuilder()
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
    • getExecutionIntervalOrBuilder

      public IntervalOrBuilder getExecutionIntervalOrBuilder()
       The start and end time of the retrohunt execution. If the retrohunt is not
       yet finished, the end time of the interval will not be filled.
       
      .google.type.Interval execution_interval = 2;
      Specified by:
      getExecutionIntervalOrBuilder in interface RetrohuntMetadataOrBuilder
    • getProgressPercentage

      public float getProgressPercentage()
       Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
       
      float progress_percentage = 3;
      Specified by:
      getProgressPercentage in interface RetrohuntMetadataOrBuilder
      Returns:
      The progressPercentage.
    • setProgressPercentage

      public RetrohuntMetadata.Builder setProgressPercentage(float value)
       Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
       
      float progress_percentage = 3;
      Parameters:
      value - The progressPercentage to set.
      Returns:
      This builder for chaining.
    • clearProgressPercentage

      public RetrohuntMetadata.Builder clearProgressPercentage()
       Percent progress of the retrohunt towards completion, from 0.00 to 100.00.
       
      float progress_percentage = 3;
      Returns:
      This builder for chaining.