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.
Index ¶
- func PartitionResponseHighestSupportedFlexVersion() int16
- func PartitionResponseHighestSupportedVersion() int16
- func PartitionResponseLowestSupportedFlexVersion() int16
- func PartitionResponseLowestSupportedVersion() int16
- type PartitionResponse
- func (o *PartitionResponse) ActiveProducers() []partitionresponse.ProducerState
- func (o *PartitionResponse) Clear()
- func (o *PartitionResponse) Equal(that *PartitionResponse) bool
- func (o *PartitionResponse) ErrorCode() int16
- func (o *PartitionResponse) ErrorMessage() fields.NullableString
- func (o *PartitionResponse) IsNil() bool
- func (o *PartitionResponse) MarshalJSON() ([]byte, error)
- func (o *PartitionResponse) PartitionIndex() int32
- func (o *PartitionResponse) Read(buf *bytes.Reader, version int16) error
- func (o *PartitionResponse) Release()
- func (o *PartitionResponse) SetActiveProducers(val []partitionresponse.ProducerState)
- func (o *PartitionResponse) SetDefault()
- func (o *PartitionResponse) SetErrorCode(val int16)
- func (o *PartitionResponse) SetErrorMessage(val fields.NullableString)
- func (o *PartitionResponse) SetPartitionIndex(val int32)
- func (o *PartitionResponse) SetUnknownTaggedFields(val []fields.RawTaggedField)
- func (o *PartitionResponse) SizeInBytes(version int16) (int, error)
- func (o *PartitionResponse) String() string
- func (o *PartitionResponse) UnknownTaggedFields() []fields.RawTaggedField
- func (o *PartitionResponse) Write(buf *typesbytes.SliceWriter, version int16) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PartitionResponseHighestSupportedFlexVersion ¶
func PartitionResponseHighestSupportedFlexVersion() int16
func PartitionResponseHighestSupportedVersion ¶
func PartitionResponseHighestSupportedVersion() int16
func PartitionResponseLowestSupportedFlexVersion ¶
func PartitionResponseLowestSupportedFlexVersion() int16
func PartitionResponseLowestSupportedVersion ¶
func PartitionResponseLowestSupportedVersion() int16
Types ¶
type PartitionResponse ¶
type PartitionResponse struct {
// contains filtered or unexported fields
}
func PartitionResponseDefault ¶
func PartitionResponseDefault() PartitionResponse
func (*PartitionResponse) ActiveProducers ¶
func (o *PartitionResponse) ActiveProducers() []partitionresponse.ProducerState
func (*PartitionResponse) Clear ¶
func (o *PartitionResponse) Clear()
func (*PartitionResponse) Equal ¶
func (o *PartitionResponse) Equal(that *PartitionResponse) bool
func (*PartitionResponse) ErrorCode ¶
func (o *PartitionResponse) ErrorCode() int16
func (*PartitionResponse) ErrorMessage ¶
func (o *PartitionResponse) ErrorMessage() fields.NullableString
func (*PartitionResponse) IsNil ¶
func (o *PartitionResponse) IsNil() bool
func (*PartitionResponse) MarshalJSON ¶
func (o *PartitionResponse) MarshalJSON() ([]byte, error)
func (*PartitionResponse) PartitionIndex ¶
func (o *PartitionResponse) PartitionIndex() int32
func (*PartitionResponse) Read ¶
func (o *PartitionResponse) Read(buf *bytes.Reader, version int16) error
func (*PartitionResponse) Release ¶
func (o *PartitionResponse) Release()
Release releases the dynamically allocated fields of this object by returning then to object pools
func (*PartitionResponse) SetActiveProducers ¶
func (o *PartitionResponse) SetActiveProducers(val []partitionresponse.ProducerState)
func (*PartitionResponse) SetDefault ¶
func (o *PartitionResponse) SetDefault()
func (*PartitionResponse) SetErrorCode ¶
func (o *PartitionResponse) SetErrorCode(val int16)
func (*PartitionResponse) SetErrorMessage ¶
func (o *PartitionResponse) SetErrorMessage(val fields.NullableString)
func (*PartitionResponse) SetPartitionIndex ¶
func (o *PartitionResponse) SetPartitionIndex(val int32)
func (*PartitionResponse) SetUnknownTaggedFields ¶
func (o *PartitionResponse) SetUnknownTaggedFields(val []fields.RawTaggedField)
func (*PartitionResponse) SizeInBytes ¶
func (o *PartitionResponse) SizeInBytes(version int16) (int, error)
SizeInBytes returns the size of this data structure in bytes when it's serialized
func (*PartitionResponse) String ¶
func (o *PartitionResponse) String() string
func (*PartitionResponse) UnknownTaggedFields ¶
func (o *PartitionResponse) UnknownTaggedFields() []fields.RawTaggedField
func (*PartitionResponse) Write ¶
func (o *PartitionResponse) Write(buf *typesbytes.SliceWriter, version int16) error
Click to show internal directories.
Click to hide internal directories.