类 Mcp.MeshConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Mcp.MeshConfigRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
istio.mcp.v1alpha1.Mcp.MeshConfigRequest.Builder
所有已实现的接口:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Mcp.MeshConfigRequestOrBuilder, Cloneable
封闭类:
Mcp.MeshConfigRequest

public static final class Mcp.MeshConfigRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder> implements Mcp.MeshConfigRequestOrBuilder
 A MeshConfigRequest requests a set of versioned resources of the
 same type for a given client.
 
Protobuf type istio.mcp.v1alpha1.MeshConfigRequest
  • 方法详细资料

    • 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.MeshConfigRequest.Builder>
    • clear

      指定者:
      clear 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clear 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.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.MeshConfigRequest.Builder>
    • getDefaultInstanceForType

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

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

      public Mcp.MeshConfigRequest 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.MeshConfigRequest.Builder>
    • setField

      public Mcp.MeshConfigRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      setField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
    • clearField

      public Mcp.MeshConfigRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      指定者:
      clearField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
    • clearOneof

      public Mcp.MeshConfigRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      指定者:
      clearOneof 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
    • setRepeatedField

      public Mcp.MeshConfigRequest.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.MeshConfigRequest.Builder>
    • addRepeatedField

      public Mcp.MeshConfigRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      addRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
    • mergeFrom

      public Mcp.MeshConfigRequest.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Mcp.MeshConfigRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
    • mergeFrom

      public Mcp.MeshConfigRequest.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.MeshConfigRequest.Builder>
      抛出:
      IOException
    • getVersionInfo

      public String getVersionInfo()
       The version_info provided in the request messages will be the
       version_info received with the most recent successfully processed
       response or empty on the first request. It is expected that no
       new request is sent after a response is received until the client
       instance is ready to ACK/NACK the new configuration. ACK/NACK
       takes place by returning the new API config version as applied or
       the previous API config version respectively. Each type_url (see
       below) has an independent version associated with it.
       
      string version_info = 1;
      指定者:
      getVersionInfo 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The versionInfo.
    • getVersionInfoBytes

      public com.google.protobuf.ByteString getVersionInfoBytes()
       The version_info provided in the request messages will be the
       version_info received with the most recent successfully processed
       response or empty on the first request. It is expected that no
       new request is sent after a response is received until the client
       instance is ready to ACK/NACK the new configuration. ACK/NACK
       takes place by returning the new API config version as applied or
       the previous API config version respectively. Each type_url (see
       below) has an independent version associated with it.
       
      string version_info = 1;
      指定者:
      getVersionInfoBytes 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The bytes for versionInfo.
    • setVersionInfo

      public Mcp.MeshConfigRequest.Builder setVersionInfo(String value)
       The version_info provided in the request messages will be the
       version_info received with the most recent successfully processed
       response or empty on the first request. It is expected that no
       new request is sent after a response is received until the client
       instance is ready to ACK/NACK the new configuration. ACK/NACK
       takes place by returning the new API config version as applied or
       the previous API config version respectively. Each type_url (see
       below) has an independent version associated with it.
       
      string version_info = 1;
      参数:
      value - The versionInfo to set.
      返回:
      This builder for chaining.
    • clearVersionInfo

      public Mcp.MeshConfigRequest.Builder clearVersionInfo()
       The version_info provided in the request messages will be the
       version_info received with the most recent successfully processed
       response or empty on the first request. It is expected that no
       new request is sent after a response is received until the client
       instance is ready to ACK/NACK the new configuration. ACK/NACK
       takes place by returning the new API config version as applied or
       the previous API config version respectively. Each type_url (see
       below) has an independent version associated with it.
       
      string version_info = 1;
      返回:
      This builder for chaining.
    • setVersionInfoBytes

      public Mcp.MeshConfigRequest.Builder setVersionInfoBytes(com.google.protobuf.ByteString value)
       The version_info provided in the request messages will be the
       version_info received with the most recent successfully processed
       response or empty on the first request. It is expected that no
       new request is sent after a response is received until the client
       instance is ready to ACK/NACK the new configuration. ACK/NACK
       takes place by returning the new API config version as applied or
       the previous API config version respectively. Each type_url (see
       below) has an independent version associated with it.
       
      string version_info = 1;
      参数:
      value - The bytes for versionInfo to set.
      返回:
      This builder for chaining.
    • hasSinkNode

      public boolean hasSinkNode()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
      指定者:
      hasSinkNode 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      Whether the sinkNode field is set.
    • getSinkNode

      public Mcp.SinkNode getSinkNode()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
      指定者:
      getSinkNode 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The sinkNode.
    • setSinkNode

      public Mcp.MeshConfigRequest.Builder setSinkNode(Mcp.SinkNode value)
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
    • setSinkNode

      public Mcp.MeshConfigRequest.Builder setSinkNode(Mcp.SinkNode.Builder builderForValue)
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
    • mergeSinkNode

      public Mcp.MeshConfigRequest.Builder mergeSinkNode(Mcp.SinkNode value)
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
    • clearSinkNode

      public Mcp.MeshConfigRequest.Builder clearSinkNode()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
    • getSinkNodeBuilder

      public Mcp.SinkNode.Builder getSinkNodeBuilder()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
    • getSinkNodeOrBuilder

      public Mcp.SinkNodeOrBuilder getSinkNodeOrBuilder()
       The sink node making the request.
       
      .istio.mcp.v1alpha1.SinkNode sink_node = 2;
      指定者:
      getSinkNodeOrBuilder 在接口中 Mcp.MeshConfigRequestOrBuilder
    • getTypeUrl

      public String getTypeUrl()
       Type of the resource that is being requested, e.g.
       "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
       
      string type_url = 3;
      指定者:
      getTypeUrl 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      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 = 3;
      指定者:
      getTypeUrlBytes 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The bytes for typeUrl.
    • setTypeUrl

      public Mcp.MeshConfigRequest.Builder setTypeUrl(String value)
       Type of the resource that is being requested, e.g.
       "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
       
      string type_url = 3;
      参数:
      value - The typeUrl to set.
      返回:
      This builder for chaining.
    • clearTypeUrl

      public Mcp.MeshConfigRequest.Builder clearTypeUrl()
       Type of the resource that is being requested, e.g.
       "type.googleapis.com/istio.io.networking.v1alpha3.VirtualService".
       
      string type_url = 3;
      返回:
      This builder for chaining.
    • setTypeUrlBytes

      public Mcp.MeshConfigRequest.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 = 3;
      参数:
      value - The bytes for typeUrl to set.
      返回:
      This builder for chaining.
    • getResponseNonce

      public String getResponseNonce()
       The nonce corresponding to MeshConfigResponse being
       ACK/NACKed. See above discussion on version_info and the
       MeshConfigResponse nonce comment. This may be empty if no nonce is
       available, e.g. at startup.
       
      string response_nonce = 4;
      指定者:
      getResponseNonce 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The responseNonce.
    • getResponseNonceBytes

      public com.google.protobuf.ByteString getResponseNonceBytes()
       The nonce corresponding to MeshConfigResponse being
       ACK/NACKed. See above discussion on version_info and the
       MeshConfigResponse nonce comment. This may be empty if no nonce is
       available, e.g. at startup.
       
      string response_nonce = 4;
      指定者:
      getResponseNonceBytes 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The bytes for responseNonce.
    • setResponseNonce

      public Mcp.MeshConfigRequest.Builder setResponseNonce(String value)
       The nonce corresponding to MeshConfigResponse being
       ACK/NACKed. See above discussion on version_info and the
       MeshConfigResponse nonce comment. This may be empty if no nonce is
       available, e.g. at startup.
       
      string response_nonce = 4;
      参数:
      value - The responseNonce to set.
      返回:
      This builder for chaining.
    • clearResponseNonce

      public Mcp.MeshConfigRequest.Builder clearResponseNonce()
       The nonce corresponding to MeshConfigResponse being
       ACK/NACKed. See above discussion on version_info and the
       MeshConfigResponse nonce comment. This may be empty if no nonce is
       available, e.g. at startup.
       
      string response_nonce = 4;
      返回:
      This builder for chaining.
    • setResponseNonceBytes

      public Mcp.MeshConfigRequest.Builder setResponseNonceBytes(com.google.protobuf.ByteString value)
       The nonce corresponding to MeshConfigResponse being
       ACK/NACKed. See above discussion on version_info and the
       MeshConfigResponse nonce comment. This may be empty if no nonce is
       available, e.g. at startup.
       
      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 MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
      指定者:
      hasErrorDetail 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      Whether the errorDetail field is set.
    • getErrorDetail

      public com.google.rpc.Status getErrorDetail()
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
      指定者:
      getErrorDetail 在接口中 Mcp.MeshConfigRequestOrBuilder
      返回:
      The errorDetail.
    • setErrorDetail

      public Mcp.MeshConfigRequest.Builder setErrorDetail(com.google.rpc.Status value)
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
    • setErrorDetail

      public Mcp.MeshConfigRequest.Builder setErrorDetail(com.google.rpc.Status.Builder builderForValue)
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
    • mergeErrorDetail

      public Mcp.MeshConfigRequest.Builder mergeErrorDetail(com.google.rpc.Status value)
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
    • clearErrorDetail

      public Mcp.MeshConfigRequest.Builder clearErrorDetail()
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
    • getErrorDetailBuilder

      public com.google.rpc.Status.Builder getErrorDetailBuilder()
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
    • getErrorDetailOrBuilder

      public com.google.rpc.StatusOrBuilder getErrorDetailOrBuilder()
       This is populated when the previous MeshConfigResponse failed to
       update configuration. The *message* field in *error_details*
       provides the client internal exception related to the failure. It
       is only intended for consumption during manual debugging, the
       string provided is not guaranteed to be stable across client
       versions.
       
      .google.rpc.Status error_detail = 5;
      指定者:
      getErrorDetailOrBuilder 在接口中 Mcp.MeshConfigRequestOrBuilder
    • setUnknownFields

      public final Mcp.MeshConfigRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      setUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>
    • mergeUnknownFields

      public final Mcp.MeshConfigRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Mcp.MeshConfigRequest.Builder>