接口 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 containsInitialResourceVersions​(java.lang.String key)
      When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
      java.lang.String getCollection()
      Type of resource collection that is being requested, e.g.
      com.google.protobuf.ByteString getCollectionBytes()
      Type of resource collection that is being requested, e.g.
      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.
      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.
      boolean getIncremental()
      Request an incremental update for the specified collection.
      java.util.Map<java.lang.String,​java.lang.String> getInitialResourceVersions()
      已过时。
      int getInitialResourceVersionsCount()
      When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
      java.util.Map<java.lang.String,​java.lang.String> getInitialResourceVersionsMap()
      When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
      java.lang.String getInitialResourceVersionsOrDefault​(java.lang.String key, java.lang.String defaultValue)
      When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
      java.lang.String getInitialResourceVersionsOrThrow​(java.lang.String key)
      When the RequestResources is the first in a stream, the initial_resource_versions must be populated.
      java.lang.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.
      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.
      Mcp.SinkNode getSinkNode()
      The sink node making the request.
      Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
      The sink node making the request.
      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.
      boolean hasSinkNode()
      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

        java.lang.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​(java.lang.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
        java.util.Map<java.lang.String,​java.lang.String> getInitialResourceVersions()
        已过时。
      • getInitialResourceVersionsMap

        java.util.Map<java.lang.String,​java.lang.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

        java.lang.String getInitialResourceVersionsOrDefault​(java.lang.String key,
                                                             java.lang.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

        java.lang.String getInitialResourceVersionsOrThrow​(java.lang.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

        java.lang.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.