类 Mcp.IncrementalMeshConfigResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigResponse.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.IncrementalMeshConfigResponseOrBuilder,Cloneable
public static final class Mcp.IncrementalMeshConfigResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
implements Mcp.IncrementalMeshConfigResponseOrBuilder
IncrementalMeshConfigResponses 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 servers and clients 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 server to keep track of the state of MCP clients connected to it. In Incremental MCP the nonce field is required and used to pair IncrementalMeshConfigResponse to an IncrementalMeshConfigRequest ACK or NACK. Optionally, a response message level system_version_info is present for debugging purposes only.Protobuf type
istio.mcp.v1alpha1.IncrementalMeshConfigResponse-
方法概要
修饰符和类型方法说明addAllRemovedResources(Iterable<String> values) Resources names of resources that have be deleted and to be removed from the MCP Client.addAllResources(Iterable<? extends ResourceOuterClass.Resource> values) The response resources wrapped in the common MCP *Resource* message.addRemovedResources(String value) Resources names of resources that have be deleted and to be removed from the MCP Client.addRemovedResourcesBytes(com.google.protobuf.ByteString value) Resources names of resources that have be deleted and to be removed from the MCP Client.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()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Resources names of resources that have be deleted and to be removed from the MCP Client.The response resources wrapped in the common MCP *Resource* message.The version of the response data (used for debugging).clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNonce()The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.com.google.protobuf.ByteStringThe nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.getRemovedResources(int index) Resources names of resources that have be deleted and to be removed from the MCP Client.com.google.protobuf.ByteStringgetRemovedResourcesBytes(int index) Resources names of resources that have be deleted and to be removed from the MCP Client.intResources names of resources that have be deleted and to be removed from the MCP Client.com.google.protobuf.ProtocolStringListResources names of resources that have be deleted and to be removed from the MCP Client.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) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeResources(int index) The response resources wrapped in the common MCP *Resource* message.The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.setNonceBytes(com.google.protobuf.ByteString value) The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.setRemovedResources(int index, String value) Resources names of resources that have be deleted and to be removed from the MCP Client.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).setUnknownFields(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.IncrementalMeshConfigResponse.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.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.IncrementalMeshConfigResponse.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.IncrementalMeshConfigResponse.Builder>
-
setField
public Mcp.IncrementalMeshConfigResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
clearField
public Mcp.IncrementalMeshConfigResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
clearOneof
public Mcp.IncrementalMeshConfigResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
setRepeatedField
public Mcp.IncrementalMeshConfigResponse.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.IncrementalMeshConfigResponse.Builder>
-
addRepeatedField
public Mcp.IncrementalMeshConfigResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
mergeFrom
public Mcp.IncrementalMeshConfigResponse.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.IncrementalMeshConfigResponse.Builder>- 抛出:
IOException
-
getSystemVersionInfo
The version of the response data (used for debugging).
string system_version_info = 1;- 指定者:
getSystemVersionInfo在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 返回:
- 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.IncrementalMeshConfigResponseOrBuilder- 返回:
- 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
public Mcp.IncrementalMeshConfigResponse.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.- 返回:
- 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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResources
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
setResources
public Mcp.IncrementalMeshConfigResponse.Builder setResources(int index, ResourceOuterClass.Resource value) The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
setResources
public Mcp.IncrementalMeshConfigResponse.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
public Mcp.IncrementalMeshConfigResponse.Builder addResources(int index, ResourceOuterClass.Resource value) The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
public Mcp.IncrementalMeshConfigResponse.Builder addResources(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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
public Mcp.IncrementalMeshConfigResponse.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addAllResources
public Mcp.IncrementalMeshConfigResponse.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResourcesOrBuilderList
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getRemovedResourcesList
public com.google.protobuf.ProtocolStringList getRemovedResourcesList()Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 指定者:
getRemovedResourcesList在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 返回:
- A list containing the removedResources.
-
getRemovedResourcesCount
public int getRemovedResourcesCount()Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 指定者:
getRemovedResourcesCount在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 返回:
- The count of removedResources.
-
getRemovedResources
Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 指定者:
getRemovedResources在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The removedResources at the given index.
-
getRemovedResourcesBytes
public com.google.protobuf.ByteString getRemovedResourcesBytes(int index) Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 指定者:
getRemovedResourcesBytes在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the removedResources at the given index.
-
setRemovedResources
Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 参数:
index- The index to set the value at.value- The removedResources to set.- 返回:
- This builder for chaining.
-
addRemovedResources
Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 参数:
value- The removedResources to add.- 返回:
- This builder for chaining.
-
addAllRemovedResources
Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 参数:
values- The removedResources to add.- 返回:
- This builder for chaining.
-
clearRemovedResources
Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 返回:
- This builder for chaining.
-
addRemovedResourcesBytes
public Mcp.IncrementalMeshConfigResponse.Builder addRemovedResourcesBytes(com.google.protobuf.ByteString value) Resources names of resources that have be deleted and to be removed from the MCP Client. Removed resources for missing resources can be ignored.
repeated string removed_resources = 3;- 参数:
value- The bytes of the removedResources to add.- 返回:
- This builder for chaining.
-
getNonce
The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse. The nonce is required.
string nonce = 4;- 指定者:
getNonce在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 返回:
- The nonce.
-
getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse. The nonce is required.
string nonce = 4;- 指定者:
getNonceBytes在接口中Mcp.IncrementalMeshConfigResponseOrBuilder- 返回:
- The bytes for nonce.
-
setNonce
The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse. The nonce is required.
string nonce = 4;- 参数:
value- The nonce to set.- 返回:
- This builder for chaining.
-
clearNonce
The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse. The nonce is required.
string nonce = 4;- 返回:
- This builder for chaining.
-
setNonceBytes
public Mcp.IncrementalMeshConfigResponse.Builder setNonceBytes(com.google.protobuf.ByteString value) The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse. The nonce is required.
string nonce = 4;- 参数:
value- The bytes for nonce to set.- 返回:
- This builder for chaining.
-
setUnknownFields
public final Mcp.IncrementalMeshConfigResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-
mergeUnknownFields
public final Mcp.IncrementalMeshConfigResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigResponse.Builder>
-