public static class AvroNamingRegisterRequest.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<AvroNamingRegisterRequest> implements org.apache.avro.data.RecordBuilder<AvroNamingRegisterRequest>
Modifier and Type | Method and Description |
---|---|
AvroNamingRegisterRequest |
build() |
AvroNamingRegisterRequest.Builder |
clearHost()
Clears the value of the 'host' field.
|
AvroNamingRegisterRequest.Builder |
clearId()
Clears the value of the 'id' field.
|
AvroNamingRegisterRequest.Builder |
clearPort()
Clears the value of the 'port' field.
|
CharSequence |
getHost()
Gets the value of the 'host' field.
|
CharSequence |
getId()
Gets the value of the 'id' field.
|
Integer |
getPort()
Gets the value of the 'port' field.
|
boolean |
hasHost()
Checks whether the 'host' field has been set.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasPort()
Checks whether the 'port' field has been set.
|
AvroNamingRegisterRequest.Builder |
setHost(CharSequence value)
Sets the value of the 'host' field.
|
AvroNamingRegisterRequest.Builder |
setId(CharSequence value)
Sets the value of the 'id' field.
|
AvroNamingRegisterRequest.Builder |
setPort(int value)
Sets the value of the 'port' field.
|
public CharSequence getId()
public AvroNamingRegisterRequest.Builder setId(CharSequence value)
value
- The value of 'id'.public boolean hasId()
public AvroNamingRegisterRequest.Builder clearId()
public CharSequence getHost()
public AvroNamingRegisterRequest.Builder setHost(CharSequence value)
value
- The value of 'host'.public boolean hasHost()
public AvroNamingRegisterRequest.Builder clearHost()
public AvroNamingRegisterRequest.Builder setPort(int value)
value
- The value of 'port'.public boolean hasPort()
public AvroNamingRegisterRequest.Builder clearPort()
public AvroNamingRegisterRequest build()
build
in interface org.apache.avro.data.RecordBuilder<AvroNamingRegisterRequest>
Copyright © 2017 The Apache Software Foundation. All rights reserved.