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 |
setServiceInfo(CharSequence value)
Sets the value of the 'serviceInfo' field.
|
void |
setServiceName(CharSequence value)
Sets the value of the 'serviceName' field.
|
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)
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 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)
public static AvroReefServiceInfo.Builder newBuilder(AvroReefServiceInfo other)
Copyright © 2015 The Apache Software Foundation. All rights reserved.