Class ReservationSubBlocksGetVersionRequest.Builder (1.105.0)

public static final class ReservationSubBlocksGetVersionRequest.Builder extends GeneratedMessage.Builder<ReservationSubBlocksGetVersionRequest.Builder> implements ReservationSubBlocksGetVersionRequestOrBuilder

Protobuf type google.cloud.compute.v1.ReservationSubBlocksGetVersionRequest

Static Methods

getDescriptor()

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

Methods

addAllSbomSelections(Iterable<String> values)

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

The SBOM selection to return. 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
ReservationSubBlocksGetVersionRequest.Builder

This builder for chaining.

addSbomSelections(String value)

public ReservationSubBlocksGetVersionRequest.Builder addSbomSelections(String value)

The SBOM selection to return. 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
ReservationSubBlocksGetVersionRequest.Builder

This builder for chaining.

addSbomSelectionsBytes(ByteString value)

public ReservationSubBlocksGetVersionRequest.Builder addSbomSelectionsBytes(ByteString value)

The SBOM selection to return. 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
ReservationSubBlocksGetVersionRequest.Builder

This builder for chaining.

build()

public ReservationSubBlocksGetVersionRequest build()
Returns
Type Description
ReservationSubBlocksGetVersionRequest

buildPartial()

public ReservationSubBlocksGetVersionRequest buildPartial()
Returns
Type Description
ReservationSubBlocksGetVersionRequest

clear()

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

clearSbomSelections()

public ReservationSubBlocksGetVersionRequest.Builder clearSbomSelections()

The SBOM selection to return. Check the SbomSelections enum for the list of possible values.

repeated string sbom_selections = 69155705;

Returns
Type Description
ReservationSubBlocksGetVersionRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReservationSubBlocksGetVersionRequest getDefaultInstanceForType()
Returns
Type Description
ReservationSubBlocksGetVersionRequest

getDescriptorForType()

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

getSbomSelections(int index)

public String getSbomSelections(int index)

The SBOM selection to return. 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. 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. 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. 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(ReservationSubBlocksGetVersionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setSbomSelections(int index, String value)

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

The SBOM selection to return. 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
ReservationSubBlocksGetVersionRequest.Builder

This builder for chaining.