- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class OSImage.Builder extends GeneratedMessageV3.Builder<OSImage.Builder> implements OSImageOrBuilder
Operation System image.
Protobuf type google.cloud.baremetalsolution.v2.OSImage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OSImage.BuilderImplements
OSImageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllApplicableInstanceTypes(Iterable<String> values)
public OSImage.Builder addAllApplicableInstanceTypes(Iterable<String> values)
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The applicableInstanceTypes to add. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
addAllSupportedNetworkTemplates(Iterable<String> values)
public OSImage.Builder addAllSupportedNetworkTemplates(Iterable<String> values)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The supportedNetworkTemplates to add. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
addApplicableInstanceTypes(String value)
public OSImage.Builder addApplicableInstanceTypes(String value)
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Parameter | |
---|---|
Name | Description |
value |
String The applicableInstanceTypes to add. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
addApplicableInstanceTypesBytes(ByteString value)
public OSImage.Builder addApplicableInstanceTypesBytes(ByteString value)
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the applicableInstanceTypes to add. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OSImage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
addSupportedNetworkTemplates(String value)
public OSImage.Builder addSupportedNetworkTemplates(String value)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Parameter | |
---|---|
Name | Description |
value |
String The supportedNetworkTemplates to add. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
addSupportedNetworkTemplatesBytes(ByteString value)
public OSImage.Builder addSupportedNetworkTemplatesBytes(ByteString value)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the supportedNetworkTemplates to add. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
build()
public OSImage build()
Returns | |
---|---|
Type | Description |
OSImage |
buildPartial()
public OSImage buildPartial()
Returns | |
---|---|
Type | Description |
OSImage |
clear()
public OSImage.Builder clear()
Returns | |
---|---|
Type | Description |
OSImage.Builder |
clearApplicableInstanceTypes()
public OSImage.Builder clearApplicableInstanceTypes()
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
clearCode()
public OSImage.Builder clearCode()
OS Image code.
string code = 2;
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
clearDescription()
public OSImage.Builder clearDescription()
OS Image description.
string description = 3;
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public OSImage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
clearName()
public OSImage.Builder clearName()
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OSImage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
clearSupportedNetworkTemplates()
public OSImage.Builder clearSupportedNetworkTemplates()
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
clone()
public OSImage.Builder clone()
Returns | |
---|---|
Type | Description |
OSImage.Builder |
getApplicableInstanceTypes(int index)
public String getApplicableInstanceTypes(int index)
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The applicableInstanceTypes at the given index. |
getApplicableInstanceTypesBytes(int index)
public ByteString getApplicableInstanceTypesBytes(int index)
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the applicableInstanceTypes at the given index. |
getApplicableInstanceTypesCount()
public int getApplicableInstanceTypesCount()
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Returns | |
---|---|
Type | Description |
int |
The count of applicableInstanceTypes. |
getApplicableInstanceTypesList()
public ProtocolStringList getApplicableInstanceTypesList()
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the applicableInstanceTypes. |
getCode()
public String getCode()
OS Image code.
string code = 2;
Returns | |
---|---|
Type | Description |
String |
The code. |
getCodeBytes()
public ByteString getCodeBytes()
OS Image code.
string code = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for code. |
getDefaultInstanceForType()
public OSImage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
OSImage |
getDescription()
public String getDescription()
OS Image description.
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
OS Image description.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getSupportedNetworkTemplates(int index)
public String getSupportedNetworkTemplates(int index)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The supportedNetworkTemplates at the given index. |
getSupportedNetworkTemplatesBytes(int index)
public ByteString getSupportedNetworkTemplatesBytes(int index)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the supportedNetworkTemplates at the given index. |
getSupportedNetworkTemplatesCount()
public int getSupportedNetworkTemplatesCount()
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Returns | |
---|---|
Type | Description |
int |
The count of supportedNetworkTemplates. |
getSupportedNetworkTemplatesList()
public ProtocolStringList getSupportedNetworkTemplatesList()
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the supportedNetworkTemplates. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(OSImage other)
public OSImage.Builder mergeFrom(OSImage other)
Parameter | |
---|---|
Name | Description |
other |
OSImage |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OSImage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public OSImage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OSImage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
setApplicableInstanceTypes(int index, String value)
public OSImage.Builder setApplicableInstanceTypes(int index, String value)
Instance types this image is applicable to. Available types
repeated string applicable_instance_types = 4;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The applicableInstanceTypes to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setCode(String value)
public OSImage.Builder setCode(String value)
OS Image code.
string code = 2;
Parameter | |
---|---|
Name | Description |
value |
String The code to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setCodeBytes(ByteString value)
public OSImage.Builder setCodeBytes(ByteString value)
OS Image code.
string code = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for code to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setDescription(String value)
public OSImage.Builder setDescription(String value)
OS Image description.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public OSImage.Builder setDescriptionBytes(ByteString value)
OS Image description.
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public OSImage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
setName(String value)
public OSImage.Builder setName(String value)
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public OSImage.Builder setNameBytes(ByteString value)
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OSImage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
setSupportedNetworkTemplates(int index, String value)
public OSImage.Builder setSupportedNetworkTemplates(int index, String value)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The supportedNetworkTemplates to set. |
Returns | |
---|---|
Type | Description |
OSImage.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final OSImage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
OSImage.Builder |