Class QueryContextLineageSubgraphRequest.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<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.GeneratedMessageV3.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

        public QueryContextLineageSubgraphRequest 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QueryContextLineageSubgraphRequest.Builder>
      • 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

        public QueryContextLineageSubgraphRequest.Builder setContext​(String 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 context to set.
        Returns:
        This builder for chaining.
      • clearContext

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