类 Mcp.IncrementalMeshConfigRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigRequest
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Mcp.IncrementalMeshConfigRequestOrBuilder, Serializable
封闭类:
Mcp

public static final class Mcp.IncrementalMeshConfigRequest extends com.google.protobuf.GeneratedMessageV3 implements Mcp.IncrementalMeshConfigRequestOrBuilder
 IncrementalMeshConfigRequest are be sent in 2 situations:

   1. Initial message in a MCP bidirectional gRPC stream.

   2. As a ACK or NACK response to a previous IncrementalMeshConfigResponse.
      In this case the response_nonce is set to the nonce value in the Response.
      ACK or NACK is determined by the absence or presence of error_detail.
 
Protobuf type istio.mcp.v1alpha1.IncrementalMeshConfigRequest
另请参阅:
  • 字段详细资料

    • SINK_NODE_FIELD_NUMBER

      public static final int SINK_NODE_FIELD_NUMBER
      另请参阅:
    • TYPE_URL_FIELD_NUMBER

      public static final int TYPE_URL_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
      另请参阅:
  • 方法详细资料

    • 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()
    • 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.IncrementalMeshConfigRequestOrBuilder
      返回:
      Whether the sinkNode field is set.
    • getSinkNode

      public Mcp.SinkNode getSinkNode()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 1;
      指定者:
      getSinkNode 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      The sinkNode.
    • getSinkNodeOrBuilder

      public Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 1;
      指定者:
      getSinkNodeOrBuilder 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • getTypeUrl

      public String getTypeUrl()
       Type of the resource that is being requested, e.g.
       "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
       
      string type_url = 2;
      指定者:
      getTypeUrl 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      The typeUrl.
    • getTypeUrlBytes

      public com.google.protobuf.ByteString getTypeUrlBytes()
       Type of the resource that is being requested, e.g.
       "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
       
      string type_url = 2;
      指定者:
      getTypeUrlBytes 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      The bytes for typeUrl.
    • getInitialResourceVersionsCount

      public int getInitialResourceVersionsCount()
       When the IncrementalMeshConfigRequest 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;
      指定者:
      getInitialResourceVersionsCount 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • containsInitialResourceVersions

      public boolean containsInitialResourceVersions(String key)
       When the IncrementalMeshConfigRequest 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 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • getInitialResourceVersions

      @Deprecated public Map<String,String> getInitialResourceVersions()
      已过时。
      指定者:
      getInitialResourceVersions 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • getInitialResourceVersionsMap

      public Map<String,String> getInitialResourceVersionsMap()
       When the IncrementalMeshConfigRequest 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;
      指定者:
      getInitialResourceVersionsMap 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • getInitialResourceVersionsOrDefault

      public String getInitialResourceVersionsOrDefault(String key, String defaultValue)
       When the IncrementalMeshConfigRequest 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 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • getInitialResourceVersionsOrThrow

      public String getInitialResourceVersionsOrThrow(String key)
       When the IncrementalMeshConfigRequest 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 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • getResponseNonce

      public String getResponseNonce()
       When the IncrementalMeshConfigRequest is a ACK or NACK message in response
       to a previous IncrementalMeshConfigResponse, the response_nonce must be the
       nonce in the IncrementalMeshConfigResponse.
       Otherwise response_nonce must be omitted.
       
      string response_nonce = 4;
      指定者:
      getResponseNonce 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      The responseNonce.
    • getResponseNonceBytes

      public com.google.protobuf.ByteString getResponseNonceBytes()
       When the IncrementalMeshConfigRequest is a ACK or NACK message in response
       to a previous IncrementalMeshConfigResponse, the response_nonce must be the
       nonce in the IncrementalMeshConfigResponse.
       Otherwise response_nonce must be omitted.
       
      string response_nonce = 4;
      指定者:
      getResponseNonceBytes 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      The bytes for responseNonce.
    • hasErrorDetail

      public boolean hasErrorDetail()
       This is populated when the previous IncrementalMeshConfigResponses
       failed to update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure.
       
      .google.rpc.Status error_detail = 5;
      指定者:
      hasErrorDetail 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      Whether the errorDetail field is set.
    • getErrorDetail

      public com.google.rpc.Status getErrorDetail()
       This is populated when the previous IncrementalMeshConfigResponses
       failed to update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure.
       
      .google.rpc.Status error_detail = 5;
      指定者:
      getErrorDetail 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
      返回:
      The errorDetail.
    • getErrorDetailOrBuilder

      public com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder()
       This is populated when the previous IncrementalMeshConfigResponses
       failed to update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure.
       
      .google.rpc.Status error_detail = 5;
      指定者:
      getErrorDetailOrBuilder 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilder
    • 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.IncrementalMeshConfigRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static Mcp.IncrementalMeshConfigRequest parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static Mcp.IncrementalMeshConfigRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • newBuilderForType

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

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

    • toBuilder

      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected Mcp.IncrementalMeshConfigRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Mcp.IncrementalMeshConfigRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Mcp.IncrementalMeshConfigRequest getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder