- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class NetworkAddressReservation.Builder extends GeneratedMessageV3.Builder<NetworkAddressReservation.Builder> implements NetworkAddressReservationOrBuilder
A reservation of one or more addresses in a network.
Protobuf type google.cloud.baremetalsolution.v2.NetworkAddressReservation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkAddressReservation.BuilderImplements
NetworkAddressReservationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkAddressReservation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
build()
public NetworkAddressReservation build()
Returns | |
---|---|
Type | Description |
NetworkAddressReservation |
buildPartial()
public NetworkAddressReservation buildPartial()
Returns | |
---|---|
Type | Description |
NetworkAddressReservation |
clear()
public NetworkAddressReservation.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
clearEndAddress()
public NetworkAddressReservation.Builder clearEndAddress()
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string end_address = 2;
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkAddressReservation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
clearNote()
public NetworkAddressReservation.Builder clearNote()
A note about this reservation, intended for human consumption.
string note = 3;
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkAddressReservation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
clearStartAddress()
public NetworkAddressReservation.Builder clearStartAddress()
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string start_address = 1;
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
clone()
public NetworkAddressReservation.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
getDefaultInstanceForType()
public NetworkAddressReservation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkAddressReservation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndAddress()
public String getEndAddress()
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string end_address = 2;
Returns | |
---|---|
Type | Description |
String |
The endAddress. |
getEndAddressBytes()
public ByteString getEndAddressBytes()
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string end_address = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for endAddress. |
getNote()
public String getNote()
A note about this reservation, intended for human consumption.
string note = 3;
Returns | |
---|---|
Type | Description |
String |
The note. |
getNoteBytes()
public ByteString getNoteBytes()
A note about this reservation, intended for human consumption.
string note = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for note. |
getStartAddress()
public String getStartAddress()
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string start_address = 1;
Returns | |
---|---|
Type | Description |
String |
The startAddress. |
getStartAddressBytes()
public ByteString getStartAddressBytes()
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string start_address = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for startAddress. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworkAddressReservation other)
public NetworkAddressReservation.Builder mergeFrom(NetworkAddressReservation other)
Parameter | |
---|---|
Name | Description |
other |
NetworkAddressReservation |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkAddressReservation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkAddressReservation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAddressReservation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
setEndAddress(String value)
public NetworkAddressReservation.Builder setEndAddress(String value)
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string end_address = 2;
Parameter | |
---|---|
Name | Description |
value |
String The endAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
setEndAddressBytes(ByteString value)
public NetworkAddressReservation.Builder setEndAddressBytes(ByteString value)
The last address of this reservation block, inclusive. I.e., for cases when reservations are only single addresses, end_address and start_address will be the same. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string end_address = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for endAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkAddressReservation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
setNote(String value)
public NetworkAddressReservation.Builder setNote(String value)
A note about this reservation, intended for human consumption.
string note = 3;
Parameter | |
---|---|
Name | Description |
value |
String The note to set. |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
setNoteBytes(ByteString value)
public NetworkAddressReservation.Builder setNoteBytes(ByteString value)
A note about this reservation, intended for human consumption.
string note = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for note to set. |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkAddressReservation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
setStartAddress(String value)
public NetworkAddressReservation.Builder setStartAddress(String value)
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string start_address = 1;
Parameter | |
---|---|
Name | Description |
value |
String The startAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
setStartAddressBytes(ByteString value)
public NetworkAddressReservation.Builder setStartAddressBytes(ByteString value)
The first address of this reservation block. Must be specified as a single IPv4 address, e.g. 10.1.2.2.
string start_address = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for startAddress to set. |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkAddressReservation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkAddressReservation.Builder |