接口 Mcp.IncrementalMeshConfigRequestOrBuilder
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 封闭类:
Mcp
public static interface Mcp.IncrementalMeshConfigRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
方法概要
修饰符和类型方法说明booleanWhen the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.com.google.rpc.StatusThis is populated when the previous IncrementalMeshConfigResponses failed to update configuration.com.google.rpc.StatusOrBuilderThis is populated when the previous IncrementalMeshConfigResponses failed to update configuration.已过时。intWhen the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.getInitialResourceVersionsOrDefault(String key, String defaultValue) When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.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.ByteStringWhen the IncrementalMeshConfigRequest is a ACK or NACK message in response to a previous IncrementalMeshConfigResponse, the response_nonce must be the nonce in the IncrementalMeshConfigResponse.The sink node making the request.The sink node making the request.Type of the resource that is being requested, e.g.com.google.protobuf.ByteStringType of the resource that is being requested, e.g.booleanThis is populated when the previous IncrementalMeshConfigResponses failed to update configuration.booleanThe sink node making the request.从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder
isInitialized从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
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
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
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
已过时。UsegetInitialResourceVersionsMap()instead. -
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
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
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
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;
-