public static final class Resources.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder> implements 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| 限定符和类型 | 字段和说明 |
|---|---|
private int |
bitField0_ |
private java.lang.Object |
collection_ |
private boolean |
incremental_ |
private java.lang.Object |
nonce_ |
private com.google.protobuf.LazyStringList |
removedResources_ |
private java.util.List<Resource> |
resources_ |
private com.google.protobuf.RepeatedFieldBuilderV3<Resource,Resource.Builder,ResourceOrBuilder> |
resourcesBuilder_ |
private java.lang.Object |
systemVersionInfo_ |
| 限定符 | 构造器和说明 |
|---|---|
private |
Builder() |
private |
Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
| 限定符和类型 | 方法和说明 |
|---|---|
Resources.Builder |
addAllRemovedResources(java.lang.Iterable<java.lang.String> values)
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
Resources.Builder |
addAllResources(java.lang.Iterable<? extends Resource> values)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
addRemovedResources(java.lang.String value)
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
Resources.Builder |
addRemovedResourcesBytes(com.google.protobuf.ByteString value)
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
Resources.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Resources.Builder |
addResources(int index,
Resource.Builder builderForValue)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
addResources(int index,
Resource value)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
addResources(Resource.Builder builderForValue)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
addResources(Resource value)
The response resources wrapped in the common MCP *Resource* message.
|
Resource.Builder |
addResourcesBuilder()
The response resources wrapped in the common MCP *Resource* message.
|
Resource.Builder |
addResourcesBuilder(int index)
The response resources wrapped in the common MCP *Resource* message.
|
Resources |
build() |
Resources |
buildPartial() |
Resources.Builder |
clear() |
Resources.Builder |
clearCollection()
Type of resource collection that is being requested, e.g.
|
Resources.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Resources.Builder |
clearIncremental()
This resource response is an incremental update.
|
Resources.Builder |
clearNonce()
Required.
|
Resources.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Resources.Builder |
clearRemovedResources()
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
Resources.Builder |
clearResources()
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
clearSystemVersionInfo()
The version of the response data (used for debugging).
|
Resources.Builder |
clone() |
private void |
ensureRemovedResourcesIsMutable() |
private void |
ensureResourcesIsMutable() |
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.
|
Resources |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncremental()
This resource response is an incremental update.
|
java.lang.String |
getNonce()
Required.
|
com.google.protobuf.ByteString |
getNonceBytes()
Required.
|
java.lang.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.
|
com.google.protobuf.ProtocolStringList |
getRemovedResourcesList()
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
Resource |
getResources(int index)
The response resources wrapped in the common MCP *Resource* message.
|
Resource.Builder |
getResourcesBuilder(int index)
The response resources wrapped in the common MCP *Resource* message.
|
java.util.List<Resource.Builder> |
getResourcesBuilderList()
The response resources wrapped in the common MCP *Resource* message.
|
int |
getResourcesCount()
The response resources wrapped in the common MCP *Resource* message.
|
private com.google.protobuf.RepeatedFieldBuilderV3<Resource,Resource.Builder,ResourceOrBuilder> |
getResourcesFieldBuilder() |
java.util.List<Resource> |
getResourcesList()
The response resources wrapped in the common MCP *Resource* message.
|
ResourceOrBuilder |
getResourcesOrBuilder(int index)
The response resources wrapped in the common MCP *Resource* message.
|
java.util.List<? extends ResourceOrBuilder> |
getResourcesOrBuilderList()
The response resources wrapped in the common MCP *Resource* message.
|
java.lang.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).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
private void |
maybeForceBuilderInitialization() |
Resources.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Resources.Builder |
mergeFrom(com.google.protobuf.Message other) |
Resources.Builder |
mergeFrom(Resources other) |
Resources.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Resources.Builder |
removeResources(int index)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
setCollection(java.lang.String value)
Type of resource collection that is being requested, e.g.
|
Resources.Builder |
setCollectionBytes(com.google.protobuf.ByteString value)
Type of resource collection that is being requested, e.g.
|
Resources.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Resources.Builder |
setIncremental(boolean value)
This resource response is an incremental update.
|
Resources.Builder |
setNonce(java.lang.String value)
Required.
|
Resources.Builder |
setNonceBytes(com.google.protobuf.ByteString value)
Required.
|
Resources.Builder |
setRemovedResources(int index,
java.lang.String value)
Names of resources that have been deleted and to be
removed from the MCP sink node.
|
Resources.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Resources.Builder |
setResources(int index,
Resource.Builder builderForValue)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
setResources(int index,
Resource value)
The response resources wrapped in the common MCP *Resource* message.
|
Resources.Builder |
setSystemVersionInfo(java.lang.String value)
The version of the response data (used for debugging).
|
Resources.Builder |
setSystemVersionInfoBytes(com.google.protobuf.ByteString value)
The version of the response data (used for debugging).
|
Resources.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionprivate int bitField0_
private java.lang.Object systemVersionInfo_
private java.lang.Object collection_
private java.util.List<Resource> resources_
private com.google.protobuf.RepeatedFieldBuilderV3<Resource,Resource.Builder,ResourceOrBuilder> resourcesBuilder_
private com.google.protobuf.LazyStringList removedResources_
private java.lang.Object nonce_
private boolean incremental_
private Builder()
private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>private void maybeForceBuilderInitialization()
public Resources.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Resources build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Resources buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Resources.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Resources.Builder>public Resources.Builder mergeFrom(Resources other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public Resources.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Resources.Builder>java.io.IOExceptionpublic java.lang.String getSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;getSystemVersionInfo 在接口中 ResourcesOrBuilderpublic com.google.protobuf.ByteString getSystemVersionInfoBytes()
The version of the response data (used for debugging).
string system_version_info = 1;getSystemVersionInfoBytes 在接口中 ResourcesOrBuilderpublic Resources.Builder setSystemVersionInfo(java.lang.String value)
The version of the response data (used for debugging).
string system_version_info = 1;value - The systemVersionInfo to set.public Resources.Builder clearSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;public Resources.Builder setSystemVersionInfoBytes(com.google.protobuf.ByteString value)
The version of the response data (used for debugging).
string system_version_info = 1;value - The bytes for systemVersionInfo to set.public java.lang.String getCollection()
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;getCollection 在接口中 ResourcesOrBuilderpublic 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 在接口中 ResourcesOrBuilderpublic Resources.Builder setCollection(java.lang.String value)
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.public Resources.Builder clearCollection()
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;public Resources.Builder setCollectionBytes(com.google.protobuf.ByteString value)
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.private void ensureResourcesIsMutable()
public java.util.List<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;getResourcesList 在接口中 ResourcesOrBuilderpublic 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;getResourcesCount 在接口中 ResourcesOrBuilderpublic 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;getResources 在接口中 ResourcesOrBuilderpublic Resources.Builder setResources(int index, Resource value)
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;public Resources.Builder setResources(int index, 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;public Resources.Builder addResources(Resource value)
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;public Resources.Builder addResources(int index, Resource value)
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;public Resources.Builder addResources(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;public Resources.Builder addResources(int index, 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;public Resources.Builder addAllResources(java.lang.Iterable<? extends 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;public Resources.Builder 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;public Resources.Builder removeResources(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;public Resource.Builder getResourcesBuilder(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;public 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;getResourcesOrBuilder 在接口中 ResourcesOrBuilderpublic java.util.List<? extends 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;getResourcesOrBuilderList 在接口中 ResourcesOrBuilderpublic Resource.Builder 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;public Resource.Builder addResourcesBuilder(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;public java.util.List<Resource.Builder> 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;private com.google.protobuf.RepeatedFieldBuilderV3<Resource,Resource.Builder,ResourceOrBuilder> getResourcesFieldBuilder()
private void ensureRemovedResourcesIsMutable()
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 在接口中 ResourcesOrBuilderpublic 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 在接口中 ResourcesOrBuilderpublic java.lang.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;getRemovedResources 在接口中 ResourcesOrBuilderindex - The index of the element to return.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 在接口中 ResourcesOrBuilderindex - The index of the value to return.public Resources.Builder setRemovedResources(int index, java.lang.String value)
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.public Resources.Builder addRemovedResources(java.lang.String value)
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.public Resources.Builder addAllRemovedResources(java.lang.Iterable<java.lang.String> values)
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.public Resources.Builder 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;public Resources.Builder addRemovedResourcesBytes(com.google.protobuf.ByteString value)
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.public java.lang.String getNonce()
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;getNonce 在接口中 ResourcesOrBuilderpublic com.google.protobuf.ByteString getNonceBytes()
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;getNonceBytes 在接口中 ResourcesOrBuilderpublic Resources.Builder setNonce(java.lang.String value)
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;value - The nonce to set.public Resources.Builder clearNonce()
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;public Resources.Builder setNonceBytes(com.google.protobuf.ByteString value)
Required. The nonce provides a way for RequestChange to uniquely reference a RequestResources.
string nonce = 5;value - The bytes for nonce to set.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 在接口中 ResourcesOrBuilderpublic Resources.Builder setIncremental(boolean value)
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.public Resources.Builder clearIncremental()
This resource response is an incremental update. The source should only send incremental updates if the sink requested them.
bool incremental = 6;public final Resources.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>public final Resources.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Resources.Builder>Copyright © 2018–2020 Alibaba Group. All rights reserved.