public static class SupportedProtocol.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<SupportedProtocol> implements org.apache.avro.data.RecordBuilder<SupportedProtocol>
Modifier and Type | Method and Description |
---|---|
SupportedProtocol |
build() |
SupportedProtocol.Builder |
clearProtocol()
Clears the value of the 'protocol' field
|
SupportedProtocol.Builder |
clearProtocolCapabilities()
Clears the value of the 'protocolCapabilities' field
|
SupportedProtocol.Builder |
clearProtocolVersion()
Clears the value of the 'protocolVersion' field
|
SupportedProtocol.Builder |
clearRole()
Clears the value of the 'role' field
|
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
|
boolean |
hasProtocol()
Checks whether the 'protocol' field has been set
|
boolean |
hasProtocolCapabilities()
Checks whether the 'protocolCapabilities' field has been set
|
boolean |
hasProtocolVersion()
Checks whether the 'protocolVersion' field has been set
|
boolean |
hasRole()
Checks whether the 'role' field has been set
|
SupportedProtocol.Builder |
setProtocol(int value)
Sets the value of the 'protocol' field
|
SupportedProtocol.Builder |
setProtocolCapabilities(Map<CharSequence,DataValue> value)
Sets the value of the 'protocolCapabilities' field
|
SupportedProtocol.Builder |
setProtocolVersion(Version value)
Sets the value of the 'protocolVersion' field
|
SupportedProtocol.Builder |
setRole(CharSequence value)
Sets the value of the 'role' field
|
public Integer getProtocol()
public SupportedProtocol.Builder setProtocol(int value)
public boolean hasProtocol()
public SupportedProtocol.Builder clearProtocol()
public Version getProtocolVersion()
public SupportedProtocol.Builder setProtocolVersion(Version value)
public boolean hasProtocolVersion()
public SupportedProtocol.Builder clearProtocolVersion()
public CharSequence getRole()
public SupportedProtocol.Builder setRole(CharSequence value)
public boolean hasRole()
public SupportedProtocol.Builder clearRole()
public Map<CharSequence,DataValue> getProtocolCapabilities()
public SupportedProtocol.Builder setProtocolCapabilities(Map<CharSequence,DataValue> value)
public boolean hasProtocolCapabilities()
public SupportedProtocol.Builder clearProtocolCapabilities()
public SupportedProtocol build()
build
in interface org.apache.avro.data.RecordBuilder<SupportedProtocol>
Copyright © 2023 Petroware AS - https://petroware.no