Documentation ¶
Index ¶
- Variables
- type HashmapSourceAdapterConfig
- func (*HashmapSourceAdapterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HashmapSourceAdapterConfig) GetFormat() HashmapSourceAdapterConfig_Format
- func (*HashmapSourceAdapterConfig) ProtoMessage()
- func (x *HashmapSourceAdapterConfig) ProtoReflect() protoreflect.Message
- func (x *HashmapSourceAdapterConfig) Reset()
- func (x *HashmapSourceAdapterConfig) String() string
- type HashmapSourceAdapterConfig_Format
- func (HashmapSourceAdapterConfig_Format) Descriptor() protoreflect.EnumDescriptor
- func (x HashmapSourceAdapterConfig_Format) Enum() *HashmapSourceAdapterConfig_Format
- func (HashmapSourceAdapterConfig_Format) EnumDescriptor() ([]byte, []int)deprecated
- func (x HashmapSourceAdapterConfig_Format) Number() protoreflect.EnumNumber
- func (x HashmapSourceAdapterConfig_Format) String() string
- func (HashmapSourceAdapterConfig_Format) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HashmapSourceAdapterConfig_Format_name = map[int32]string{ 0: "SIMPLE_CSV", } HashmapSourceAdapterConfig_Format_value = map[string]int32{ "SIMPLE_CSV": 0, } )
Enum value maps for HashmapSourceAdapterConfig_Format.
View Source
var File_tensorflow_serving_servables_hashmap_hashmap_source_adapter_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HashmapSourceAdapterConfig ¶
type HashmapSourceAdapterConfig struct { Format HashmapSourceAdapterConfig_Format `protobuf:"varint,1,opt,name=format,proto3,enum=tensorflow.serving.HashmapSourceAdapterConfig_Format" json:"format,omitempty"` // contains filtered or unexported fields }
Config proto for HashmapSourceAdapter.
func (*HashmapSourceAdapterConfig) Descriptor
deprecated
func (*HashmapSourceAdapterConfig) Descriptor() ([]byte, []int)
Deprecated: Use HashmapSourceAdapterConfig.ProtoReflect.Descriptor instead.
func (*HashmapSourceAdapterConfig) GetFormat ¶
func (x *HashmapSourceAdapterConfig) GetFormat() HashmapSourceAdapterConfig_Format
func (*HashmapSourceAdapterConfig) ProtoMessage ¶
func (*HashmapSourceAdapterConfig) ProtoMessage()
func (*HashmapSourceAdapterConfig) ProtoReflect ¶
func (x *HashmapSourceAdapterConfig) ProtoReflect() protoreflect.Message
func (*HashmapSourceAdapterConfig) Reset ¶
func (x *HashmapSourceAdapterConfig) Reset()
func (*HashmapSourceAdapterConfig) String ¶
func (x *HashmapSourceAdapterConfig) String() string
type HashmapSourceAdapterConfig_Format ¶
type HashmapSourceAdapterConfig_Format int32
The format used by the file containing a serialized hashmap.
const ( // A simple kind of CSV text file of the form: // // key0,value0\n // key1,value1\n // ... HashmapSourceAdapterConfig_SIMPLE_CSV HashmapSourceAdapterConfig_Format = 0 )
func (HashmapSourceAdapterConfig_Format) Descriptor ¶
func (HashmapSourceAdapterConfig_Format) Descriptor() protoreflect.EnumDescriptor
func (HashmapSourceAdapterConfig_Format) Enum ¶
func (x HashmapSourceAdapterConfig_Format) Enum() *HashmapSourceAdapterConfig_Format
func (HashmapSourceAdapterConfig_Format) EnumDescriptor
deprecated
func (HashmapSourceAdapterConfig_Format) EnumDescriptor() ([]byte, []int)
Deprecated: Use HashmapSourceAdapterConfig_Format.Descriptor instead.
func (HashmapSourceAdapterConfig_Format) Number ¶
func (x HashmapSourceAdapterConfig_Format) Number() protoreflect.EnumNumber
func (HashmapSourceAdapterConfig_Format) String ¶
func (x HashmapSourceAdapterConfig_Format) String() string
func (HashmapSourceAdapterConfig_Format) Type ¶
func (HashmapSourceAdapterConfig_Format) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.