public class AvroReefServiceInfo extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroReefServiceInfo.Builder
RecordBuilder for AvroReefServiceInfo instances.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
serviceInfo
Deprecated.
|
CharSequence |
serviceName
Deprecated.
|
Constructor and Description |
---|
AvroReefServiceInfo()
Default constructor.
|
AvroReefServiceInfo(CharSequence serviceName,
CharSequence serviceInfo)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
org.apache.avro.Schema |
getSchema() |
CharSequence |
getServiceInfo()
Gets the value of the 'serviceInfo' field.
|
CharSequence |
getServiceName()
Gets the value of the 'serviceName' field.
|
static AvroReefServiceInfo.Builder |
newBuilder()
Creates a new AvroReefServiceInfo RecordBuilder.
|
static AvroReefServiceInfo.Builder |
newBuilder(AvroReefServiceInfo.Builder other)
Creates a new AvroReefServiceInfo RecordBuilder by copying an existing Builder.
|
static AvroReefServiceInfo.Builder |
newBuilder(AvroReefServiceInfo other)
Creates a new AvroReefServiceInfo RecordBuilder by copying an existing AvroReefServiceInfo instance.
|
void |
put(int field$,
Object value$) |
void |
readExternal(ObjectInput in) |
void |
setServiceInfo(CharSequence value)
Sets the value of the 'serviceInfo' field.
|
void |
setServiceName(CharSequence value)
Sets the value of the 'serviceName' field.
|
void |
writeExternal(ObjectOutput out) |
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public CharSequence serviceName
@Deprecated public CharSequence serviceInfo
public AvroReefServiceInfo()
newBuilder()
.public AvroReefServiceInfo(CharSequence serviceName, CharSequence serviceInfo)
serviceName
- The new value for serviceNameserviceInfo
- The new value for serviceInfopublic 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 getServiceName()
public void setServiceName(CharSequence value)
value
- the value to set.public CharSequence getServiceInfo()
public void setServiceInfo(CharSequence value)
value
- the value to set.public static AvroReefServiceInfo.Builder newBuilder()
public static AvroReefServiceInfo.Builder newBuilder(AvroReefServiceInfo.Builder other)
other
- The existing builder to copy.public static AvroReefServiceInfo.Builder newBuilder(AvroReefServiceInfo other)
other
- The existing instance to copy.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
public void readExternal(ObjectInput in) throws IOException
readExternal
in interface Externalizable
readExternal
in class org.apache.avro.specific.SpecificRecordBase
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.