All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.nacos.istio.model.mcp.RequestResourcesOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: mcp.proto

package com.alibaba.nacos.istio.model.mcp;

public interface RequestResourcesOrBuilder extends
    // @@protoc_insertion_point(interface_extends:istio.mcp.v1alpha1.RequestResources)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * The sink node making the request.
   * 
* * .istio.mcp.v1alpha1.SinkNode sink_node = 1; * @return Whether the sinkNode field is set. */ boolean hasSinkNode(); /** *
   * The sink node making the request.
   * 
* * .istio.mcp.v1alpha1.SinkNode sink_node = 1; * @return The sinkNode. */ com.alibaba.nacos.istio.model.mcp.SinkNode getSinkNode(); /** *
   * The sink node making the request.
   * 
* * .istio.mcp.v1alpha1.SinkNode sink_node = 1; */ com.alibaba.nacos.istio.model.mcp.SinkNodeOrBuilder getSinkNodeOrBuilder(); /** *
   * Type of resource collection that is being requested, e.g.
   * istio/networking/v1alpha3/VirtualService
   * k8s/<apiVersion>/<kind>
   * 
* * string collection = 2; * @return The collection. */ java.lang.String getCollection(); /** *
   * Type of resource collection that is being requested, e.g.
   * istio/networking/v1alpha3/VirtualService
   * k8s/<apiVersion>/<kind>
   * 
* * string collection = 2; * @return The bytes for collection. */ com.google.protobuf.ByteString getCollectionBytes(); /** *
   * 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; */ int getInitialResourceVersionsCount(); /** *
   * 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; */ boolean containsInitialResourceVersions( java.lang.String key); /** * Use {@link #getInitialResourceVersionsMap()} instead. */ @java.lang.Deprecated java.util.Map getInitialResourceVersions(); /** *
   * 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; */ java.util.Map 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; */ java.lang.String getInitialResourceVersionsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
   * 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; */ java.lang.String getInitialResourceVersionsOrThrow( java.lang.String key); /** *
   * 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; * @return The responseNonce. */ java.lang.String 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; * @return The bytes for responseNonce. */ com.google.protobuf.ByteString getResponseNonceBytes(); /** *
   * 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; * @return Whether the errorDetail field is set. */ 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; * @return The errorDetail. */ 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; */ com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder(); /** *
   * 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; * @return The incremental. */ boolean getIncremental(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy