com.alibaba.nacos.istio.model.mcp.IncrementalMeshConfigRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: mcp.proto
package com.alibaba.nacos.istio.model.mcp;
public interface IncrementalMeshConfigRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:istio.mcp.v1alpha1.IncrementalMeshConfigRequest)
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 the resource that is being requested, e.g.
* "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
*
*
* string type_url = 2;
* @return The typeUrl.
*/
java.lang.String getTypeUrl();
/**
*
* Type of the resource that is being requested, e.g.
* "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
*
*
* string type_url = 2;
* @return The bytes for typeUrl.
*/
com.google.protobuf.ByteString
getTypeUrlBytes();
/**
*
* 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;
*/
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;
*/
boolean containsInitialResourceVersions(
java.lang.String key);
/**
* Use {@link #getInitialResourceVersionsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getInitialResourceVersions();
/**
*
* 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;
*/
java.util.Map
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;
*/
java.lang.String getInitialResourceVersionsOrDefault(
java.lang.String key,
java.lang.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;
*/
java.lang.String getInitialResourceVersionsOrThrow(
java.lang.String key);
/**
*
* 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;
* @return The responseNonce.
*/
java.lang.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;
* @return The bytes for responseNonce.
*/
com.google.protobuf.ByteString
getResponseNonceBytes();
/**
*
* 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;
* @return Whether the errorDetail field is set.
*/
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;
* @return The errorDetail.
*/
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;
*/
com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder();
}