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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int END_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int NOTE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int START_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static NetworkAddressReservation getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static NetworkAddressReservation.Builder newBuilder()
public static NetworkAddressReservation.Builder newBuilder(NetworkAddressReservation prototype)
public static NetworkAddressReservation parseDelimitedFrom(InputStream input)
public static NetworkAddressReservation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkAddressReservation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static NetworkAddressReservation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkAddressReservation parseFrom(ByteString data)
public static NetworkAddressReservation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkAddressReservation parseFrom(CodedInputStream input)
public static NetworkAddressReservation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkAddressReservation parseFrom(InputStream input)
public static NetworkAddressReservation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkAddressReservation parseFrom(ByteBuffer data)
public static NetworkAddressReservation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<NetworkAddressReservation> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public NetworkAddressReservation getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for note.
|
public Parser<NetworkAddressReservation> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public NetworkAddressReservation.Builder newBuilderForType()
protected NetworkAddressReservation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public NetworkAddressReservation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides