public class UserAuthentication
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
UserAuthentication.Builder
RecordBuilder for UserAuthentication instances.
|
| Modifier and Type | Field and Description |
|---|---|
java.util.List<java.lang.CharSequence> |
authorities
Deprecated.
|
java.lang.CharSequence |
id
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
| Constructor and Description |
|---|
UserAuthentication()
Default constructor.
|
UserAuthentication(java.lang.CharSequence id,
java.util.List<java.lang.CharSequence> authorities)
All-args constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(int field$) |
java.util.List<java.lang.CharSequence> |
getAuthorities()
Gets the value of the 'authorities' field.
|
static org.apache.avro.Schema |
getClassSchema() |
java.lang.CharSequence |
getId()
Gets the value of the 'id' field.
|
org.apache.avro.Schema |
getSchema() |
static UserAuthentication.Builder |
newBuilder()
Creates a new UserAuthentication RecordBuilder
|
static UserAuthentication.Builder |
newBuilder(UserAuthentication.Builder other)
Creates a new UserAuthentication RecordBuilder by copying an existing Builder
|
static UserAuthentication.Builder |
newBuilder(UserAuthentication other)
Creates a new UserAuthentication RecordBuilder by copying an existing UserAuthentication instance
|
void |
put(int field$,
java.lang.Object value$) |
void |
setAuthorities(java.util.List<java.lang.CharSequence> value)
Sets the value of the 'authorities' field.
|
void |
setId(java.lang.CharSequence value)
Sets the value of the 'id' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public java.lang.CharSequence id
@Deprecated public java.util.List<java.lang.CharSequence> authorities
public UserAuthentication()
newBuilder().public UserAuthentication(java.lang.CharSequence id,
java.util.List<java.lang.CharSequence> authorities)
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 java.lang.CharSequence getId()
public void setId(java.lang.CharSequence value)
value - the value to set.public java.util.List<java.lang.CharSequence> getAuthorities()
public void setAuthorities(java.util.List<java.lang.CharSequence> value)
value - the value to set.public static UserAuthentication.Builder newBuilder()
public static UserAuthentication.Builder newBuilder(UserAuthentication.Builder other)
public static UserAuthentication.Builder newBuilder(UserAuthentication other)