public final class IncrementalMeshConfigRequest extends com.google.protobuf.GeneratedMessageV3 implements 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 |
IncrementalMeshConfigRequest.Builder
IncrementalMeshConfigRequest are be sent in 2 situations:
1.
|
private static class |
IncrementalMeshConfigRequest.InitialResourceVersionsDefaultEntryHolder |
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 IncrementalMeshConfigRequest |
DEFAULT_INSTANCE |
static int |
ERROR_DETAIL_FIELD_NUMBER |
private com.google.rpc.Status |
errorDetail_ |
static int |
INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER |
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
initialResourceVersions_ |
private byte |
memoizedIsInitialized |
private static com.google.protobuf.Parser<IncrementalMeshConfigRequest> |
PARSER |
static int |
RESPONSE_NONCE_FIELD_NUMBER |
private java.lang.Object |
responseNonce_ |
private static long |
serialVersionUID |
static int |
SINK_NODE_FIELD_NUMBER |
private SinkNode |
sinkNode_ |
static int |
TYPE_URL_FIELD_NUMBER |
private java.lang.Object |
typeUrl_ |
| 限定符 | 构造器和说明 |
|---|---|
private |
IncrementalMeshConfigRequest() |
private |
IncrementalMeshConfigRequest(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
private |
IncrementalMeshConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsInitialResourceVersions(java.lang.String key)
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
boolean |
equals(java.lang.Object obj) |
static IncrementalMeshConfigRequest |
getDefaultInstance() |
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.
|
java.util.Map<java.lang.String,java.lang.String> |
getInitialResourceVersions()
已过时。
|
int |
getInitialResourceVersionsCount()
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.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.
|
java.lang.String |
getInitialResourceVersionsOrThrow(java.lang.String key)
When the IncrementalMeshConfigRequest is the first in a stream,
the initial_resource_versions must be populated.
|
com.google.protobuf.Parser<IncrementalMeshConfigRequest> |
getParserForType() |
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.
|
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() |
SinkNode |
getSinkNode()
The sink node making the request.
|
SinkNodeOrBuilder |
getSinkNodeOrBuilder()
The sink node making the request.
|
java.lang.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() |
private com.google.protobuf.MapField<java.lang.String,java.lang.String> |
internalGetInitialResourceVersions() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static IncrementalMeshConfigRequest.Builder |
newBuilder() |
static IncrementalMeshConfigRequest.Builder |
newBuilder(IncrementalMeshConfigRequest prototype) |
IncrementalMeshConfigRequest.Builder |
newBuilderForType() |
protected IncrementalMeshConfigRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static IncrementalMeshConfigRequest |
parseDelimitedFrom(java.io.InputStream input) |
static IncrementalMeshConfigRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigRequest |
parseFrom(byte[] data) |
static IncrementalMeshConfigRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigRequest |
parseFrom(java.nio.ByteBuffer data) |
static IncrementalMeshConfigRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.ByteString data) |
static IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static IncrementalMeshConfigRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static IncrementalMeshConfigRequest |
parseFrom(java.io.InputStream input) |
static IncrementalMeshConfigRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<IncrementalMeshConfigRequest> |
parser() |
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, makeExtensionsImmutable, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternalprivate static final long serialVersionUID
public static final int SINK_NODE_FIELD_NUMBER
private SinkNode sinkNode_
public static final int TYPE_URL_FIELD_NUMBER
private volatile java.lang.Object typeUrl_
public static final int INITIAL_RESOURCE_VERSIONS_FIELD_NUMBER
private com.google.protobuf.MapField<java.lang.String,java.lang.String> initialResourceVersions_
public static final int RESPONSE_NONCE_FIELD_NUMBER
private volatile java.lang.Object responseNonce_
public static final int ERROR_DETAIL_FIELD_NUMBER
private com.google.rpc.Status errorDetail_
private byte memoizedIsInitialized
private static final IncrementalMeshConfigRequest DEFAULT_INSTANCE
private static final com.google.protobuf.Parser<IncrementalMeshConfigRequest> PARSER
private IncrementalMeshConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
private IncrementalMeshConfigRequest()
private IncrementalMeshConfigRequest(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionprotected java.lang.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 在接口中 IncrementalMeshConfigRequestOrBuilderpublic SinkNode getSinkNode()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;getSinkNode 在接口中 IncrementalMeshConfigRequestOrBuilderpublic SinkNodeOrBuilder getSinkNodeOrBuilder()
The sink node making the request.
.istio.mcp.v1alpha1.SinkNode sink_node = 1;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 在接口中 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 在接口中 IncrementalMeshConfigRequestOrBuilderprivate com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetInitialResourceVersions()
public int getInitialResourceVersionsCount()
IncrementalMeshConfigRequestOrBuilderWhen 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(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;@Deprecated public java.util.Map<java.lang.String,java.lang.String> getInitialResourceVersions()
getInitialResourceVersionsMap() instead.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;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;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;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 在接口中 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 在接口中 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 在接口中 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 在接口中 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 java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static IncrementalMeshConfigRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static IncrementalMeshConfigRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static IncrementalMeshConfigRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic IncrementalMeshConfigRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static IncrementalMeshConfigRequest.Builder newBuilder()
public static IncrementalMeshConfigRequest.Builder newBuilder(IncrementalMeshConfigRequest prototype)
public IncrementalMeshConfigRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected IncrementalMeshConfigRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static IncrementalMeshConfigRequest getDefaultInstance()
public static com.google.protobuf.Parser<IncrementalMeshConfigRequest> parser()
public com.google.protobuf.Parser<IncrementalMeshConfigRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public IncrementalMeshConfigRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2020 Alibaba Group. All rights reserved.