| Modifier and Type | Field and Description |
|---|---|
List<Service> |
Car.serviceHistory
Deprecated.
|
List<Service> |
NewCar.serviceHistory
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Service |
Service.Builder.build() |
static Service |
Service.fromByteBuffer(ByteBuffer b)
Deserializes a Service from a ByteBuffer.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.avro.message.BinaryMessageDecoder<Service> |
Service.createDecoder(org.apache.avro.message.SchemaStore resolver)
Create a new BinaryMessageDecoder instance for this class that uses the specified
SchemaStore. |
static org.apache.avro.message.BinaryMessageDecoder<Service> |
Service.getDecoder()
Return the BinaryMessageDecoder instance used by this class.
|
static org.apache.avro.message.BinaryMessageEncoder<Service> |
Service.getEncoder()
Return the BinaryMessageEncoder instance used by this class.
|
List<Service> |
Car.getServiceHistory()
Gets the value of the 'serviceHistory' field.
|
List<Service> |
Car.Builder.getServiceHistory()
Gets the value of the 'serviceHistory' field.
|
List<Service> |
NewCar.getServiceHistory()
Gets the value of the 'serviceHistory' field.
|
List<Service> |
NewCar.Builder.getServiceHistory()
Gets the value of the 'serviceHistory' field.
|
| Modifier and Type | Method and Description |
|---|---|
static Service.Builder |
Service.newBuilder(Service other)
Creates a new Service RecordBuilder by copying an existing Service instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Car.setServiceHistory(List<Service> value)
Sets the value of the 'serviceHistory' field.
|
Car.Builder |
Car.Builder.setServiceHistory(List<Service> value)
Sets the value of the 'serviceHistory' field.
|
void |
NewCar.setServiceHistory(List<Service> value)
Sets the value of the 'serviceHistory' field.
|
NewCar.Builder |
NewCar.Builder.setServiceHistory(List<Service> value)
Sets the value of the 'serviceHistory' field.
|
| Constructor and Description |
|---|
Car(Long year,
String registration,
String make,
String model,
Vin vin,
Integer doors,
Engine engine,
Object optionalExtra,
List<Service> serviceHistory)
All-args constructor.
|
NewCar(Long year,
String registration,
String brand,
String model,
Vin vin,
Long doors,
Engine engine,
Object optionalExtra,
List<Service> serviceHistory,
Integer opt,
String description)
All-args constructor.
|
Copyright © 2021 The Apache Software Foundation. All rights reserved.