类 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
另请参阅:
  • 字段详细资料

    • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      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

      public 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 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];
      指定者:
      getResourcesList 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilder
    • getResourcesOrBuilderList

      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];
      指定者:
      getResourcesOrBuilderList 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilder
    • 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];
      指定者:
      getResourcesCount 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilder
    • 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];
      指定者:
      getResources 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilder
    • 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];
      指定者:
      getResourcesOrBuilder 在接口中 Mcp.IncrementalMeshConfigResponseOrBuilder
    • 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 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 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 IOException
      指定者:
      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

      public boolean equals(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(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

      public static Mcp.IncrementalMeshConfigResponse parseFrom(InputStream input) throws IOException
      抛出:
      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

      public Mcp.IncrementalMeshConfigResponse.Builder newBuilderForType()
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

      public static Mcp.IncrementalMeshConfigResponse.Builder newBuilder()
    • newBuilder

    • 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