produce

package
v0.0.0-...-15099dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Copyright (c) 2023 Cisco and/or its affiliates. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestHighestSupportedFlexVersion

func RequestHighestSupportedFlexVersion() int16

func RequestHighestSupportedVersion

func RequestHighestSupportedVersion() int16

func RequestLowestSupportedFlexVersion

func RequestLowestSupportedFlexVersion() int16

func RequestLowestSupportedVersion

func RequestLowestSupportedVersion() int16

func ResponseHighestSupportedFlexVersion

func ResponseHighestSupportedFlexVersion() int16

func ResponseHighestSupportedVersion

func ResponseHighestSupportedVersion() int16

func ResponseLowestSupportedFlexVersion

func ResponseLowestSupportedFlexVersion() int16

func ResponseLowestSupportedVersion

func ResponseLowestSupportedVersion() int16

Types

type Request

type Request struct {
	// contains filtered or unexported fields
}

func RequestDefault

func RequestDefault() Request

func (*Request) Acks

func (o *Request) Acks() int16

func (*Request) ApiKey

func (o *Request) ApiKey() int16

func (*Request) Clear

func (o *Request) Clear()

func (*Request) Equal

func (o *Request) Equal(that *Request) bool

func (*Request) IsNil

func (o *Request) IsNil() bool

func (*Request) MarshalJSON

func (o *Request) MarshalJSON() ([]byte, error)

func (*Request) Read

func (o *Request) Read(buf *bytes.Reader, version int16) error

func (*Request) Release

func (o *Request) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*Request) SetAcks

func (o *Request) SetAcks(val int16)

func (*Request) SetDefault

func (o *Request) SetDefault()

func (*Request) SetTimeoutMs

func (o *Request) SetTimeoutMs(val int32)

func (*Request) SetTopicData

func (o *Request) SetTopicData(val []request.TopicProduceData)

func (*Request) SetTransactionalId

func (o *Request) SetTransactionalId(val fields.NullableString)

func (*Request) SetUnknownTaggedFields

func (o *Request) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*Request) SizeInBytes

func (o *Request) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*Request) String

func (o *Request) String() string

func (*Request) TimeoutMs

func (o *Request) TimeoutMs() int32

func (*Request) TopicData

func (o *Request) TopicData() []request.TopicProduceData

func (*Request) TransactionalId

func (o *Request) TransactionalId() fields.NullableString

func (*Request) UnknownTaggedFields

func (o *Request) UnknownTaggedFields() []fields.RawTaggedField

func (*Request) Write

func (o *Request) Write(buf *typesbytes.SliceWriter, version int16) error

type Response

type Response struct {
	// contains filtered or unexported fields
}

func ResponseDefault

func ResponseDefault() Response

func (*Response) ApiKey

func (o *Response) ApiKey() int16

func (*Response) Clear

func (o *Response) Clear()

func (*Response) Equal

func (o *Response) Equal(that *Response) bool

func (*Response) IsNil

func (o *Response) IsNil() bool

func (*Response) MarshalJSON

func (o *Response) MarshalJSON() ([]byte, error)

func (*Response) Read

func (o *Response) Read(buf *bytes.Reader, version int16) error

func (*Response) Release

func (o *Response) Release()

Release releases the dynamically allocated fields of this object by returning then to object pools

func (*Response) Responses

func (o *Response) Responses() []response.TopicProduceResponse

func (*Response) SetDefault

func (o *Response) SetDefault()

func (*Response) SetResponses

func (o *Response) SetResponses(val []response.TopicProduceResponse)

func (*Response) SetThrottleTimeMs

func (o *Response) SetThrottleTimeMs(val int32)

func (*Response) SetUnknownTaggedFields

func (o *Response) SetUnknownTaggedFields(val []fields.RawTaggedField)

func (*Response) SizeInBytes

func (o *Response) SizeInBytes(version int16) (int, error)

SizeInBytes returns the size of this data structure in bytes when it's serialized

func (*Response) String

func (o *Response) String() string

func (*Response) ThrottleTimeMs

func (o *Response) ThrottleTimeMs() int32

func (*Response) UnknownTaggedFields

func (o *Response) UnknownTaggedFields() []fields.RawTaggedField

func (*Response) Write

func (o *Response) Write(buf *typesbytes.SliceWriter, version int16) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL