public static final class HostsGetVersionRequest.Builder extends GeneratedMessage.Builder<HostsGetVersionRequest.Builder> implements HostsGetVersionRequestOrBuilder Protobuf type google.cloud.compute.v1.HostsGetVersionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HostsGetVersionRequest.BuilderImplements
HostsGetVersionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSbomSelections(Iterable<String> values)
public HostsGetVersionRequest.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 |
HostsGetVersionRequest.Builder |
This builder for chaining. |
addSbomSelections(String value)
public HostsGetVersionRequest.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 |
HostsGetVersionRequest.Builder |
This builder for chaining. |
addSbomSelectionsBytes(ByteString value)
public HostsGetVersionRequest.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 |
HostsGetVersionRequest.Builder |
This builder for chaining. |
build()
public HostsGetVersionRequest build()| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest |
|
buildPartial()
public HostsGetVersionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest |
|
clear()
public HostsGetVersionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest.Builder |
|
clearSbomSelections()
public HostsGetVersionRequest.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 |
HostsGetVersionRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public HostsGetVersionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest |
|
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(HostsGetVersionRequest other)
public HostsGetVersionRequest.Builder mergeFrom(HostsGetVersionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
HostsGetVersionRequest |
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HostsGetVersionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HostsGetVersionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HostsGetVersionRequest.Builder |
|
setSbomSelections(int index, String value)
public HostsGetVersionRequest.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 |
HostsGetVersionRequest.Builder |
This builder for chaining. |