public class ServerCapabilities
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
ServerCapabilities.Builder
RecordBuilder for ServerCapabilities instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
applicationName
Deprecated.
|
CharSequence |
applicationVersion
Deprecated.
|
Contact |
contactInformation
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
supportedEncodings
Deprecated.
|
List<CharSequence> |
supportedObjects
Deprecated.
|
List<SupportedProtocol> |
supportedProtocols
Deprecated.
|
Constructor and Description |
---|
ServerCapabilities()
Default constructor.
|
ServerCapabilities(CharSequence applicationName,
CharSequence applicationVersion,
List<SupportedProtocol> supportedProtocols,
List<CharSequence> supportedObjects,
Contact contactInformation,
CharSequence supportedEncodings)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
CharSequence |
getApplicationName()
Gets the value of the 'applicationName' field.
|
CharSequence |
getApplicationVersion()
Gets the value of the 'applicationVersion' field.
|
static org.apache.avro.Schema |
getClassSchema() |
Contact |
getContactInformation()
Gets the value of the 'contactInformation' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getSupportedEncodings()
Gets the value of the 'supportedEncodings' field.
|
List<CharSequence> |
getSupportedObjects()
Gets the value of the 'supportedObjects' field.
|
List<SupportedProtocol> |
getSupportedProtocols()
Gets the value of the 'supportedProtocols' field.
|
static ServerCapabilities.Builder |
newBuilder()
Creates a new ServerCapabilities RecordBuilder
|
static ServerCapabilities.Builder |
newBuilder(ServerCapabilities.Builder other)
Creates a new ServerCapabilities RecordBuilder by copying an existing Builder
|
static ServerCapabilities.Builder |
newBuilder(ServerCapabilities other)
Creates a new ServerCapabilities RecordBuilder by copying an existing ServerCapabilities instance
|
void |
put(int field$,
Object value$) |
void |
setApplicationName(CharSequence value)
Sets the value of the 'applicationName' field.
|
void |
setApplicationVersion(CharSequence value)
Sets the value of the 'applicationVersion' field.
|
void |
setContactInformation(Contact value)
Sets the value of the 'contactInformation' field.
|
void |
setSupportedEncodings(CharSequence value)
Sets the value of the 'supportedEncodings' field.
|
void |
setSupportedObjects(List<CharSequence> value)
Sets the value of the 'supportedObjects' field.
|
void |
setSupportedProtocols(List<SupportedProtocol> value)
Sets the value of the 'supportedProtocols' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence applicationName
@Deprecated public CharSequence applicationVersion
@Deprecated public List<SupportedProtocol> supportedProtocols
@Deprecated public List<CharSequence> supportedObjects
@Deprecated public Contact contactInformation
@Deprecated public CharSequence supportedEncodings
public ServerCapabilities()
newBuilder()
.public ServerCapabilities(CharSequence applicationName, CharSequence applicationVersion, List<SupportedProtocol> supportedProtocols, List<CharSequence> supportedObjects, Contact contactInformation, CharSequence supportedEncodings)
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 CharSequence getApplicationName()
public void setApplicationName(CharSequence value)
value
- the value to set.public CharSequence getApplicationVersion()
public void setApplicationVersion(CharSequence value)
value
- the value to set.public List<SupportedProtocol> getSupportedProtocols()
public void setSupportedProtocols(List<SupportedProtocol> value)
value
- the value to set.public List<CharSequence> getSupportedObjects()
public void setSupportedObjects(List<CharSequence> value)
value
- the value to set.public Contact getContactInformation()
public void setContactInformation(Contact value)
value
- the value to set.public CharSequence getSupportedEncodings()
public void setSupportedEncodings(CharSequence value)
value
- the value to set.public static ServerCapabilities.Builder newBuilder()
public static ServerCapabilities.Builder newBuilder(ServerCapabilities.Builder other)
public static ServerCapabilities.Builder newBuilder(ServerCapabilities other)
Copyright © 2023 Petroware AS - https://petroware.no