类 Mcp.IncrementalMeshConfigResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigResponse
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.IncrementalMeshConfigResponseOrBuilder,Serializable
- 封闭类:
Mcp
public static final class Mcp.IncrementalMeshConfigResponse
extends com.google.protobuf.GeneratedMessageV3
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- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classIncrementalMeshConfigResponses do not need to include a full snapshot of the tracked resources.从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanstatic final com.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.com.google.protobuf.Parser<Mcp.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.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.intThe version of the response data (used for debugging).com.google.protobuf.ByteStringThe version of the response data (used for debugging).inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Mcp.IncrementalMeshConfigResponse prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
字段详细资料
-
SYSTEM_VERSION_INFO_FIELD_NUMBER
public static final int SYSTEM_VERSION_INFO_FIELD_NUMBER- 另请参阅:
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER- 另请参阅:
-
REMOVED_RESOURCES_FIELD_NUMBER
public static final int REMOVED_RESOURCES_FIELD_NUMBER- 另请参阅:
-
NONCE_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
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.
-
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]; -
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]; -
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]; -
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]; -
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.
-
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.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static Mcp.IncrementalMeshConfigResponse parseDelimitedFrom(InputStream input) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
public static Mcp.IncrementalMeshConfigResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Mcp.IncrementalMeshConfigResponse.Builder newBuilder(Mcp.IncrementalMeshConfigResponse prototype) -
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Mcp.IncrementalMeshConfigResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-