public class SupportedProtocol
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
SupportedProtocol.Builder
RecordBuilder for SupportedProtocol instances.
|
Modifier and Type | Field and Description |
---|---|
int |
protocol
Deprecated.
|
Map<CharSequence,DataValue> |
protocolCapabilities
Deprecated.
|
Version |
protocolVersion
Deprecated.
|
CharSequence |
role
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
SupportedProtocol()
Default constructor.
|
SupportedProtocol(Integer protocol,
Version protocolVersion,
CharSequence role,
Map<CharSequence,DataValue> protocolCapabilities)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Integer |
getProtocol()
Gets the value of the 'protocol' field.
|
Map<CharSequence,DataValue> |
getProtocolCapabilities()
Gets the value of the 'protocolCapabilities' field.
|
Version |
getProtocolVersion()
Gets the value of the 'protocolVersion' field.
|
CharSequence |
getRole()
Gets the value of the 'role' field.
|
org.apache.avro.Schema |
getSchema() |
static SupportedProtocol.Builder |
newBuilder()
Creates a new SupportedProtocol RecordBuilder
|
static SupportedProtocol.Builder |
newBuilder(SupportedProtocol.Builder other)
Creates a new SupportedProtocol RecordBuilder by copying an existing Builder
|
static SupportedProtocol.Builder |
newBuilder(SupportedProtocol other)
Creates a new SupportedProtocol RecordBuilder by copying an existing SupportedProtocol instance
|
void |
put(int field$,
Object value$) |
void |
setProtocol(Integer value)
Sets the value of the 'protocol' field.
|
void |
setProtocolCapabilities(Map<CharSequence,DataValue> value)
Sets the value of the 'protocolCapabilities' field.
|
void |
setProtocolVersion(Version value)
Sets the value of the 'protocolVersion' field.
|
void |
setRole(CharSequence value)
Sets the value of the 'role' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public int protocol
@Deprecated public Version protocolVersion
@Deprecated public CharSequence role
@Deprecated public Map<CharSequence,DataValue> protocolCapabilities
public SupportedProtocol()
newBuilder()
.public SupportedProtocol(Integer protocol, Version protocolVersion, CharSequence role, Map<CharSequence,DataValue> protocolCapabilities)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public Integer getProtocol()
public void setProtocol(Integer value)
value
- the value to set.public Version getProtocolVersion()
public void setProtocolVersion(Version value)
value
- the value to set.public CharSequence getRole()
public void setRole(CharSequence value)
value
- the value to set.public Map<CharSequence,DataValue> getProtocolCapabilities()
public void setProtocolCapabilities(Map<CharSequence,DataValue> value)
value
- the value to set.public static SupportedProtocol.Builder newBuilder()
public static SupportedProtocol.Builder newBuilder(SupportedProtocol.Builder other)
public static SupportedProtocol.Builder newBuilder(SupportedProtocol other)
Copyright © 2023 Petroware AS - https://petroware.no