Class ReservationsScopedList (1.12.1)

public final class ReservationsScopedList extends GeneratedMessageV3 implements ReservationsScopedListOrBuilder

Protobuf type google.cloud.compute.v1.ReservationsScopedList

Static Fields

RESERVATIONS_FIELD_NUMBER

public static final int RESERVATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReservationsScopedList getDefaultInstance()
Returns
TypeDescription
ReservationsScopedList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReservationsScopedList.Builder newBuilder()
Returns
TypeDescription
ReservationsScopedList.Builder

newBuilder(ReservationsScopedList prototype)

public static ReservationsScopedList.Builder newBuilder(ReservationsScopedList prototype)
Parameter
NameDescription
prototypeReservationsScopedList
Returns
TypeDescription
ReservationsScopedList.Builder

parseDelimitedFrom(InputStream input)

public static ReservationsScopedList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationsScopedList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReservationsScopedList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReservationsScopedList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReservationsScopedList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReservationsScopedList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReservationsScopedList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationsScopedList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReservationsScopedList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationsScopedList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReservationsScopedList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReservationsScopedList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReservationsScopedList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReservationsScopedList> parser()
Returns
TypeDescription
Parser<ReservationsScopedList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReservationsScopedList getDefaultInstanceForType()
Returns
TypeDescription
ReservationsScopedList

getParserForType()

public Parser<ReservationsScopedList> getParserForType()
Returns
TypeDescription
Parser<ReservationsScopedList>
Overrides

getReservations(int index)

public Reservation getReservations(int index)

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Parameter
NameDescription
indexint
Returns
TypeDescription
Reservation

getReservationsCount()

public int getReservationsCount()

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Returns
TypeDescription
int

getReservationsList()

public List<Reservation> getReservationsList()

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Returns
TypeDescription
List<Reservation>

getReservationsOrBuilder(int index)

public ReservationOrBuilder getReservationsOrBuilder(int index)

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReservationOrBuilder

getReservationsOrBuilderList()

public List<? extends ReservationOrBuilder> getReservationsOrBuilderList()

A list of reservations contained in this scope.

repeated .google.cloud.compute.v1.Reservation reservations = 399717927;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.ReservationOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWarning()

public Warning getWarning()

Informational warning which replaces the list of reservations when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of reservations when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of reservations when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
boolean

Whether the warning field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReservationsScopedList.Builder newBuilderForType()
Returns
TypeDescription
ReservationsScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReservationsScopedList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReservationsScopedList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReservationsScopedList.Builder toBuilder()
Returns
TypeDescription
ReservationsScopedList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException