接口 Mcp.IncrementalMeshConfigRequestOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
- Mcp
public static interface Mcp.IncrementalMeshConfigRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsInitialResourceVersions(java.lang.String key)When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.com.google.rpc.StatusgetErrorDetail()This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.com.google.rpc.StatusOrBuildergetErrorDetailOrBuilder()This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.java.util.Map<java.lang.String,java.lang.String>getInitialResourceVersions()已过时。intgetInitialResourceVersionsCount()When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.java.util.Map<java.lang.String,java.lang.String>getInitialResourceVersionsMap()When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.java.lang.StringgetInitialResourceVersionsOrDefault(java.lang.String key, java.lang.String defaultValue)When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.java.lang.StringgetInitialResourceVersionsOrThrow(java.lang.String key)When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.java.lang.StringgetResponseNonce()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.com.google.protobuf.ByteStringgetResponseNonceBytes()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.Mcp.SinkNodegetSinkNode()The sink node making the request.Mcp.SinkNodeOrBuildergetSinkNodeOrBuilder()The sink node making the request.java.lang.StringgetTypeUrl()Type of the resource that is being requested, e.g.com.google.protobuf.ByteStringgetTypeUrlBytes()Type of the resource that is being requested, e.g.booleanhasErrorDetail()This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.booleanhasSinkNode()The sink node making the request.
-
-
-
方法详细资料
-
hasSinkNode
boolean hasSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 返回:
- Whether the sinkNode field is set.
-
getSinkNode
Mcp.SinkNode getSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 返回:
- The sinkNode.
-
getSinkNodeOrBuilder
Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;
-
getTypeUrl
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;- 返回:
- The typeUrl.
-
getTypeUrlBytes
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;- 返回:
- The bytes for typeUrl.
-
getInitialResourceVersionsCount
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;
-
containsInitialResourceVersions
boolean containsInitialResourceVersions(java.lang.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;
-
getInitialResourceVersions
@Deprecated java.util.Map<java.lang.String,java.lang.String> getInitialResourceVersions()
已过时。UsegetInitialResourceVersionsMap()instead.
-
getInitialResourceVersionsMap
java.util.Map<java.lang.String,java.lang.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;
-
getInitialResourceVersionsOrDefault
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;
-
getInitialResourceVersionsOrThrow
java.lang.String getInitialResourceVersionsOrThrow(java.lang.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;
-
getResponseNonce
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;- 返回:
- The responseNonce.
-
getResponseNonceBytes
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;- 返回:
- The bytes for responseNonce.
-
hasErrorDetail
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;- 返回:
- Whether the errorDetail field is set.
-
getErrorDetail
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;- 返回:
- The errorDetail.
-
getErrorDetailOrBuilder
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;
-
-