public static interface Mcp.ResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
boolean |
getIncremental()
This resource response is an incremental update.
|
String |
getNonce()
Required.
|
com.google.protobuf.ByteString |
getNonceBytes()
Required.
|
String |
getRemovedResources(int index)
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
com.google.protobuf.ByteString |
getRemovedResourcesBytes(int index)
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
int |
getRemovedResourcesCount()
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
List<String> |
getRemovedResourcesList()
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
ResourceOuterClass.Resource |
getResources(int index)
The response resources wrapped in the common MCP *Resource* message.
|
int |
getResourcesCount()
The response resources wrapped in the common MCP *Resource* message.
|
List<ResourceOuterClass.Resource> |
getResourcesList()
The response resources wrapped in the common MCP *Resource* message.
|
ResourceOuterClass.ResourceOrBuilder |
getResourcesOrBuilder(int index)
The response resources wrapped in the common MCP *Resource* message.
|
List<? extends ResourceOuterClass.ResourceOrBuilder> |
getResourcesOrBuilderList()
The response resources wrapped in the common MCP *Resource* message.
|
String |
getSystemVersionInfo()
The version of the response data (used for debugging).
|
com.google.protobuf.ByteString |
getSystemVersionInfoBytes()
The version of the response data (used for debugging).
|
String getSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;com.google.protobuf.ByteString getSystemVersionInfoBytes()
The version of the response data (used for debugging).
string system_version_info = 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;List<ResourceOuterClass.Resource> getResourcesList()
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the RequestResources message. When `incremental` is true, this contains an array of resources to add/update for the specified collection. This modifies the existing collection at the sink When `incremental` is false, this contains the full set of resources for the specified collection. This replaces any previously delivered resources.
repeated .istio.mcp.v1alpha1.Resource resources = 3 [(.gogoproto.nullable) = false];ResourceOuterClass.Resource getResources(int index)
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the RequestResources message. When `incremental` is true, this contains an array of resources to add/update for the specified collection. This modifies the existing collection at the sink When `incremental` is false, this contains the full set of resources for the specified collection. This replaces any previously delivered resources.
repeated .istio.mcp.v1alpha1.Resource resources = 3 [(.gogoproto.nullable) = false];int getResourcesCount()
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the RequestResources message. When `incremental` is true, this contains an array of resources to add/update for the specified collection. This modifies the existing collection at the sink When `incremental` is false, this contains the full set of resources for the specified collection. This replaces any previously delivered resources.
repeated .istio.mcp.v1alpha1.Resource resources = 3 [(.gogoproto.nullable) = false];List<? extends ResourceOuterClass.ResourceOrBuilder> getResourcesOrBuilderList()
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the RequestResources message. When `incremental` is true, this contains an array of resources to add/update for the specified collection. This modifies the existing collection at the sink When `incremental` is false, this contains the full set of resources for the specified collection. This replaces any previously delivered resources.
repeated .istio.mcp.v1alpha1.Resource resources = 3 [(.gogoproto.nullable) = false];ResourceOuterClass.ResourceOrBuilder getResourcesOrBuilder(int index)
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the RequestResources message. When `incremental` is true, this contains an array of resources to add/update for the specified collection. This modifies the existing collection at the sink When `incremental` is false, this contains the full set of resources for the specified collection. This replaces any previously delivered resources.
repeated .istio.mcp.v1alpha1.Resource resources = 3 [(.gogoproto.nullable) = false];List<String> getRemovedResourcesList()
Names of resources that have been deleted and to be removed from the MCP sink node. Removed resources for missing resources can be ignored. When `incremental` is true, this contains an array of resource names to remove for the specified collection. This modifies the existing resource collection at the sink. When `incremental` is false, this field should be ignored.
repeated string removed_resources = 4;int getRemovedResourcesCount()
Names of resources that have been deleted and to be removed from the MCP sink node. Removed resources for missing resources can be ignored. When `incremental` is true, this contains an array of resource names to remove for the specified collection. This modifies the existing resource collection at the sink. When `incremental` is false, this field should be ignored.
repeated string removed_resources = 4;String getRemovedResources(int index)
Names of resources that have been deleted and to be removed from the MCP sink node. Removed resources for missing resources can be ignored. When `incremental` is true, this contains an array of resource names to remove for the specified collection. This modifies the existing resource collection at the sink. When `incremental` is false, this field should be ignored.
repeated string removed_resources = 4;index - The index of the element to return.com.google.protobuf.ByteString getRemovedResourcesBytes(int index)
Names of resources that have been deleted and to be removed from the MCP sink node. Removed resources for missing resources can be ignored. When `incremental` is true, this contains an array of resource names to remove for the specified collection. This modifies the existing resource collection at the sink. When `incremental` is false, this field should be ignored.
repeated string removed_resources = 4;index - The index of the value to return.String getNonce()
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;com.google.protobuf.ByteString getNonceBytes()
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;boolean getIncremental()
This resource response is an incremental update. The source should only send incremental updates if the sink requested them.
bool incremental = 6;Copyright © 2018–2023 Alibaba Group. All rights reserved.