public class Contact
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
Contact.Builder
RecordBuilder for Contact instances.
|
Modifier and Type | Field and Description |
---|---|
CharSequence |
contactEmail
Deprecated.
|
CharSequence |
contactName
Deprecated.
|
CharSequence |
contactPhone
Deprecated.
|
CharSequence |
organizationName
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
Constructor and Description |
---|
Contact()
Default constructor.
|
Contact(CharSequence organizationName,
CharSequence contactName,
CharSequence contactPhone,
CharSequence contactEmail)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
CharSequence |
getContactEmail()
Gets the value of the 'contactEmail' field.
|
CharSequence |
getContactName()
Gets the value of the 'contactName' field.
|
CharSequence |
getContactPhone()
Gets the value of the 'contactPhone' field.
|
CharSequence |
getOrganizationName()
Gets the value of the 'organizationName' field.
|
org.apache.avro.Schema |
getSchema() |
static Contact.Builder |
newBuilder()
Creates a new Contact RecordBuilder
|
static Contact.Builder |
newBuilder(Contact.Builder other)
Creates a new Contact RecordBuilder by copying an existing Builder
|
static Contact.Builder |
newBuilder(Contact other)
Creates a new Contact RecordBuilder by copying an existing Contact instance
|
void |
put(int field$,
Object value$) |
void |
setContactEmail(CharSequence value)
Sets the value of the 'contactEmail' field.
|
void |
setContactName(CharSequence value)
Sets the value of the 'contactName' field.
|
void |
setContactPhone(CharSequence value)
Sets the value of the 'contactPhone' field.
|
void |
setOrganizationName(CharSequence value)
Sets the value of the 'organizationName' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence organizationName
@Deprecated public CharSequence contactName
@Deprecated public CharSequence contactPhone
@Deprecated public CharSequence contactEmail
public Contact()
newBuilder()
.public Contact(CharSequence organizationName, CharSequence contactName, CharSequence contactPhone, CharSequence contactEmail)
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 getOrganizationName()
public void setOrganizationName(CharSequence value)
value
- the value to set.public CharSequence getContactName()
public void setContactName(CharSequence value)
value
- the value to set.public CharSequence getContactPhone()
public void setContactPhone(CharSequence value)
value
- the value to set.public CharSequence getContactEmail()
public void setContactEmail(CharSequence value)
value
- the value to set.public static Contact.Builder newBuilder()
public static Contact.Builder newBuilder(Contact.Builder other)
public static Contact.Builder newBuilder(Contact other)
Copyright © 2023 Petroware AS - https://petroware.no