Class ReservationSlotsGetVersionRequest.Builder (1.101.0)

public static final class ReservationSlotsGetVersionRequest.Builder extends GeneratedMessage.Builder<ReservationSlotsGetVersionRequest.Builder> implements ReservationSlotsGetVersionRequestOrBuilder

Protobuf type google.cloud.compute.v1.ReservationSlotsGetVersionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSbomSelections(Iterable<String> values)

public ReservationSlotsGetVersionRequest.Builder addAllSbomSelections(Iterable<String> values)

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Parameter
Name Description
values Iterable<String>

The sbomSelections to add.

Returns
Type Description
ReservationSlotsGetVersionRequest.Builder

This builder for chaining.

addSbomSelections(String value)

public ReservationSlotsGetVersionRequest.Builder addSbomSelections(String value)

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Parameter
Name Description
value String

The sbomSelections to add.

Returns
Type Description
ReservationSlotsGetVersionRequest.Builder

This builder for chaining.

addSbomSelectionsBytes(ByteString value)

public ReservationSlotsGetVersionRequest.Builder addSbomSelectionsBytes(ByteString value)

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Parameter
Name Description
value ByteString

The bytes of the sbomSelections to add.

Returns
Type Description
ReservationSlotsGetVersionRequest.Builder

This builder for chaining.

build()

public ReservationSlotsGetVersionRequest build()
Returns
Type Description
ReservationSlotsGetVersionRequest

buildPartial()

public ReservationSlotsGetVersionRequest buildPartial()
Returns
Type Description
ReservationSlotsGetVersionRequest

clear()

public ReservationSlotsGetVersionRequest.Builder clear()
Returns
Type Description
ReservationSlotsGetVersionRequest.Builder
Overrides

clearSbomSelections()

public ReservationSlotsGetVersionRequest.Builder clearSbomSelections()

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Returns
Type Description
ReservationSlotsGetVersionRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReservationSlotsGetVersionRequest getDefaultInstanceForType()
Returns
Type Description
ReservationSlotsGetVersionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSbomSelections(int index)

public String getSbomSelections(int index)

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sbomSelections at the given index.

getSbomSelectionsBytes(int index)

public ByteString getSbomSelectionsBytes(int index)

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sbomSelections at the given index.

getSbomSelectionsCount()

public int getSbomSelectionsCount()

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Returns
Type Description
int

The count of sbomSelections.

getSbomSelectionsList()

public ProtocolStringList getSbomSelectionsList()

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Returns
Type Description
ProtocolStringList

A list containing the sbomSelections.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReservationSlotsGetVersionRequest other)

public ReservationSlotsGetVersionRequest.Builder mergeFrom(ReservationSlotsGetVersionRequest other)
Parameter
Name Description
other ReservationSlotsGetVersionRequest
Returns
Type Description
ReservationSlotsGetVersionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReservationSlotsGetVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReservationSlotsGetVersionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReservationSlotsGetVersionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReservationSlotsGetVersionRequest.Builder
Overrides

setSbomSelections(int index, String value)

public ReservationSlotsGetVersionRequest.Builder setSbomSelections(int index, String value)

The SBOM selection to return. Duplicate values in the list will be ignored. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Parameters
Name Description
index int

The index to set the value at.

value String

The sbomSelections to set.

Returns
Type Description
ReservationSlotsGetVersionRequest.Builder

This builder for chaining.