public static final class ReservationSlotsGetVersionRequest.Builder extends GeneratedMessage.Builder<ReservationSlotsGetVersionRequest.Builder> implements ReservationSlotsGetVersionRequestOrBuilder Protobuf type google.cloud.compute.v1.ReservationSlotsGetVersionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReservationSlotsGetVersionRequest.BuilderImplements
ReservationSlotsGetVersionRequestOrBuilderStatic 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 |
StringThe 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 |
ByteStringThe 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 |
|
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 |
|
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 |
intThe 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 |
intThe 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReservationSlotsGetVersionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsGetVersionRequest.Builder |
|
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 |
intThe index to set the value at. |
value |
StringThe sbomSelections to set. |
| Returns | |
|---|---|
| Type | Description |
ReservationSlotsGetVersionRequest.Builder |
This builder for chaining. |