public final class NetworkAddressReservation extends GeneratedMessageV3 implements NetworkAddressReservationOrBuilder
A reservation of one or more addresses in a network.
Protobuf type google.cloud.baremetalsolution.v2.NetworkAddressReservation
Static Fields
public static final int END_ADDRESS_FIELD_NUMBER
Field Value
public static final int NOTE_FIELD_NUMBER
Field Value
public static final int START_ADDRESS_FIELD_NUMBER
Field Value
Static Methods
public static NetworkAddressReservation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static NetworkAddressReservation.Builder newBuilder()
Returns
public static NetworkAddressReservation.Builder newBuilder(NetworkAddressReservation prototype)
Parameter
Returns
public static NetworkAddressReservation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkAddressReservation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAddressReservation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static NetworkAddressReservation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAddressReservation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static NetworkAddressReservation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAddressReservation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NetworkAddressReservation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAddressReservation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkAddressReservation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAddressReservation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static NetworkAddressReservation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<NetworkAddressReservation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public NetworkAddressReservation getDefaultInstanceForType()
Returns
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.
|
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.
|
A note about this reservation, intended for human consumption.
string note = 3;
Returns
Type | Description |
String | The note.
|
public ByteString getNoteBytes()
A note about this reservation, intended for human consumption.
string note = 3;
Returns
public Parser<NetworkAddressReservation> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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.
|
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public NetworkAddressReservation.Builder newBuilderForType()
Returns
protected NetworkAddressReservation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public NetworkAddressReservation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions