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 class |
Mcp.IncrementalMeshConfigResponse.Builder
IncrementalMeshConfigResponses do not need to include a full
snapshot of the tracked resources.
|
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
NONCE_FIELD_NUMBER |
static int |
REMOVED_RESOURCES_FIELD_NUMBER |
static int |
RESOURCES_FIELD_NUMBER |
static int |
SYSTEM_VERSION_INFO_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Mcp.IncrementalMeshConfigResponse |
getDefaultInstance() |
Mcp.IncrementalMeshConfigResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNonce()
The nonce provides a way for IncrementalMeshConfigRequests to
uniquely reference an IncrementalMeshConfigResponse.
|
com.google.protobuf.ByteString |
getNonceBytes()
The nonce provides a way for IncrementalMeshConfigRequests to
uniquely reference an IncrementalMeshConfigResponse.
|
com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> |
getParserForType() |
String |
getRemovedResources(int index)
Resources names of resources that have be deleted and to be
removed from the MCP Client.
|
com.google.protobuf.ByteString |
getRemovedResourcesBytes(int index)
Resources names of resources that have be deleted and to be
removed from the MCP Client.
|
int |
getRemovedResourcesCount()
Resources names of resources that have be deleted and to be
removed from the MCP Client.
|
com.google.protobuf.ProtocolStringList |
getRemovedResourcesList()
Resources names of resources that have be deleted and to be
removed from the MCP Client.
|
ResourceOuterClass.Resource |
getResources(int index)
The response resources wrapped in the common MCP *Resource*
message.
|
int |
getResourcesCount()
The response resources wrapped in the common MCP *Resource*
message.
|
List<ResourceOuterClass.Resource> |
getResourcesList()
The response resources wrapped in the common MCP *Resource*
message.
|
ResourceOuterClass.ResourceOrBuilder |
getResourcesOrBuilder(int index)
The response resources wrapped in the common MCP *Resource*
message.
|
List<? extends ResourceOuterClass.ResourceOrBuilder> |
getResourcesOrBuilderList()
The response resources wrapped in the common MCP *Resource*
message.
|
int |
getSerializedSize() |
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).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Mcp.IncrementalMeshConfigResponse.Builder |
newBuilder() |
static Mcp.IncrementalMeshConfigResponse.Builder |
newBuilder(Mcp.IncrementalMeshConfigResponse prototype) |
Mcp.IncrementalMeshConfigResponse.Builder |
newBuilderForType() |
protected Mcp.IncrementalMeshConfigResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Mcp.IncrementalMeshConfigResponse |
parseDelimitedFrom(InputStream input) |
static Mcp.IncrementalMeshConfigResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(byte[] data) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(ByteBuffer data) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.ByteString data) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(InputStream input) |
static Mcp.IncrementalMeshConfigResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> |
parser() |
Mcp.IncrementalMeshConfigResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SYSTEM_VERSION_INFO_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
public static final int REMOVED_RESOURCES_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public String getSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;getSystemVersionInfo 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilderpublic com.google.protobuf.ByteString getSystemVersionInfoBytes()
The version of the response data (used for debugging).
string system_version_info = 1;getSystemVersionInfoBytes 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilderpublic 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];public 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];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];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];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];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.IncrementalMeshConfigResponseOrBuilderpublic 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.IncrementalMeshConfigResponseOrBuilderpublic 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.IncrementalMeshConfigResponseOrBuilderindex - The index of the element to return.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.IncrementalMeshConfigResponseOrBuilderindex - The index of the value to return.public String getNonce()
The nonce provides a way for IncrementalMeshConfigRequests to uniquely reference an IncrementalMeshConfigResponse. The nonce is required.
string nonce = 4;getNonce 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilderpublic 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.IncrementalMeshConfigResponseOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Mcp.IncrementalMeshConfigResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Mcp.IncrementalMeshConfigResponse.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Mcp.IncrementalMeshConfigResponse.Builder newBuilder()
public static Mcp.IncrementalMeshConfigResponse.Builder newBuilder(Mcp.IncrementalMeshConfigResponse prototype)
public Mcp.IncrementalMeshConfigResponse.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Mcp.IncrementalMeshConfigResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Mcp.IncrementalMeshConfigResponse getDefaultInstance()
public static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> parser()
public com.google.protobuf.Parser<Mcp.IncrementalMeshConfigResponse> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Mcp.IncrementalMeshConfigResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.