类 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
封闭类:
Mcp.MeshConfigResponse

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
  • 方法详细资料

    • 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

      public Mcp.MeshConfigResponse getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
    • build

      public Mcp.MeshConfigResponse build()
      指定者:
      build 在接口中 com.google.protobuf.Message.Builder
      指定者:
      build 在接口中 com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Mcp.MeshConfigResponse 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

      public Mcp.MeshConfigResponse.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      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

      public String 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

      public Mcp.MeshConfigResponse.Builder setVersionInfo(String value)
       The version of the response data.
       
      string version_info = 1;
      参数:
      value - The versionInfo to set.
      返回:
      This builder for chaining.
    • clearVersionInfo

      public Mcp.MeshConfigResponse.Builder clearVersionInfo()
       The version of the response data.
       
      string version_info = 1;
      返回:
      This builder for chaining.
    • setVersionInfoBytes

      public Mcp.MeshConfigResponse.Builder setVersionInfoBytes(com.google.protobuf.ByteString value)
       The version of the response data.
       
      string version_info = 1;
      参数:
      value - The bytes for versionInfo to set.
      返回:
      This builder for chaining.
    • getResourcesList

      public List<ResourceOuterClass.Resource> getResourcesList()
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
      指定者:
      getResourcesList 在接口中 Mcp.MeshConfigResponseOrBuilder
    • getResourcesCount

      public int getResourcesCount()
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
      指定者:
      getResourcesCount 在接口中 Mcp.MeshConfigResponseOrBuilder
    • getResources

      public ResourceOuterClass.Resource getResources(int index)
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
      指定者:
      getResources 在接口中 Mcp.MeshConfigResponseOrBuilder
    • setResources

      public Mcp.MeshConfigResponse.Builder setResources(int index, ResourceOuterClass.Resource value)
       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

      public Mcp.MeshConfigResponse.Builder addResources(int index, ResourceOuterClass.Resource value)
       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(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

      public Mcp.MeshConfigResponse.Builder clearResources()
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
    • removeResources

      public Mcp.MeshConfigResponse.Builder removeResources(int index)
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
    • getResourcesBuilder

      public ResourceOuterClass.Resource.Builder getResourcesBuilder(int index)
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
    • getResourcesOrBuilder

      public ResourceOuterClass.ResourceOrBuilder getResourcesOrBuilder(int index)
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
      指定者:
      getResourcesOrBuilder 在接口中 Mcp.MeshConfigResponseOrBuilder
    • getResourcesOrBuilderList

      public List<? extends ResourceOuterClass.ResourceOrBuilder> getResourcesOrBuilderList()
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
      指定者:
      getResourcesOrBuilderList 在接口中 Mcp.MeshConfigResponseOrBuilder
    • addResourcesBuilder

      public ResourceOuterClass.Resource.Builder addResourcesBuilder()
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
    • addResourcesBuilder

      public ResourceOuterClass.Resource.Builder addResourcesBuilder(int index)
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
    • getResourcesBuilderList

      public List<ResourceOuterClass.Resource.Builder> getResourcesBuilderList()
       The response resources wrapped in the common MCP *Resource*
       message.
       
      repeated .istio.mcp.v1alpha1.Resource resources = 2 [(.gogoproto.nullable) = false];
    • getTypeUrl

      public String 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

      public Mcp.MeshConfigResponse.Builder setTypeUrl(String value)
       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

      public Mcp.MeshConfigResponse.Builder 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

      public Mcp.MeshConfigResponse.Builder setTypeUrlBytes(com.google.protobuf.ByteString value)
       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

      public String 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

      public Mcp.MeshConfigResponse.Builder setNonce(String value)
       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

      public Mcp.MeshConfigResponse.Builder 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

      public Mcp.MeshConfigResponse.Builder setNonceBytes(com.google.protobuf.ByteString value)
       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>