- 0.78.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 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 ServerNetworkTemplate.Builder extends GeneratedMessageV3.Builder<ServerNetworkTemplate.Builder> implements ServerNetworkTemplateOrBuilderNetwork template.
 Protobuf type google.cloud.baremetalsolution.v2.ServerNetworkTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServerNetworkTemplate.BuilderImplements
ServerNetworkTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllApplicableInstanceTypes(Iterable<String> values)
public ServerNetworkTemplate.Builder addAllApplicableInstanceTypes(Iterable<String> values)Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The applicableInstanceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
addAllLogicalInterfaces(Iterable<? extends ServerNetworkTemplate.LogicalInterface> values)
public ServerNetworkTemplate.Builder addAllLogicalInterfaces(Iterable<? extends ServerNetworkTemplate.LogicalInterface> values)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface> | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
addApplicableInstanceTypes(String value)
public ServerNetworkTemplate.Builder addApplicableInstanceTypes(String value)Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe applicableInstanceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
addApplicableInstanceTypesBytes(ByteString value)
public ServerNetworkTemplate.Builder addApplicableInstanceTypesBytes(ByteString value)Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the applicableInstanceTypes to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
addLogicalInterfaces(ServerNetworkTemplate.LogicalInterface value)
public ServerNetworkTemplate.Builder addLogicalInterfaces(ServerNetworkTemplate.LogicalInterface value)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ServerNetworkTemplate.LogicalInterface | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
addLogicalInterfaces(ServerNetworkTemplate.LogicalInterface.Builder builderForValue)
public ServerNetworkTemplate.Builder addLogicalInterfaces(ServerNetworkTemplate.LogicalInterface.Builder builderForValue)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ServerNetworkTemplate.LogicalInterface.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
addLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface value)
public ServerNetworkTemplate.Builder addLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface value)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | ServerNetworkTemplate.LogicalInterface | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
addLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface.Builder builderForValue)
public ServerNetworkTemplate.Builder addLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface.Builder builderForValue)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | ServerNetworkTemplate.LogicalInterface.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
addLogicalInterfacesBuilder()
public ServerNetworkTemplate.LogicalInterface.Builder addLogicalInterfacesBuilder()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.LogicalInterface.Builder | |
addLogicalInterfacesBuilder(int index)
public ServerNetworkTemplate.LogicalInterface.Builder addLogicalInterfacesBuilder(int index)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.LogicalInterface.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServerNetworkTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
build()
public ServerNetworkTemplate build()| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate | |
buildPartial()
public ServerNetworkTemplate buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate | |
clear()
public ServerNetworkTemplate.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
clearApplicableInstanceTypes()
public ServerNetworkTemplate.Builder clearApplicableInstanceTypes()Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public ServerNetworkTemplate.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
clearLogicalInterfaces()
public ServerNetworkTemplate.Builder clearLogicalInterfaces()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
clearName()
public ServerNetworkTemplate.Builder clearName() Output only. Template's unique name. The full resource name follows the
 pattern:
 projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
 Generally, the {server_network_template} follows the syntax of
 "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerNetworkTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
clone()
public ServerNetworkTemplate.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
getApplicableInstanceTypes(int index)
public String getApplicableInstanceTypes(int index)Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe 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 template is applicable to.
 repeated string applicable_instance_types = 2;
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe 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 template is applicable to.
 repeated string applicable_instance_types = 2;
| Returns | |
|---|---|
| Type | Description | 
| int | The count of applicableInstanceTypes. | 
getApplicableInstanceTypesList()
public ProtocolStringList getApplicableInstanceTypesList()Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the applicableInstanceTypes. | 
getDefaultInstanceForType()
public ServerNetworkTemplate getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getLogicalInterfaces(int index)
public ServerNetworkTemplate.LogicalInterface getLogicalInterfaces(int index)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.LogicalInterface | |
getLogicalInterfacesBuilder(int index)
public ServerNetworkTemplate.LogicalInterface.Builder getLogicalInterfacesBuilder(int index)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.LogicalInterface.Builder | |
getLogicalInterfacesBuilderList()
public List<ServerNetworkTemplate.LogicalInterface.Builder> getLogicalInterfacesBuilderList()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getLogicalInterfacesCount()
public int getLogicalInterfacesCount()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLogicalInterfacesList()
public List<ServerNetworkTemplate.LogicalInterface> getLogicalInterfacesList()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| List<LogicalInterface> | |
getLogicalInterfacesOrBuilder(int index)
public ServerNetworkTemplate.LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder(int index)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.LogicalInterfaceOrBuilder | |
getLogicalInterfacesOrBuilderList()
public List<? extends ServerNetworkTemplate.LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterfaceOrBuilder> | |
getName()
public String getName() Output only. Template's unique name. The full resource name follows the
 pattern:
 projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
 Generally, the {server_network_template} follows the syntax of
 "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The name. | 
getNameBytes()
public ByteString getNameBytes() Output only. Template's unique name. The full resource name follows the
 pattern:
 projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
 Generally, the {server_network_template} follows the syntax of
 "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for name. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(ServerNetworkTemplate other)
public ServerNetworkTemplate.Builder mergeFrom(ServerNetworkTemplate other)| Parameter | |
|---|---|
| Name | Description | 
| other | ServerNetworkTemplate | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServerNetworkTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ServerNetworkTemplate.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerNetworkTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
removeLogicalInterfaces(int index)
public ServerNetworkTemplate.Builder removeLogicalInterfaces(int index)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
setApplicableInstanceTypes(int index, String value)
public ServerNetworkTemplate.Builder setApplicableInstanceTypes(int index, String value)Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe applicableInstanceTypes to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public ServerNetworkTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
setLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface value)
public ServerNetworkTemplate.Builder setLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface value)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | ServerNetworkTemplate.LogicalInterface | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
setLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface.Builder builderForValue)
public ServerNetworkTemplate.Builder setLogicalInterfaces(int index, ServerNetworkTemplate.LogicalInterface.Builder builderForValue)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | ServerNetworkTemplate.LogicalInterface.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
setName(String value)
public ServerNetworkTemplate.Builder setName(String value) Output only. Template's unique name. The full resource name follows the
 pattern:
 projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
 Generally, the {server_network_template} follows the syntax of
 "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
setNameBytes(ByteString value)
public ServerNetworkTemplate.Builder setNameBytes(ByteString value) Output only. Template's unique name. The full resource name follows the
 pattern:
 projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}
 Generally, the {server_network_template} follows the syntax of
 "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".
 string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for name to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServerNetworkTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerNetworkTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ServerNetworkTemplate.Builder | |