var File_envoy_extensions_health_checkers_thrift_v3_thrift_proto protoreflect.FileDescriptor
type Thrift struct { // Specifies the method name that will be set on each health check request dispatched to an upstream host. // Note that method name is case sensitive. MethodName string `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` // Configures the transport type to be used with the health checks. Note that // :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>` // is not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>` // since it's possible to set to :ref:`AUTO_TRANSPORT<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.TransportType.AUTO_TRANSPORT>`. // [#extension-category: envoy.filters.network] Transport v3.TransportType `protobuf:"varint,2,opt,name=transport,proto3,enum=envoy.extensions.filters.network.thrift_proxy.v3.TransportType" json:"transport,omitempty"` // Configures the protocol type to be used with the health checks. Note that // :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>` // and :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>` // are not supported, and we don't honor :ref:`ThriftProtocolOptions<envoy_v3_api_msg_extensions.filters.network.thrift_proxy.v3.ThriftProtocolOptions>` // since it's possible to set to :ref:`AUTO_PROTOCOL<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.AUTO_PROTOCOL>` // or :ref:`TWITTER<envoy_v3_api_enum_value_extensions.filters.network.thrift_proxy.v3.ProtocolType.TWITTER>`. Protocol v3.ProtocolType `protobuf:"varint,3,opt,name=protocol,proto3,enum=envoy.extensions.filters.network.thrift_proxy.v3.ProtocolType" json:"protocol,omitempty"` // contains filtered or unexported fields }
func (*Thrift) Descriptor() ([]byte, []int)
Deprecated: Use Thrift.ProtoReflect.Descriptor instead.
func (x *Thrift) GetMethodName() string
func (x *Thrift) GetProtocol() v3.ProtocolType
func (x *Thrift) GetTransport() v3.TransportType
func (*Thrift) ProtoMessage()
func (x *Thrift) ProtoReflect() protoreflect.Message
func (x *Thrift) Reset()
func (x *Thrift) String() string
func (m *Thrift) Validate() error
Validate checks the field values on Thrift with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (m *Thrift) ValidateAll() error
ValidateAll checks the field values on Thrift with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ThriftMultiError, or nil if none found.
ThriftMultiError is an error wrapping multiple validation errors returned by Thrift.ValidateAll() if the designated constraints aren't met.
type ThriftMultiError []error
func (m ThriftMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (m ThriftMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
ThriftValidationError is the validation error returned by Thrift.Validate if the designated constraints aren't met.
type ThriftValidationError struct {
// contains filtered or unexported fields
}
func (e ThriftValidationError) Cause() error
Cause function returns cause value.
func (e ThriftValidationError) Error() string
Error satisfies the builtin error interface
func (e ThriftValidationError) ErrorName() string
ErrorName returns error name.
func (e ThriftValidationError) Field() string
Field function returns field value.
func (e ThriftValidationError) Key() bool
Key function returns key value.
func (e ThriftValidationError) Reason() string
Reason function returns reason value.