public static interface Mcp.RequestResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsInitialResourceVersions(String key)
When the RequestResources is the first in a stream, the initial_resource_versions must
be populated.
|
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.
|
Map<String,String> |
getInitialResourceVersions()
已过时。
|
int |
getInitialResourceVersionsCount()
When the RequestResources is the first in a stream, the initial_resource_versions must
be populated.
|
Map<String,String> |
getInitialResourceVersionsMap()
When the RequestResources is the first in a stream, the initial_resource_versions must
be populated.
|
String |
getInitialResourceVersionsOrDefault(String key,
String defaultValue)
When the RequestResources is the first in a stream, the initial_resource_versions must
be populated.
|
String |
getInitialResourceVersionsOrThrow(String key)
When the RequestResources is the first in a stream, the initial_resource_versions must
be populated.
|
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.
|
boolean hasSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;Mcp.SinkNode getSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;String getCollection()
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;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;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;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;@Deprecated Map<String,String> getInitialResourceVersions()
getInitialResourceVersionsMap() instead.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;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;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;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;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;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;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;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;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;Copyright © 2018–2023 Alibaba Group. All rights reserved.