类 Mcp.RequestResources
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.mcp.v1alpha1.Mcp.RequestResources
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.RequestResourcesOrBuilder,Serializable
- 封闭类:
Mcp
public static final class Mcp.RequestResources
extends com.google.protobuf.GeneratedMessageV3
implements Mcp.RequestResourcesOrBuilder
A RequestResource can be sent in two situations: Initial message in an MCP bidirectional change stream as an ACK or NACK response to a previous Resources. In this case the response_nonce is set to the nonce value in the Resources. ACK/NACK is determined by the presence of error_detail. * ACK (nonce!="",error_details==nil) * NACK (nonce!="",error_details!=nil) * New/Update request (nonce=="",error_details ignored)Protobuf type
istio.mcp.v1alpha1.RequestResources- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static final classA RequestResource can be sent in two situations: Initial message in an MCP bidirectional change stream as an ACK or NACK response to a previous 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 intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanWhen the RequestResources is the first in a stream, the initial_resource_versions must be populated.booleanType of resource collection that is being requested, e.g.com.google.protobuf.ByteStringType of resource collection that is being requested, e.g.static Mcp.RequestResourcesstatic final com.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusThis is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.com.google.rpc.StatusOrBuilderThis is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.booleanRequest an incremental update for the specified collection.已过时。intWhen the RequestResources is the first in a stream, the initial_resource_versions must be populated.When the RequestResources is the first in a stream, the initial_resource_versions must be populated.getInitialResourceVersionsOrDefault(String key, String defaultValue) When the RequestResources is the first in a stream, the initial_resource_versions must be populated.When the RequestResources is the first in a stream, the initial_resource_versions must be populated.com.google.protobuf.Parser<Mcp.RequestResources> When the RequestResources is an ACK or NACK message in response to a previous RequestResources, the response_nonce must be the nonce in the RequestResources.com.google.protobuf.ByteStringWhen the RequestResources is an ACK or NACK message in response to a previous RequestResources, the response_nonce must be the nonce in the RequestResources.intThe sink node making the request.The sink node making the request.booleanThis is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.inthashCode()booleanThe sink node making the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Mcp.RequestResources.Builderstatic Mcp.RequestResources.BuildernewBuilder(Mcp.RequestResources prototype) protected Mcp.RequestResources.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Mcp.RequestResourcesparseDelimitedFrom(InputStream input) static Mcp.RequestResourcesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mcp.RequestResourcesparseFrom(byte[] data) static Mcp.RequestResourcesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mcp.RequestResourcesparseFrom(com.google.protobuf.ByteString data) static Mcp.RequestResourcesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mcp.RequestResourcesparseFrom(com.google.protobuf.CodedInputStream input) static Mcp.RequestResourcesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mcp.RequestResourcesparseFrom(InputStream input) static Mcp.RequestResourcesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Mcp.RequestResourcesparseFrom(ByteBuffer data) static Mcp.RequestResourcesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Mcp.RequestResources> 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, 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
-
字段详细资料
-
SINK_NODE_FIELD_NUMBER
public static final int SINK_NODE_FIELD_NUMBER- 另请参阅:
-
COLLECTION_FIELD_NUMBER
public static final int COLLECTION_FIELD_NUMBER- 另请参阅:
-
INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER
public static final int INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER- 另请参阅:
-
RESPONSE_NONCE_FIELD_NUMBER
public static final int RESPONSE_NONCE_FIELD_NUMBER- 另请参阅:
-
ERROR_DETAIL_FIELD_NUMBER
public static final int ERROR_DETAIL_FIELD_NUMBER- 另请参阅:
-
INCREMENTAL_FIELD_NUMBER
public static final int INCREMENTAL_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - 覆盖:
internalGetMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
hasSinkNode
public boolean hasSinkNode()The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 指定者:
hasSinkNode在接口中Mcp.RequestResourcesOrBuilder- 返回:
- Whether the sinkNode field is set.
-
getSinkNode
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 指定者:
getSinkNode在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The sinkNode.
-
getSinkNodeOrBuilder
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
getCollection
Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;- 指定者:
getCollection在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The collection.
-
getCollectionBytes
public com.google.protobuf.ByteString getCollectionBytes()Type of resource collection that is being requested, e.g. istio/networking/v1alpha3/VirtualService k8s/<apiVersion>/<kind>
string collection = 2;- 指定者:
getCollectionBytes在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The bytes for collection.
-
getInitialResourceVersionsCount
public int getInitialResourceVersionsCount()从接口复制的说明:Mcp.RequestResourcesOrBuilderWhen the RequestResources is the first in a stream, the initial_resource_versions must be populated. Otherwise, initial_resource_versions must be omitted. The keys are the resources names of the MCP resources known to the MCP client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 3; -
containsInitialResourceVersions
When the RequestResources is the first in a stream, the initial_resource_versions must be populated. Otherwise, initial_resource_versions must be omitted. The keys are the resources names of the MCP resources known to the MCP client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 3; -
getInitialResourceVersions
已过时。UsegetInitialResourceVersionsMap()instead. -
getInitialResourceVersionsMap
When the RequestResources is the first in a stream, the initial_resource_versions must be populated. Otherwise, initial_resource_versions must be omitted. The keys are the resources names of the MCP resources known to the MCP client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 3; -
getInitialResourceVersionsOrDefault
When the RequestResources is the first in a stream, the initial_resource_versions must be populated. Otherwise, initial_resource_versions must be omitted. The keys are the resources names of the MCP resources known to the MCP client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 3; -
getInitialResourceVersionsOrThrow
When the RequestResources is the first in a stream, the initial_resource_versions must be populated. Otherwise, initial_resource_versions must be omitted. The keys are the resources names of the MCP resources known to the MCP client. The values in the map are the associated resource level version info.
map<string, string> initial_resource_versions = 3; -
getResponseNonce
When the RequestResources is an ACK or NACK message in response to a previous RequestResources, the response_nonce must be the nonce in the RequestResources. Otherwise response_nonce must be omitted.
string response_nonce = 4;- 指定者:
getResponseNonce在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The responseNonce.
-
getResponseNonceBytes
public com.google.protobuf.ByteString getResponseNonceBytes()When the RequestResources is an ACK or NACK message in response to a previous RequestResources, the response_nonce must be the nonce in the RequestResources. Otherwise response_nonce must be omitted.
string response_nonce = 4;- 指定者:
getResponseNonceBytes在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The bytes for responseNonce.
-
hasErrorDetail
public boolean hasErrorDetail()This is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.
.google.rpc.Status error_detail = 5;- 指定者:
hasErrorDetail在接口中Mcp.RequestResourcesOrBuilder- 返回:
- Whether the errorDetail field is set.
-
getErrorDetail
public com.google.rpc.Status getErrorDetail()This is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.
.google.rpc.Status error_detail = 5;- 指定者:
getErrorDetail在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The errorDetail.
-
getErrorDetailOrBuilder
public com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder()This is populated when the previously received resources could not be applied The *message* field in *error_details* provides the source internal error related to the failure.
.google.rpc.Status error_detail = 5; -
getIncremental
public boolean getIncremental()Request an incremental update for the specified collection. The source may choose to honor this request or ignore and and provide a full-state update in the corresponding `Resource` response.
bool incremental = 6;- 指定者:
getIncremental在接口中Mcp.RequestResourcesOrBuilder- 返回:
- The incremental.
-
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.RequestResources parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.RequestResources parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.RequestResources parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.RequestResources parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.RequestResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.RequestResources parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Mcp.RequestResources parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static Mcp.RequestResources parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static Mcp.RequestResources parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static Mcp.RequestResources 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
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Mcp.RequestResources.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
-