Class QueryContextLineageSubgraphRequest.Builder

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

public static final class QueryContextLineageSubgraphRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<QueryContextLineageSubgraphRequest.Builder> implements QueryContextLineageSubgraphRequestOrBuilder
 Request message for
 [MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph].
 
Protobuf type google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest
  • 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<QueryContextLineageSubgraphRequest.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<QueryContextLineageSubgraphRequest.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<QueryContextLineageSubgraphRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public QueryContextLineageSubgraphRequest.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<QueryContextLineageSubgraphRequest.Builder>
      Throws:
      IOException
    • getContext

      public String getContext()
       Required. The resource name of the Context whose Artifacts and Executions
       should be retrieved as a LineageSubgraph.
       Format:
       `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
      
       The request may error with FAILED_PRECONDITION if the number of Artifacts,
       the number of Executions, or the number of Events that would be returned
       for the Context exceeds 1000.
       
      string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getContext in interface QueryContextLineageSubgraphRequestOrBuilder
      Returns:
      The context.
    • getContextBytes

      public com.google.protobuf.ByteString getContextBytes()
       Required. The resource name of the Context whose Artifacts and Executions
       should be retrieved as a LineageSubgraph.
       Format:
       `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
      
       The request may error with FAILED_PRECONDITION if the number of Artifacts,
       the number of Executions, or the number of Events that would be returned
       for the Context exceeds 1000.
       
      string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getContextBytes in interface QueryContextLineageSubgraphRequestOrBuilder
      Returns:
      The bytes for context.
    • setContext

       Required. The resource name of the Context whose Artifacts and Executions
       should be retrieved as a LineageSubgraph.
       Format:
       `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
      
       The request may error with FAILED_PRECONDITION if the number of Artifacts,
       the number of Executions, or the number of Events that would be returned
       for the Context exceeds 1000.
       
      string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The context to set.
      Returns:
      This builder for chaining.
    • clearContext

       Required. The resource name of the Context whose Artifacts and Executions
       should be retrieved as a LineageSubgraph.
       Format:
       `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
      
       The request may error with FAILED_PRECONDITION if the number of Artifacts,
       the number of Executions, or the number of Events that would be returned
       for the Context exceeds 1000.
       
      string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setContextBytes

      public QueryContextLineageSubgraphRequest.Builder setContextBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Context whose Artifacts and Executions
       should be retrieved as a LineageSubgraph.
       Format:
       `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`
      
       The request may error with FAILED_PRECONDITION if the number of Artifacts,
       the number of Executions, or the number of Events that would be returned
       for the Context exceeds 1000.
       
      string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for context to set.
      Returns:
      This builder for chaining.