类 Mcp.IncrementalMeshConfigRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigRequest
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.IncrementalMeshConfigRequestOrBuilder,java.io.Serializable
- 封闭类:
- Mcp
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 typeistio.mcp.v1alpha1.IncrementalMeshConfigRequest- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMcp.IncrementalMeshConfigRequest.BuilderIncrementalMeshConfigRequest are be sent in 2 situations: 1.private static classMcp.IncrementalMeshConfigRequest.InitialResourceVersionsDefaultEntryHolder-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Mcp.IncrementalMeshConfigRequestDEFAULT_INSTANCEstatic intERROR_DETAIL_FIELD_NUMBERprivate com.google.rpc.StatuserrorDetail_static intINITIAL_RESOURCE_VERSIONS_FIELD_NUMBERprivate com.google.protobuf.MapField<java.lang.String,java.lang.String>initialResourceVersions_private bytememoizedIsInitializedprivate static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest>PARSERstatic intRESPONSE_NONCE_FIELD_NUMBERprivate java.lang.ObjectresponseNonce_private static longserialVersionUIDstatic intSINK_NODE_FIELD_NUMBERprivate Mcp.SinkNodesinkNode_static intTYPE_URL_FIELD_NUMBERprivate java.lang.ObjecttypeUrl_
-
构造器概要
构造器 限定符 构造器 说明 privateIncrementalMeshConfigRequest()privateIncrementalMeshConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsInitialResourceVersions(java.lang.String key)When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.booleanequals(java.lang.Object obj)static Mcp.IncrementalMeshConfigRequestgetDefaultInstance()Mcp.IncrementalMeshConfigRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest>getParserForType()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.intgetSerializedSize()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.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasErrorDetail()This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.inthashCode()booleanhasSinkNode()The sink node making the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetInitialResourceVersions()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Mcp.IncrementalMeshConfigRequest.BuildernewBuilder()static Mcp.IncrementalMeshConfigRequest.BuildernewBuilder(Mcp.IncrementalMeshConfigRequest prototype)Mcp.IncrementalMeshConfigRequest.BuildernewBuilderForType()protected Mcp.IncrementalMeshConfigRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Mcp.IncrementalMeshConfigRequestparseDelimitedFrom(java.io.InputStream input)static Mcp.IncrementalMeshConfigRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigRequestparseFrom(byte[] data)static Mcp.IncrementalMeshConfigRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigRequestparseFrom(com.google.protobuf.ByteString data)static Mcp.IncrementalMeshConfigRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigRequestparseFrom(com.google.protobuf.CodedInputStream input)static Mcp.IncrementalMeshConfigRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigRequestparseFrom(java.io.InputStream input)static Mcp.IncrementalMeshConfigRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Mcp.IncrementalMeshConfigRequestparseFrom(java.nio.ByteBuffer data)static Mcp.IncrementalMeshConfigRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest>parser()Mcp.IncrementalMeshConfigRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, 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, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
SINK_NODE_FIELD_NUMBER
public static final int SINK_NODE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
sinkNode_
private Mcp.SinkNode sinkNode_
-
TYPE_URL_FIELD_NUMBER
public static final int TYPE_URL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
typeUrl_
private volatile java.lang.Object typeUrl_
-
INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER
public static final int INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
initialResourceVersions_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> initialResourceVersions_
-
RESPONSE_NONCE_FIELD_NUMBER
public static final int RESPONSE_NONCE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
responseNonce_
private volatile java.lang.Object responseNonce_
-
ERROR_DETAIL_FIELD_NUMBER
public static final int ERROR_DETAIL_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
errorDetail_
private com.google.rpc.Status errorDetail_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Mcp.IncrementalMeshConfigRequest DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
hasSinkNode
public boolean hasSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 指定者:
hasSinkNode在接口中Mcp.IncrementalMeshConfigRequestOrBuilder- 返回:
- Whether the sinkNode field is set.
-
getSinkNode
public Mcp.SinkNode getSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 指定者:
getSinkNode在接口中Mcp.IncrementalMeshConfigRequestOrBuilder- 返回:
- The sinkNode.
-
getSinkNodeOrBuilder
public Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;
-
getTypeUrl
public 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;- 指定者:
getTypeUrl在接口中Mcp.IncrementalMeshConfigRequestOrBuilder- 返回:
- The typeUrl.
-
getTypeUrlBytes
public 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.IncrementalMeshConfigRequestOrBuilder- 返回:
- The bytes for typeUrl.
-
internalGetInitialResourceVersions
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetInitialResourceVersions()
-
getInitialResourceVersionsCount
public 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
public 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 public java.util.Map<java.lang.String,java.lang.String> getInitialResourceVersions()
已过时。UsegetInitialResourceVersionsMap()instead.
-
getInitialResourceVersionsMap
public 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
public 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
public 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
public 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;- 指定者:
getResponseNonce在接口中Mcp.IncrementalMeshConfigRequestOrBuilder- 返回:
- The responseNonce.
-
getResponseNonceBytes
public 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.IncrementalMeshConfigRequestOrBuilder- 返回:
- The bytes for responseNonce.
-
hasErrorDetail
public 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.IncrementalMeshConfigRequestOrBuilder- 返回:
- Whether the errorDetail field is set.
-
getErrorDetail
public 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.IncrementalMeshConfigRequestOrBuilder- 返回:
- The errorDetail.
-
getErrorDetailOrBuilder
public 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;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Mcp.IncrementalMeshConfigRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Mcp.IncrementalMeshConfigRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Mcp.IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public Mcp.IncrementalMeshConfigRequest.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Mcp.IncrementalMeshConfigRequest.Builder newBuilder()
-
newBuilder
public static Mcp.IncrementalMeshConfigRequest.Builder newBuilder(Mcp.IncrementalMeshConfigRequest prototype)
-
toBuilder
public Mcp.IncrementalMeshConfigRequest.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Mcp.IncrementalMeshConfigRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Mcp.IncrementalMeshConfigRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<Mcp.IncrementalMeshConfigRequest> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Mcp.IncrementalMeshConfigRequest getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-