类 Mcp.MeshConfigResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Mcp.MeshConfigResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
istio.mcp.v1alpha1.Mcp.MeshConfigResponse.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Mcp.MeshConfigResponseOrBuilder,Cloneable
public static final class Mcp.MeshConfigResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
implements Mcp.MeshConfigResponseOrBuilder
A MeshConfigResponse delivers a set of versioned resources of the same type in response to a MeshConfigRequest.Protobuf type
istio.mcp.v1alpha1.MeshConfigResponse-
方法概要
修饰符和类型方法说明addAllResources(Iterable<? extends ResourceOuterClass.Resource> values) The response resources wrapped in the common MCP *Resource* message.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addResources(int index, ResourceOuterClass.Resource value) The response resources wrapped in the common MCP *Resource* message.addResources(int index, ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.addResources(ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.addResourcesBuilder(int index) The response resources wrapped in the common MCP *Resource* message.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The response resources wrapped in the common MCP *Resource* message.Type URL for resources wrapped in the provided resources(s).The version of the response data.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNonce()The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest.com.google.protobuf.ByteStringThe nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest.getResources(int index) The response resources wrapped in the common MCP *Resource* message.getResourcesBuilder(int index) The response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.intThe response resources wrapped in the common MCP *Resource* message.The response resources wrapped in the common MCP *Resource* message.getResourcesOrBuilder(int index) The response resources wrapped in the common MCP *Resource* message.List<? extends ResourceOuterClass.ResourceOrBuilder> The response resources wrapped in the common MCP *Resource* message.Type URL for resources wrapped in the provided resources(s).com.google.protobuf.ByteStringType URL for resources wrapped in the provided resources(s).The version of the response data.com.google.protobuf.ByteStringThe version of the response data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Mcp.MeshConfigResponse other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeResources(int index) The response resources wrapped in the common MCP *Resource* message.The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest.setNonceBytes(com.google.protobuf.ByteString value) The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResources(int index, ResourceOuterClass.Resource value) The response resources wrapped in the common MCP *Resource* message.setResources(int index, ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.setTypeUrl(String value) Type URL for resources wrapped in the provided resources(s).setTypeUrlBytes(com.google.protobuf.ByteString value) Type URL for resources wrapped in the provided resources(s).setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVersionInfo(String value) The version of the response data.setVersionInfoBytes(com.google.protobuf.ByteString value) The version of the response data.从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.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.MeshConfigResponse.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.MeshConfigResponse.Builder>
-
setField
public Mcp.MeshConfigResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
clearField
public Mcp.MeshConfigResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
clearOneof
public Mcp.MeshConfigResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
setRepeatedField
public Mcp.MeshConfigResponse.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.MeshConfigResponse.Builder>
-
addRepeatedField
public Mcp.MeshConfigResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Mcp.MeshConfigResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
mergeFrom
public Mcp.MeshConfigResponse.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.MeshConfigResponse.Builder>- 抛出:
IOException
-
getVersionInfo
The version of the response data.
string version_info = 1;- 指定者:
getVersionInfo在接口中Mcp.MeshConfigResponseOrBuilder- 返回:
- The versionInfo.
-
getVersionInfoBytes
public com.google.protobuf.ByteString getVersionInfoBytes()The version of the response data.
string version_info = 1;- 指定者:
getVersionInfoBytes在接口中Mcp.MeshConfigResponseOrBuilder- 返回:
- The bytes for versionInfo.
-
setVersionInfo
The version of the response data.
string version_info = 1;- 参数:
value- The versionInfo to set.- 返回:
- This builder for chaining.
-
clearVersionInfo
The version of the response data.
string version_info = 1;- 返回:
- This builder for chaining.
-
setVersionInfoBytes
The version of the response data.
string version_info = 1;- 参数:
value- The bytes for versionInfo to set.- 返回:
- This builder for chaining.
-
getResourcesList
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResourcesCount
public int getResourcesCount()The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResources
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];- 指定者:
getResources在接口中Mcp.MeshConfigResponseOrBuilder
-
setResources
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
setResources
public Mcp.MeshConfigResponse.Builder setResources(int index, ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
public Mcp.MeshConfigResponse.Builder addResources(ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResources
public Mcp.MeshConfigResponse.Builder addResources(int index, ResourceOuterClass.Resource.Builder builderForValue) The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addAllResources
public Mcp.MeshConfigResponse.Builder addAllResources(Iterable<? extends ResourceOuterClass.Resource> values) The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
clearResources
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
removeResources
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResourcesBuilder
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResourcesOrBuilder
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResourcesOrBuilderList
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResourcesBuilder
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
addResourcesBuilder
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getResourcesBuilderList
The response resources wrapped in the common MCP *Resource* message.
repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false]; -
getTypeUrl
Type URL for resources wrapped in the provided resources(s). This must be consistent with the type_url in the wrapper messages if resources is non-empty.
string type_url = 3;- 指定者:
getTypeUrl在接口中Mcp.MeshConfigResponseOrBuilder- 返回:
- The typeUrl.
-
getTypeUrlBytes
public com.google.protobuf.ByteString getTypeUrlBytes()Type URL for resources wrapped in the provided resources(s). This must be consistent with the type_url in the wrapper messages if resources is non-empty.
string type_url = 3;- 指定者:
getTypeUrlBytes在接口中Mcp.MeshConfigResponseOrBuilder- 返回:
- The bytes for typeUrl.
-
setTypeUrl
Type URL for resources wrapped in the provided resources(s). This must be consistent with the type_url in the wrapper messages if resources is non-empty.
string type_url = 3;- 参数:
value- The typeUrl to set.- 返回:
- This builder for chaining.
-
clearTypeUrl
Type URL for resources wrapped in the provided resources(s). This must be consistent with the type_url in the wrapper messages if resources is non-empty.
string type_url = 3;- 返回:
- This builder for chaining.
-
setTypeUrlBytes
Type URL for resources wrapped in the provided resources(s). This must be consistent with the type_url in the wrapper messages if resources is non-empty.
string type_url = 3;- 参数:
value- The bytes for typeUrl to set.- 返回:
- This builder for chaining.
-
getNonce
The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest. Additional messages may have been sent by client to the management server for the previous version on the stream prior to this MeshConfigResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further MeshConfigRequests for the previous version until a MeshConfigRequest bearing the nonce.
string nonce = 4;- 指定者:
getNonce在接口中Mcp.MeshConfigResponseOrBuilder- 返回:
- The nonce.
-
getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest. Additional messages may have been sent by client to the management server for the previous version on the stream prior to this MeshConfigResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further MeshConfigRequests for the previous version until a MeshConfigRequest bearing the nonce.
string nonce = 4;- 指定者:
getNonceBytes在接口中Mcp.MeshConfigResponseOrBuilder- 返回:
- The bytes for nonce.
-
setNonce
The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest. Additional messages may have been sent by client to the management server for the previous version on the stream prior to this MeshConfigResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further MeshConfigRequests for the previous version until a MeshConfigRequest bearing the nonce.
string nonce = 4;- 参数:
value- The nonce to set.- 返回:
- This builder for chaining.
-
clearNonce
The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest. Additional messages may have been sent by client to the management server for the previous version on the stream prior to this MeshConfigResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further MeshConfigRequests for the previous version until a MeshConfigRequest bearing the nonce.
string nonce = 4;- 返回:
- This builder for chaining.
-
setNonceBytes
The nonce provides a way to explicitly ack a specific MeshConfigResponse in a following MeshConfigRequest. Additional messages may have been sent by client to the management server for the previous version on the stream prior to this MeshConfigResponse, that were unprocessed at response send time. The nonce allows the management server to ignore any further MeshConfigRequests for the previous version until a MeshConfigRequest bearing the nonce.
string nonce = 4;- 参数:
value- The bytes for nonce to set.- 返回:
- This builder for chaining.
-
setUnknownFields
public final Mcp.MeshConfigResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-
mergeUnknownFields
public final Mcp.MeshConfigResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigResponse.Builder>
-