类 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,java.io.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 typeistio.mcp.v1alpha1.IncrementalMeshConfigResponse- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMcp.IncrementalMeshConfigResponse.BuilderIncrementalMeshConfigResponses 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Mcp.IncrementalMeshConfigResponseDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate java.lang.Objectnonce_static intNONCE_FIELD_NUMBERprivate static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse>PARSERstatic intREMOVED_RESOURCES_FIELD_NUMBERprivate com.google.protobuf.LazyStringListremovedResources_private java.util.List<ResourceOuterClass.Resource>resources_static intRESOURCES_FIELD_NUMBERprivate static longserialVersionUIDstatic intSYSTEM_VERSION_INFO_FIELD_NUMBERprivate java.lang.ObjectsystemVersionInfo_
-
构造器概要
构造器 限定符 构造器 说明 privateIncrementalMeshConfigResponse()privateIncrementalMeshConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)static Mcp.IncrementalMeshConfigResponsegetDefaultInstance()Mcp.IncrementalMeshConfigResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetNonce()The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.com.google.protobuf.ByteStringgetNonceBytes()The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse.com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse>getParserForType()java.lang.StringgetRemovedResources(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.intgetRemovedResourcesCount()Resources names of resources that have be deleted and to be removed from the MCP Client.com.google.protobuf.ProtocolStringListgetRemovedResourcesList()Resources names of resources that have be deleted and to be removed from the MCP Client.ResourceOuterClass.ResourcegetResources(int index)The response resources wrapped in the common MCP *Resource* message.intgetResourcesCount()The response resources wrapped in the common MCP *Resource* message.java.util.List<ResourceOuterClass.Resource>getResourcesList()The response resources wrapped in the common MCP *Resource* message.ResourceOuterClass.ResourceOrBuildergetResourcesOrBuilder(int index)The response resources wrapped in the common MCP *Resource* message.java.util.List<? extends ResourceOuterClass.ResourceOrBuilder>getResourcesOrBuilderList()The response resources wrapped in the common MCP *Resource* message.intgetSerializedSize()java.lang.StringgetSystemVersionInfo()The version of the response data (used for debugging).com.google.protobuf.ByteStringgetSystemVersionInfoBytes()The version of the response data (used for debugging).com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Mcp.IncrementalMeshConfigResponse.BuildernewBuilder()static Mcp.IncrementalMeshConfigResponse.BuildernewBuilder(Mcp.IncrementalMeshConfigResponse prototype)Mcp.IncrementalMeshConfigResponse.BuildernewBuilderForType()protected Mcp.IncrementalMeshConfigResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Mcp.IncrementalMeshConfigResponseparseDelimitedFrom(java.io.InputStream input)static Mcp.IncrementalMeshConfigResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigResponseparseFrom(byte[] data)static Mcp.IncrementalMeshConfigResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigResponseparseFrom(com.google.protobuf.ByteString data)static Mcp.IncrementalMeshConfigResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigResponseparseFrom(com.google.protobuf.CodedInputStream input)static Mcp.IncrementalMeshConfigResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigResponseparseFrom(java.io.InputStream input)static Mcp.IncrementalMeshConfigResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigResponseparseFrom(java.nio.ByteBuffer data)static Mcp.IncrementalMeshConfigResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse>parser()Mcp.IncrementalMeshConfigResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
SYSTEM_VERSION_INFO_FIELD_NUMBER
public static final int SYSTEM_VERSION_INFO_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
systemVersionInfo_
private volatile java.lang.Object systemVersionInfo_
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
resources_
private java.util.List<ResourceOuterClass.Resource> resources_
-
REMOVED_RESOURCES_FIELD_NUMBER
public static final int REMOVED_RESOURCES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
removedResources_
private com.google.protobuf.LazyStringList removedResources_
-
NONCE_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
nonce_
private volatile java.lang.Object nonce_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Mcp.IncrementalMeshConfigResponse DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中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
public java.lang.String 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
public java.util.List<ResourceOuterClass.Resource> getResourcesList()
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
-
getResourcesOrBuilderList
public java.util.List<? extends ResourceOuterClass.ResourceOrBuilder> getResourcesOrBuilderList()
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the 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
public ResourceOuterClass.Resource getResources(int index)
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
-
getResourcesOrBuilder
public ResourceOuterClass.ResourceOrBuilder getResourcesOrBuilder(int index)
The response resources wrapped in the common MCP *Resource* message. These are typed resources that match the type url in the 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
public java.lang.String getRemovedResources(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;- 指定者:
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
public java.lang.String 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(java.nio.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
public static Mcp.IncrementalMeshConfigResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Mcp.IncrementalMeshConfigResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Mcp.IncrementalMeshConfigResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public Mcp.IncrementalMeshConfigResponse.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Mcp.IncrementalMeshConfigResponse.Builder newBuilder()
-
newBuilder
public static Mcp.IncrementalMeshConfigResponse.Builder newBuilder(Mcp.IncrementalMeshConfigResponse prototype)
-
toBuilder
public Mcp.IncrementalMeshConfigResponse.Builder 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
public static Mcp.IncrementalMeshConfigResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Mcp.IncrementalMeshConfigResponse getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-