public final class IncrementalMeshConfigResponse extends com.google.protobuf.GeneratedMessageV3 implements 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 |
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| 限定符和类型 | 字段和说明 |
|---|---|
private static IncrementalMeshConfigResponse |
DEFAULT_INSTANCE |
private byte |
memoizedIsInitialized |
private java.lang.Object |
nonce_ |
static int |
NONCE_FIELD_NUMBER |
private static com.google.protobuf.Parser<IncrementalMeshConfigResponse> |
PARSER |
static int |
REMOVED_RESOURCES_FIELD_NUMBER |
private com.google.protobuf.LazyStringList |
removedResources_ |
private java.util.List<Resource> |
resources_ |
static int |
RESOURCES_FIELD_NUMBER |
private static long |
serialVersionUID |
static int |
SYSTEM_VERSION_INFO_FIELD_NUMBER |
private java.lang.Object |
systemVersionInfo_ |
| 限定符 | 构造器和说明 |
|---|---|
private |
IncrementalMeshConfigResponse() |
private |
IncrementalMeshConfigResponse(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
IncrementalMeshConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
static IncrementalMeshConfigResponse |
getDefaultInstance() |
IncrementalMeshConfigResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.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<IncrementalMeshConfigResponse> |
getParserForType() |
java.lang.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.
|
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.
|
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.
|
int |
getSerializedSize() |
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).
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static IncrementalMeshConfigResponse.Builder |
newBuilder() |
static IncrementalMeshConfigResponse.Builder |
newBuilder(IncrementalMeshConfigResponse prototype) |
IncrementalMeshConfigResponse.Builder |
newBuilderForType() |
protected IncrementalMeshConfigResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static IncrementalMeshConfigResponse |
parseDelimitedFrom(java.io.InputStream input) |
static IncrementalMeshConfigResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigResponse |
parseFrom(byte[] data) |
static IncrementalMeshConfigResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigResponse |
parseFrom(java.nio.ByteBuffer data) |
static IncrementalMeshConfigResponse |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.ByteString data) |
static IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IncrementalMeshConfigResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigResponse |
parseFrom(java.io.InputStream input) |
static IncrementalMeshConfigResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IncrementalMeshConfigResponse> |
parser() |
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, makeExtensionsImmutable, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternalprivate static final long serialVersionUID
public static final int SYSTEM_VERSION_INFO_FIELD_NUMBER
private volatile java.lang.Object systemVersionInfo_
public static final int RESOURCES_FIELD_NUMBER
private java.util.List<Resource> resources_
public static final int REMOVED_RESOURCES_FIELD_NUMBER
private com.google.protobuf.LazyStringList removedResources_
public static final int NONCE_FIELD_NUMBER
private volatile java.lang.Object nonce_
private byte memoizedIsInitialized
private static final IncrementalMeshConfigResponse DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<IncrementalMeshConfigResponse> PARSER
private IncrementalMeshConfigResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
private IncrementalMeshConfigResponse()
private IncrementalMeshConfigResponse(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionprotected java.lang.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 java.lang.String getSystemVersionInfo()
The version of the response data (used for debugging).
string system_version_info = 1;getSystemVersionInfo 在接口中 IncrementalMeshConfigResponseOrBuilderpublic com.google.protobuf.ByteString getSystemVersionInfoBytes()
The version of the response data (used for debugging).
string system_version_info = 1;getSystemVersionInfoBytes 在接口中 IncrementalMeshConfigResponseOrBuilderpublic 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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2;public 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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2;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;public 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;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 IncrementalMeshConfigRequest.
repeated .istio.mcp.v1alpha1.Resource resources = 2;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 在接口中 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 在接口中 IncrementalMeshConfigResponseOrBuilderpublic 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 在接口中 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 在接口中 IncrementalMeshConfigResponseOrBuilderindex - The index of the value to return.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 在接口中 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 在接口中 IncrementalMeshConfigResponseOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static IncrementalMeshConfigResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic IncrementalMeshConfigResponse.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static IncrementalMeshConfigResponse.Builder newBuilder()
public static IncrementalMeshConfigResponse.Builder newBuilder(IncrementalMeshConfigResponse prototype)
public IncrementalMeshConfigResponse.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected IncrementalMeshConfigResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static IncrementalMeshConfigResponse getDefaultInstance()
public static com.google.protobuf.Parser<IncrementalMeshConfigResponse> parser()
public com.google.protobuf.Parser<IncrementalMeshConfigResponse> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public IncrementalMeshConfigResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2020 Alibaba Group. All rights reserved.