class Concord::Thrift::StreamMetadata

Constants

FIELDS
GROUPING
NAME

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen-rb/bolt_types.rb, line 96
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen-rb/bolt_types.rb, line 98
def validate
  unless @grouping.nil? || ::Concord::Thrift::StreamGrouping::VALID_VALUES.include?(@grouping)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field grouping!')
  end
end