Class ReservationAffinity (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class ReservationAffinity extends GeneratedMessageV3 implements ReservationAffinityOrBuilder

Reservation Affinity for consuming Zonal reservation.

Protobuf type google.cloud.notebooks.v1.ReservationAffinity

Static Fields

CONSUME_RESERVATION_TYPE_FIELD_NUMBER

public static final int CONSUME_RESERVATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
TypeDescription
int

VALUES_FIELD_NUMBER

public static final int VALUES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReservationAffinity getDefaultInstance()
Returns
TypeDescription
ReservationAffinity

getDescriptor()

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

newBuilder()

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

newBuilder(ReservationAffinity prototype)

public static ReservationAffinity.Builder newBuilder(ReservationAffinity prototype)
Parameter
NameDescription
prototypeReservationAffinity
Returns
TypeDescription
ReservationAffinity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReservationAffinity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inpu