接口 Mcp.RequestResourcesOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
Mcp.RequestResources, Mcp.RequestResources.Builder
封闭类:
Mcp

public static interface Mcp.RequestResourcesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
    Type of resource collection that is being requested, e.g.
    com.google.protobuf.ByteString
    Type of resource collection that is being requested, e.g.
    com.google.rpc.Status
    This is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.
    com.google.rpc.StatusOrBuilder
    This is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.
    boolean
    Request an incremental update for the specified collection.
    已过时。
    int
    When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
    When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
    When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
    When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
    When the RequestResources is an ACK or NACK message in response to a previous RequestResources, the response_nonce must be the nonce in the RequestResources.
    com.google.protobuf.ByteString
    When the RequestResources is an ACK or NACK message in response to a previous RequestResources, the response_nonce must be the nonce in the RequestResources.
    The sink node making the request.
    The sink node making the request.
    boolean
    This is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.
    boolean
    The sink node making the request.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • hasSinkNode

      boolean hasSinkNode()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 1;
      返回:
      Whether the sinkNode field is set.
    • getSinkNode

      Mcp.SinkNode getSinkNode()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 1;
      返回:
      The sinkNode.
    • getSinkNodeOrBuilder

      Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 1;
    • getCollection

      String getCollection()
       Type of resource collection that is being requested, e.g.
      
       istio/networking/v1alpha3/VirtualService
       k8s/<apiVersion>/<kind>
       
      string collection = 2;
      返回:
      The collection.
    • getCollectionBytes

      com.google.protobuf.ByteString getCollectionBytes()
       Type of resource collection that is being requested, e.g.
      
       istio/networking/v1alpha3/VirtualService
       k8s/<apiVersion>/<kind>
       
      string collection = 2;
      返回:
      The bytes for collection.
    • getInitialResourceVersionsCount

      int getInitialResourceVersionsCount()
       When the RequestResources is the first in a stream, the initial_resource_versions must
       be populated. Otherwise, initial_resource_versions must be omitted. The keys are the
       resources names of the MCP resources known to the MCP client. The values in the map
       are the associated resource level version info.
       
      map<string, string> initial_resource_versions = 3;
    • containsInitialResourceVersions

      boolean containsInitialResourceVersions(String key)
       When the RequestResources is the first in a stream, the initial_resource_versions must
       be populated. Otherwise, initial_resource_versions must be omitted. The keys are the
       resources names of the MCP resources known to the MCP client. The values in the map
       are the associated resource level version info.
       
      map<string, string> initial_resource_versions = 3;
    • getInitialResourceVersions

      @Deprecated Map<String,String> getInitialResourceVersions()
      已过时。
    • getInitialResourceVersionsMap

      Map<String,String> getInitialResourceVersionsMap()
       When the RequestResources is the first in a stream, the initial_resource_versions must
       be populated. Otherwise, initial_resource_versions must be omitted. The keys are the
       resources names of the MCP resources known to the MCP client. The values in the map
       are the associated resource level version info.
       
      map<string, string> initial_resource_versions = 3;
    • getInitialResourceVersionsOrDefault

      String getInitialResourceVersionsOrDefault(String key, String defaultValue)
       When the RequestResources is the first in a stream, the initial_resource_versions must
       be populated. Otherwise, initial_resource_versions must be omitted. The keys are the
       resources names of the MCP resources known to the MCP client. The values in the map
       are the associated resource level version info.
       
      map<string, string> initial_resource_versions = 3;
    • getInitialResourceVersionsOrThrow

      String getInitialResourceVersionsOrThrow(String key)
       When the RequestResources is the first in a stream, the initial_resource_versions must
       be populated. Otherwise, initial_resource_versions must be omitted. The keys are the
       resources names of the MCP resources known to the MCP client. The values in the map
       are the associated resource level version info.
       
      map<string, string> initial_resource_versions = 3;
    • getResponseNonce

      String getResponseNonce()
       When the RequestResources is an ACK or NACK message in response to a previous RequestResources,
       the response_nonce must be the nonce in the RequestResources. Otherwise response_nonce must
       be omitted.
       
      string response_nonce = 4;
      返回:
      The responseNonce.
    • getResponseNonceBytes

      com.google.protobuf.ByteString getResponseNonceBytes()
       When the RequestResources is an ACK or NACK message in response to a previous RequestResources,
       the response_nonce must be the nonce in the RequestResources. Otherwise response_nonce must
       be omitted.
       
      string response_nonce = 4;
      返回:
      The bytes for responseNonce.
    • hasErrorDetail

      boolean hasErrorDetail()
       This is populated when the previously received resources could not be applied
       The *message* field in *error_details* provides the source internal error
       related to the failure.
       
      .google.rpc.Status error_detail = 5;
      返回:
      Whether the errorDetail field is set.
    • getErrorDetail

      com.google.rpc.Status getErrorDetail()
       This is populated when the previously received resources could not be applied
       The *message* field in *error_details* provides the source internal error
       related to the failure.
       
      .google.rpc.Status error_detail = 5;
      返回:
      The errorDetail.
    • getErrorDetailOrBuilder

      com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder()
       This is populated when the previously received resources could not be applied
       The *message* field in *error_details* provides the source internal error
       related to the failure.
       
      .google.rpc.Status error_detail = 5;
    • getIncremental

      boolean getIncremental()
       Request an incremental update for the specified collection. The source may choose to
       honor this request or ignore and and provide a full-state update in the corresponding
       `Resource` response.
       
      bool incremental = 6;
      返回:
      The incremental.