Class EndCrawlSessionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EndCrawlSessionRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<EndCrawlSessionRequest.Builder>
ai.pipestream.connector.intake.v1.EndCrawlSessionRequest.Builder
All Implemented Interfaces:
EndCrawlSessionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EndCrawlSessionRequest

public static final class EndCrawlSessionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<EndCrawlSessionRequest.Builder> implements EndCrawlSessionRequestOrBuilder
 Request to end an active crawl session.
 
Protobuf type ai.pipestream.connector.intake.v1.EndCrawlSessionRequest
  • 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<EndCrawlSessionRequest.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<EndCrawlSessionRequest.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<EndCrawlSessionRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public EndCrawlSessionRequest.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<EndCrawlSessionRequest.Builder>
      Throws:
      IOException
    • getSessionId

      public String getSessionId()
       Session identifier to end.
       
      string session_id = 1 [json_name = "sessionId"];
      Specified by:
      getSessionId in interface EndCrawlSessionRequestOrBuilder
      Returns:
      The sessionId.
    • getSessionIdBytes

      public com.google.protobuf.ByteString getSessionIdBytes()
       Session identifier to end.
       
      string session_id = 1 [json_name = "sessionId"];
      Specified by:
      getSessionIdBytes in interface EndCrawlSessionRequestOrBuilder
      Returns:
      The bytes for sessionId.
    • setSessionId

      public EndCrawlSessionRequest.Builder setSessionId(String value)
       Session identifier to end.
       
      string session_id = 1 [json_name = "sessionId"];
      Parameters:
      value - The sessionId to set.
      Returns:
      This builder for chaining.
    • clearSessionId

      public EndCrawlSessionRequest.Builder clearSessionId()
       Session identifier to end.
       
      string session_id = 1 [json_name = "sessionId"];
      Returns:
      This builder for chaining.
    • setSessionIdBytes

      public EndCrawlSessionRequest.Builder setSessionIdBytes(com.google.protobuf.ByteString value)
       Session identifier to end.
       
      string session_id = 1 [json_name = "sessionId"];
      Parameters:
      value - The bytes for sessionId to set.
      Returns:
      This builder for chaining.
    • getCrawlId

      public String getCrawlId()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Specified by:
      getCrawlId in interface EndCrawlSessionRequestOrBuilder
      Returns:
      The crawlId.
    • getCrawlIdBytes

      public com.google.protobuf.ByteString getCrawlIdBytes()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Specified by:
      getCrawlIdBytes in interface EndCrawlSessionRequestOrBuilder
      Returns:
      The bytes for crawlId.
    • setCrawlId

      public EndCrawlSessionRequest.Builder setCrawlId(String value)
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Parameters:
      value - The crawlId to set.
      Returns:
      This builder for chaining.
    • clearCrawlId

      public EndCrawlSessionRequest.Builder clearCrawlId()
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Returns:
      This builder for chaining.
    • setCrawlIdBytes

      public EndCrawlSessionRequest.Builder setCrawlIdBytes(com.google.protobuf.ByteString value)
       Crawl identifier.
       
      string crawl_id = 2 [json_name = "crawlId"];
      Parameters:
      value - The bytes for crawlId to set.
      Returns:
      This builder for chaining.
    • hasSummary

      public boolean hasSummary()
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
      Specified by:
      hasSummary in interface EndCrawlSessionRequestOrBuilder
      Returns:
      Whether the summary field is set.
    • getSummary

      public CrawlSummary getSummary()
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
      Specified by:
      getSummary in interface EndCrawlSessionRequestOrBuilder
      Returns:
      The summary.
    • setSummary

      public EndCrawlSessionRequest.Builder setSummary(CrawlSummary value)
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
    • setSummary

      public EndCrawlSessionRequest.Builder setSummary(CrawlSummary.Builder builderForValue)
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
    • mergeSummary

      public EndCrawlSessionRequest.Builder mergeSummary(CrawlSummary value)
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
    • clearSummary

      public EndCrawlSessionRequest.Builder clearSummary()
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
    • getSummaryBuilder

      public CrawlSummary.Builder getSummaryBuilder()
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
    • getSummaryOrBuilder

      public CrawlSummaryOrBuilder getSummaryOrBuilder()
       Summary statistics for the completed crawl.
       
      .ai.pipestream.connector.intake.v1.CrawlSummary summary = 3 [json_name = "summary"];
      Specified by:
      getSummaryOrBuilder in interface EndCrawlSessionRequestOrBuilder