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| 限定符和类型 | 类和说明 |
|---|---|
static class |
Mcp.IncrementalMeshConfigRequest.Builder
IncrementalMeshConfigRequest are be sent in 2 situations:
1.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ERROR_DETAIL_FIELD_NUMBER |
static int |
INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER |
static int |
RESPONSE_NONCE_FIELD_NUMBER |
static int |
SINK_NODE_FIELD_NUMBER |
static int |
TYPE_URL_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsInitialResourceVersions(String key)
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
boolean |
equals(Object obj) |
static Mcp.IncrementalMeshConfigRequest |
getDefaultInstance() |
Mcp.IncrementalMeshConfigRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.rpc.Status |
getErrorDetail()
This is populated when the previous IncrementalMeshConfigResponses
failed to update configuration.
|
com.google.rpc.StatusOrBuilder |
getErrorDetailOrBuilder()
This is populated when the previous IncrementalMeshConfigResponses
failed to update configuration.
|
Map<String,String> |
getInitialResourceVersions()
已过时。
|
int |
getInitialResourceVersionsCount()
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
Map<String,String> |
getInitialResourceVersionsMap()
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
String |
getInitialResourceVersionsOrDefault(String key,
String defaultValue)
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
String |
getInitialResourceVersionsOrThrow(String key)
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> |
getParserForType() |
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.
|
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.
|
int |
getSerializedSize() |
Mcp.SinkNode |
getSinkNode()
The sink node making the request.
|
Mcp.SinkNodeOrBuilder |
getSinkNodeOrBuilder()
The sink node making the request.
|
String |
getTypeUrl()
Type of the resource that is being requested, e.g.
|
com.google.protobuf.ByteString |
getTypeUrlBytes()
Type of the resource that is being requested, e.g.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasErrorDetail()
This is populated when the previous IncrementalMeshConfigResponses
failed to update configuration.
|
int |
hashCode() |
boolean |
hasSinkNode()
The sink node making the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Mcp.IncrementalMeshConfigRequest.Builder |
newBuilder() |
static Mcp.IncrementalMeshConfigRequest.Builder |
newBuilder(Mcp.IncrementalMeshConfigRequest prototype) |
Mcp.IncrementalMeshConfigRequest.Builder |
newBuilderForType() |
protected Mcp.IncrementalMeshConfigRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Mcp.IncrementalMeshConfigRequest |
parseDelimitedFrom(InputStream input) |
static Mcp.IncrementalMeshConfigRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(byte[] data) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(ByteBuffer data) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(InputStream input) |
static Mcp.IncrementalMeshConfigRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> |
parser() |
Mcp.IncrementalMeshConfigRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int SINK_NODE_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
public static final int INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER
public static final int RESPONSE_NONCE_FIELD_NUMBER
public static final int ERROR_DETAIL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public boolean hasSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;hasSinkNode 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilderpublic Mcp.SinkNode getSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;getSinkNode 在接口中 Mcp.IncrementalMeshConfigRequestOrBuilderpublic Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;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.IncrementalMeshConfigRequestOrBuilderpublic 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.IncrementalMeshConfigRequestOrBuilderpublic 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;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;@Deprecated public Map<String,String> getInitialResourceVersions()
getInitialResourceVersionsMap() instead.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;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;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;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.IncrementalMeshConfigRequestOrBuilderpublic 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.IncrementalMeshConfigRequestOrBuilderpublic 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.IncrementalMeshConfigRequestOrBuilderpublic 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.IncrementalMeshConfigRequestOrBuilderpublic 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;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Mcp.IncrementalMeshConfigRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Mcp.IncrementalMeshConfigRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Mcp.IncrementalMeshConfigRequest.Builder newBuilder()
public static Mcp.IncrementalMeshConfigRequest.Builder newBuilder(Mcp.IncrementalMeshConfigRequest prototype)
public Mcp.IncrementalMeshConfigRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Mcp.IncrementalMeshConfigRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Mcp.IncrementalMeshConfigRequest getDefaultInstance()
public static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> parser()
public com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Mcp.IncrementalMeshConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.