类 Mcp.IncrementalMeshConfigRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
istio.mcp.v1alpha1.Mcp.IncrementalMeshConfigRequest.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.IncrementalMeshConfigRequestOrBuilder,Cloneable
public static final class Mcp.IncrementalMeshConfigRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
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-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.The sink node making the request.Type of the resource that is being requested, e.g.clone()booleanWhen the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.rpc.StatusThis is populated when the previous IncrementalMeshConfigResponses failed to update configuration.com.google.rpc.Status.BuilderThis 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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeErrorDetail(com.google.rpc.Status value) This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSinkNode(Mcp.SinkNode value) The sink node making the request.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllInitialResourceVersions(Map<String, String> values) When the IncrementalMeshConfigRequest is the first in a stream, the initial_resource_versions must be populated.putInitialResourceVersions(String key, String value) 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.setErrorDetail(com.google.rpc.Status value) This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.setErrorDetail(com.google.rpc.Status.Builder builderForValue) This is populated when the previous IncrementalMeshConfigResponses failed to update configuration.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResponseNonce(String value) 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.setResponseNonceBytes(com.google.protobuf.ByteString value) 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.setSinkNode(Mcp.SinkNode value) The sink node making the request.setSinkNode(Mcp.SinkNode.Builder builderForValue) The sink node making the request.setTypeUrl(String value) Type of the resource that is being requested, e.g.setTypeUrlBytes(com.google.protobuf.ByteString value) Type of the resource that is being requested, e.g.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - 覆盖:
internalGetMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - 覆盖:
internalGetMutableMapFieldReflection在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
setField
public Mcp.IncrementalMeshConfigRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
clearField
public Mcp.IncrementalMeshConfigRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
clearOneof
public Mcp.IncrementalMeshConfigRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
setRepeatedField
public Mcp.IncrementalMeshConfigRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
addRepeatedField
public Mcp.IncrementalMeshConfigRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
mergeFrom
public Mcp.IncrementalMeshConfigRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Mcp.IncrementalMeshConfigRequest.Builder>- 抛出:
IOException
-
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
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;- 指定者:
getSinkNode在接口中Mcp.IncrementalMeshConfigRequestOrBuilder- 返回:
- The sinkNode.
-
setSinkNode
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
setSinkNode
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
mergeSinkNode
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
clearSinkNode
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
getSinkNodeBuilder
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
getSinkNodeOrBuilder
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1; -
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.
-
setTypeUrl
Type of the resource that is being requested, e.g. "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
string type_url = 2;- 参数:
value- The typeUrl to set.- 返回:
- This builder for chaining.
-
clearTypeUrl
Type of the resource that is being requested, e.g. "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
string type_url = 2;- 返回:
- This builder for chaining.
-
setTypeUrlBytes
public Mcp.IncrementalMeshConfigRequest.Builder setTypeUrlBytes(com.google.protobuf.ByteString value) Type of the resource that is being requested, e.g. "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
string type_url = 2;- 参数:
value- The bytes for typeUrl to set.- 返回:
- This builder for chaining.
-
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
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; -
clearInitialResourceVersions
-
removeInitialResourceVersions
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; -
getMutableInitialResourceVersions
已过时。Use alternate mutation accessors instead. -
putInitialResourceVersions
public Mcp.IncrementalMeshConfigRequest.Builder putInitialResourceVersions(String key, String value) 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; -
putAllInitialResourceVersions
public Mcp.IncrementalMeshConfigRequest.Builder putAllInitialResourceVersions(Map<String, String> values) 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
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.
-
setResponseNonce
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;- 参数:
value- The responseNonce to set.- 返回:
- This builder for chaining.
-
clearResponseNonce
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;- 返回:
- This builder for chaining.
-
setResponseNonceBytes
public Mcp.IncrementalMeshConfigRequest.Builder setResponseNonceBytes(com.google.protobuf.ByteString value) 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;- 参数:
value- The bytes for responseNonce to set.- 返回:
- This builder for chaining.
-
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.
-
setErrorDetail
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; -
setErrorDetail
public Mcp.IncrementalMeshConfigRequest.Builder setErrorDetail(com.google.rpc.Status.Builder builderForValue) 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; -
mergeErrorDetail
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; -
clearErrorDetail
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; -
getErrorDetailBuilder
public com.google.rpc.Status.Builder getErrorDetailBuilder()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; -
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; -
setUnknownFields
public final Mcp.IncrementalMeshConfigRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-
mergeUnknownFields
public final Mcp.IncrementalMeshConfigRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.IncrementalMeshConfigRequest.Builder>
-