public class RequestSession
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
RequestSession.Builder
RecordBuilder for RequestSession instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
applicationName
Deprecated.
|
CharSequence |
applicationVersion
Deprecated.
|
List<SupportedProtocol> |
requestedProtocols
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
List<CharSequence> |
supportedObjects
Deprecated.
|
Constructor and Description |
---|
RequestSession()
Default constructor.
|
RequestSession(CharSequence applicationName,
CharSequence applicationVersion,
List<SupportedProtocol> requestedProtocols,
List<CharSequence> supportedObjects)
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() |
List<SupportedProtocol> |
getRequestedProtocols()
Gets the value of the 'requestedProtocols' field.
|
org.apache.avro.Schema |
getSchema() |
List<CharSequence> |
getSupportedObjects()
Gets the value of the 'supportedObjects' field.
|
static RequestSession.Builder |
newBuilder()
Creates a new RequestSession RecordBuilder
|
static RequestSession.Builder |
newBuilder(RequestSession.Builder other)
Creates a new RequestSession RecordBuilder by copying an existing Builder
|
static RequestSession.Builder |
newBuilder(RequestSession other)
Creates a new RequestSession RecordBuilder by copying an existing RequestSession 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 |
setRequestedProtocols(List<SupportedProtocol> value)
Sets the value of the 'requestedProtocols' field.
|
void |
setSupportedObjects(List<CharSequence> value)
Sets the value of the 'supportedObjects' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence applicationName
@Deprecated public CharSequence applicationVersion
@Deprecated public List<SupportedProtocol> requestedProtocols
@Deprecated public List<CharSequence> supportedObjects
public RequestSession()
newBuilder()
.public RequestSession(CharSequence applicationName, CharSequence applicationVersion, List<SupportedProtocol> requestedProtocols, List<CharSequence> supportedObjects)
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> getRequestedProtocols()
public void setRequestedProtocols(List<SupportedProtocol> value)
value
- the value to set.public List<CharSequence> getSupportedObjects()
public void setSupportedObjects(List<CharSequence> value)
value
- the value to set.public static RequestSession.Builder newBuilder()
public static RequestSession.Builder newBuilder(RequestSession.Builder other)
public static RequestSession.Builder newBuilder(RequestSession other)
Copyright © 2023 Petroware AS - https://petroware.no