- 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()| 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;
| Name | Description | 
| values | Iterable<String>The applicableInstanceTypes to add.  | 
      
| 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;
 
| Name | Description | 
| values | Iterable<? extends com.google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface> | 
      
| 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;
| Name | Description | 
| value | StringThe applicableInstanceTypes to add.  | 
      
| 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;
| Name | Description | 
| value | ByteStringThe bytes of the applicableInstanceTypes to add.  | 
      
| 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;
 
| Name | Description | 
| value | ServerNetworkTemplate.LogicalInterface | 
      
| 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;
 
| Name | Description | 
| builderForValue | ServerNetworkTemplate.LogicalInterface.Builder | 
      
| 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;
 
| Name | Description | 
| index | int | 
      
| value | ServerNetworkTemplate.LogicalInterface | 
      
| 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;
 
| Name | Description | 
| index | int | 
      
| builderForValue | ServerNetworkTemplate.LogicalInterface.Builder | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
addLogicalInterfacesBuilder()
public ServerNetworkTemplate.LogicalInterface.Builder addLogicalInterfacesBuilder()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| 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;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| ServerNetworkTemplate.LogicalInterface.Builder | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServerNetworkTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
build()
public ServerNetworkTemplate build()| Type | Description | 
| ServerNetworkTemplate | 
buildPartial()
public ServerNetworkTemplate buildPartial()| Type | Description | 
| ServerNetworkTemplate | 
clear()
public ServerNetworkTemplate.Builder clear()| Type | Description | 
| ServerNetworkTemplate.Builder | 
clearApplicableInstanceTypes()
public ServerNetworkTemplate.Builder clearApplicableInstanceTypes()Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public ServerNetworkTemplate.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
clearLogicalInterfaces()
public ServerNetworkTemplate.Builder clearLogicalInterfaces()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| 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];
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public ServerNetworkTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
clone()
public ServerNetworkTemplate.Builder clone()| 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;
| Name | Description | 
| index | intThe index of the element to return.  | 
      
| 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;
| Name | Description | 
| index | intThe index of the value to return.  | 
      
| 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;
| Type | Description | 
| int | The count of applicableInstanceTypes.  | 
      
getApplicableInstanceTypesList()
public ProtocolStringList getApplicableInstanceTypesList()Instance types this template is applicable to.
 repeated string applicable_instance_types = 2;
| Type | Description | 
| ProtocolStringList | A list containing the applicableInstanceTypes.  | 
      
getDefaultInstanceForType()
public ServerNetworkTemplate getDefaultInstanceForType()| Type | Description | 
| ServerNetworkTemplate | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getLogicalInterfaces(int index)
public ServerNetworkTemplate.LogicalInterface getLogicalInterfaces(int index)Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Name | Description | 
| index | int | 
      
| 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;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| ServerNetworkTemplate.LogicalInterface.Builder | 
getLogicalInterfacesBuilderList()
public List<ServerNetworkTemplate.LogicalInterface.Builder> getLogicalInterfacesBuilderList()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Type | Description | 
| List<Builder> | 
getLogicalInterfacesCount()
public int getLogicalInterfacesCount()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| Type | Description | 
| int | 
getLogicalInterfacesList()
public List<ServerNetworkTemplate.LogicalInterface> getLogicalInterfacesList()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| 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;
 
| Name | Description | 
| index | int | 
      
| Type | Description | 
| ServerNetworkTemplate.LogicalInterfaceOrBuilder | 
getLogicalInterfacesOrBuilderList()
public List<? extends ServerNetworkTemplate.LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()Logical interfaces.
 
 repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;
 
| 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];
| 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];
| Type | Description | 
| ByteString | The bytes for name.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(ServerNetworkTemplate other)
public ServerNetworkTemplate.Builder mergeFrom(ServerNetworkTemplate other)| Name | Description | 
| other | ServerNetworkTemplate | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServerNetworkTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public ServerNetworkTemplate.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServerNetworkTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| 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;
 
| Name | Description | 
| index | int | 
      
| 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;
| Name | Description | 
| index | intThe index to set the value at.  | 
      
| value | StringThe applicableInstanceTypes to set.  | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public ServerNetworkTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| 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;
 
| Name | Description | 
| index | int | 
      
| value | ServerNetworkTemplate.LogicalInterface | 
      
| 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;
 
| Name | Description | 
| index | int | 
      
| builderForValue | ServerNetworkTemplate.LogicalInterface.Builder | 
      
| 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];
| Name | Description | 
| value | StringThe name to set.  | 
      
| 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];
| Name | Description | 
| value | ByteStringThe bytes for name to set.  | 
      
| 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)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ServerNetworkTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| ServerNetworkTemplate.Builder |