类 Mcp.Resources.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Mcp.Resources.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
istio.mcp.v1alpha1.Mcp.Resources.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.ResourcesOrBuilder,Cloneable
- 封闭类:
Mcp.Resources
public static final class Mcp.Resources.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
implements Mcp.ResourcesOrBuilder
Resources do not need to include a full snapshot of the tracked resources. Instead they are a diff to the state of a MCP client. Per resource versions allow sources and sinks to track state at the resource granularity. An MCP incremental session is always in the context of a gRPC bidirectional stream. This allows the MCP source to keep track of the state of MCP sink connected to it. In Incremental MCP the nonce field is required and used to pair Resources to an RequestResources ACK or NACK.Protobuf type
istio.mcp.v1alpha1.Resources-
方法概要
修饰符和类型方法说明addAllRemovedResources(Iterable<String> values) Names of resources that have been deleted and to be removed from the MCP sink node.addAllResources(Iterable<? extends ResourceOuterClass.Resource> values) The response resources wrapped in the common MCP *Resource* message.addRemovedResources(String value) Names of resources that have been deleted and to be removed from the MCP sink node.addRemovedResourcesBytes(com.google.protobuf.ByteString value) Names of resources that have been deleted and to be removed from the MCP sink node.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResources(int index, ResourceOuterClass.Resource value) The response resources wrapped in the common MCP *Resource* message.addResources(int index, ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.addResources(ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.addResourcesBuilder(int index) The response resources wrapped in the common MCP *Resource* message.build()clear()Type of resource collection that is being requested, e.g.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) This resource response is an incremental update.Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Names of resources that have been deleted and to be removed from the MCP sink node.The response resources wrapped in the common MCP *Resource* message.The version of the response data (used for debugging).clone()Type of resource collection that is being requested, e.g.com.google.protobuf.ByteStringType of resource collection that is being requested, e.g.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThis resource response is an incremental update.getNonce()Required.com.google.protobuf.ByteStringRequired.getRemovedResources(int index) Names of resources that have been deleted and to be removed from the MCP sink node.com.google.protobuf.ByteStringgetRemovedResourcesBytes(int index) Names of resources that have been deleted and to be removed from the MCP sink node.intNames of resources that have been deleted and to be removed from the MCP sink node.com.google.protobuf.ProtocolStringListNames of resources that have been deleted and to be removed from the MCP sink node.getResources(int index) The response resources wrapped in the common MCP *Resource* message.getResourcesBuilder(int index) The response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.intThe response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.getResourcesOrBuilder(int index) The response resources wrapped in the common MCP *Resource* message.List<? extends ResourceOuterClass.ResourceOrBuilder> The response resources wrapped in the common MCP *Resource* message.The version of the response data (used for debugging).com.google.protobuf.ByteStringThe version of the response data (used for debugging).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Mcp.Resources other) final Mcp.Resources.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeResources(int index) The response resources wrapped in the common MCP *Resource* message.setCollection(String value) Type of resource collection that is being requested, e.g.setCollectionBytes(com.google.protobuf.ByteString value) Type of resource collection that is being requested, e.g.setIncremental(boolean value) This resource response is an incremental update.Required.setNonceBytes(com.google.protobuf.ByteString value) Required.setRemovedResources(int index, String value) Names of resources that have been deleted and to be removed from the MCP sink node.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResources(int index, ResourceOuterClass.Resource value) The response resources wrapped in the common MCP *Resource* message.setResources(int index, ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.setSystemVersionInfo(String value) The version of the response data (used for debugging).setSystemVersionInfoBytes(com.google.protobuf.ByteString value) The version of the response data (used for debugging).final Mcp.Resources.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
setField
public Mcp.Resources.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
clearField
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
clearOneof
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
setRepeatedField
public Mcp.Resources.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
addRepeatedField
public Mcp.Resources.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Mcp.Resources.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
mergeFrom
public Mcp.Resources.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Mcp.Resources.Builder>- 抛出:
IOException
-
getSystemVersionInfo
The version of the response data (used for debugging).
string system_version_info = 1;- 指定者:
getSystemVersionInfo在接口中Mcp.ResourcesOrBuilder- 返回:
- The systemVersionInfo.
-
getSystemVersionInfoBytes
public com.google.protobuf.ByteString getSystemVersionInfoBytes()The version of the response data (used for debugging).
string system_version_info = 1;- 指定者:
getSystemVersionInfoBytes在接口中Mcp.ResourcesOrBuilder- 返回:
- The bytes for systemVersionInfo.
-
setSystemVersionInfo
The version of the response data (used for debugging).
string system_version_info = 1;- 参数:
value- The systemVersionInfo to set.- 返回:
- This builder for chaining.
-
clearSystemVersionInfo
The version of the response data (used for debugging).
string system_version_info = 1;- 返回:
- This builder for chaining.
-
setSystemVersionInfoBytes
The version of the response data (used for debugging).
string system_version_info = 1;- 参数:
value- The bytes for systemVersionInfo to set.- 返回:
- This builder for chaining.
-
getCollection
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;- 指定者:
getCollection在接口中Mcp.ResourcesOrBuilder- 返回:
- The collection.
-
getCollectionBytes
public 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;- 指定者:
getCollectionBytes在接口中Mcp.ResourcesOrBuilder- 返回:
- The bytes for collection.
-
setCollection
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;- 参数:
value- The collection to set.- 返回:
- This builder for chaining.
-
clearCollection
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;- 返回:
- This builder for chaining.
-
setCollectionBytes
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;- 参数:
value- The bytes for collection to set.- 返回:
- This builder for chaining.
-
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];- 指定者:
getResourcesList在接口中Mcp.ResourcesOrBuilder
-
getResourcesCount
public 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];- 指定者:
getResourcesCount在接口中Mcp.ResourcesOrBuilder
-
getResources
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];- 指定者:
getResources在接口中Mcp.ResourcesOrBuilder
-
setResources
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]; -
setResources
public Mcp.Resources.Builder setResources(int index, ResourceOuterClass.Resource.Builder builderForValue) 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]; -
addResources
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]; -
addResources
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]; -
addResources
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]; -
addResources
public Mcp.Resources.Builder addResources(int index, ResourceOuterClass.Resource.Builder builderForValue) 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]; -
addAllResources
public Mcp.Resources.Builder addAllResources(Iterable<? extends ResourceOuterClass.Resource> values) 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]; -
clearResources
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]; -
removeResources
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]; -
getResourcesBuilder
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]; -
getResourcesOrBuilder
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];- 指定者:
getResourcesOrBuilder在接口中Mcp.ResourcesOrBuilder
-
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]; -
addResourcesBuilder
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]; -
addResourcesBuilder
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]; -
getResourcesBuilderList
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]; -
getRemovedResourcesList
public com.google.protobuf.ProtocolStringList 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;- 指定者:
getRemovedResourcesList在接口中Mcp.ResourcesOrBuilder- 返回:
- A list containing the removedResources.
-
getRemovedResourcesCount
public 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;- 指定者:
getRemovedResourcesCount在接口中Mcp.ResourcesOrBuilder- 返回:
- The count of removedResources.
-
getRemovedResources
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;- 指定者:
getRemovedResources在接口中Mcp.ResourcesOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The removedResources at the given index.
-
getRemovedResourcesBytes
public 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;- 指定者:
getRemovedResourcesBytes在接口中Mcp.ResourcesOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the removedResources at the given index.
-
setRemovedResources
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 to set the value at.value- The removedResources to set.- 返回:
- This builder for chaining.
-
addRemovedResources
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;- 参数:
value- The removedResources to add.- 返回:
- This builder for chaining.
-
addAllRemovedResources
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;- 参数:
values- The removedResources to add.- 返回:
- This builder for chaining.
-
clearRemovedResources
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;- 返回:
- This builder for chaining.
-
addRemovedResourcesBytes
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;- 参数:
value- The bytes of the removedResources to add.- 返回:
- This builder for chaining.
-
getNonce
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;- 指定者:
getNonce在接口中Mcp.ResourcesOrBuilder- 返回:
- The nonce.
-
getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;- 指定者:
getNonceBytes在接口中Mcp.ResourcesOrBuilder- 返回:
- The bytes for nonce.
-
setNonce
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;- 参数:
value- The nonce to set.- 返回:
- This builder for chaining.
-
clearNonce
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;- 返回:
- This builder for chaining.
-
setNonceBytes
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;- 参数:
value- The bytes for nonce to set.- 返回:
- This builder for chaining.
-
getIncremental
public boolean getIncremental()This resource response is an incremental update. The source should only send incremental updates if the sink requested them.
bool incremental = 6;- 指定者:
getIncremental在接口中Mcp.ResourcesOrBuilder- 返回:
- The incremental.
-
setIncremental
This resource response is an incremental update. The source should only send incremental updates if the sink requested them.
bool incremental = 6;- 参数:
value- The incremental to set.- 返回:
- This builder for chaining.
-
clearIncremental
This resource response is an incremental update. The source should only send incremental updates if the sink requested them.
bool incremental = 6;- 返回:
- This builder for chaining.
-
setUnknownFields
public final Mcp.Resources.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-
mergeUnknownFields
public final Mcp.Resources.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.Resources.Builder>
-