public class Authentication
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
Authentication.Builder
RecordBuilder for Authentication instances.
|
| Modifier and Type | Field and Description |
|---|---|
ClientAuthentication |
client
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
UserAuthentication |
user
Deprecated.
|
| Constructor and Description |
|---|
Authentication()
Default constructor.
|
Authentication(ClientAuthentication client,
UserAuthentication user)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
ClientAuthentication |
getClient()
Gets the value of the 'client' field.
|
org.apache.avro.Schema |
getSchema() |
UserAuthentication |
getUser()
Gets the value of the 'user' field.
|
static Authentication.Builder |
newBuilder()
Creates a new Authentication RecordBuilder
|
static Authentication.Builder |
newBuilder(Authentication.Builder other)
Creates a new Authentication RecordBuilder by copying an existing Builder
|
static Authentication.Builder |
newBuilder(Authentication other)
Creates a new Authentication RecordBuilder by copying an existing Authentication instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setClient(ClientAuthentication value)
Sets the value of the 'client' field.
|
void |
setUser(UserAuthentication value)
Sets the value of the 'user' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public ClientAuthentication client
@Deprecated public UserAuthentication user
public Authentication()
newBuilder().public Authentication(ClientAuthentication client, UserAuthentication user)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic java.lang.Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
java.lang.Object value$)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic ClientAuthentication getClient()
public void setClient(ClientAuthentication value)
value - the value to set.public UserAuthentication getUser()
public void setUser(UserAuthentication value)
value - the value to set.public static Authentication.Builder newBuilder()
public static Authentication.Builder newBuilder(Authentication.Builder other)
public static Authentication.Builder newBuilder(Authentication other)