Class NetworkProfileProfileType.Builder (1.93.0)

public static final class NetworkProfileProfileType.Builder extends GeneratedMessage.Builder<NetworkProfileProfileType.Builder> implements NetworkProfileProfileTypeOrBuilder

Protobuf type google.cloud.compute.v1.NetworkProfileProfileType

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public NetworkProfileProfileType build()
Returns
Type Description
NetworkProfileProfileType

buildPartial()

public NetworkProfileProfileType buildPartial()
Returns
Type Description
NetworkProfileProfileType

clear()

public NetworkProfileProfileType.Builder clear()
Returns
Type Description
NetworkProfileProfileType.Builder
Overrides

clearNetworkType()

public NetworkProfileProfileType.Builder clearNetworkType()

Check the NetworkType enum for the list of possible values.

optional string network_type = 517413547;

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

clearRdmaSubtype()

public NetworkProfileProfileType.Builder clearRdmaSubtype()

Check the RdmaSubtype enum for the list of possible values.

optional string rdma_subtype = 82019713;

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

clearUllSubtype()

public NetworkProfileProfileType.Builder clearUllSubtype()

Check the UllSubtype enum for the list of possible values.

optional string ull_subtype = 94311408;

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

clearVpcSubtype()

public NetworkProfileProfileType.Builder clearVpcSubtype()

Check the VpcSubtype enum for the list of possible values.

optional string vpc_subtype = 356623396;

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

getDefaultInstanceForType()

public NetworkProfileProfileType getDefaultInstanceForType()
Returns
Type Description
NetworkProfileProfileType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNetworkType()

public String getNetworkType()

Check the NetworkType enum for the list of possible values.

optional string network_type = 517413547;

Returns
Type Description
String

The networkType.

getNetworkTypeBytes()

public ByteString getNetworkTypeBytes()

Check the NetworkType enum for the list of possible values.

optional string network_type = 517413547;

Returns
Type Description
ByteString

The bytes for networkType.

getRdmaSubtype()

public String getRdmaSubtype()

Check the RdmaSubtype enum for the list of possible values.

optional string rdma_subtype = 82019713;

Returns
Type Description
String

The rdmaSubtype.

getRdmaSubtypeBytes()

public ByteString getRdmaSubtypeBytes()

Check the RdmaSubtype enum for the list of possible values.

optional string rdma_subtype = 82019713;

Returns
Type Description
ByteString

The bytes for rdmaSubtype.

getUllSubtype()

public String getUllSubtype()

Check the UllSubtype enum for the list of possible values.

optional string ull_subtype = 94311408;

Returns
Type Description
String

The ullSubtype.

getUllSubtypeBytes()

public ByteString getUllSubtypeBytes()

Check the UllSubtype enum for the list of possible values.

optional string ull_subtype = 94311408;

Returns
Type Description
ByteString

The bytes for ullSubtype.

getVpcSubtype()

public String getVpcSubtype()

Check the VpcSubtype enum for the list of possible values.

optional string vpc_subtype = 356623396;

Returns
Type Description
String

The vpcSubtype.

getVpcSubtypeBytes()

public ByteString getVpcSubtypeBytes()

Check the VpcSubtype enum for the list of possible values.

optional string vpc_subtype = 356623396;

Returns
Type Description
ByteString

The bytes for vpcSubtype.

hasNetworkType()

public boolean hasNetworkType()

Check the NetworkType enum for the list of possible values.

optional string network_type = 517413547;

Returns
Type Description
boolean

Whether the networkType field is set.

hasRdmaSubtype()

public boolean hasRdmaSubtype()

Check the RdmaSubtype enum for the list of possible values.

optional string rdma_subtype = 82019713;

Returns
Type Description
boolean

Whether the rdmaSubtype field is set.

hasUllSubtype()

public boolean hasUllSubtype()

Check the UllSubtype enum for the list of possible values.

optional string ull_subtype = 94311408;

Returns
Type Description
boolean

Whether the ullSubtype field is set.

hasVpcSubtype()

public boolean hasVpcSubtype()

Check the VpcSubtype enum for the list of possible values.

optional string vpc_subtype = 356623396;

Returns
Type Description
boolean

Whether the vpcSubtype field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NetworkProfileProfileType other)

public NetworkProfileProfileType.Builder mergeFrom(NetworkProfileProfileType other)
Parameter
Name Description
other NetworkProfileProfileType
Returns
Type Description
NetworkProfileProfileType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkProfileProfileType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NetworkProfileProfileType.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NetworkProfileProfileType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NetworkProfileProfileType.Builder
Overrides

setNetworkType(String value)

public NetworkProfileProfileType.Builder setNetworkType(String value)

Check the NetworkType enum for the list of possible values.

optional string network_type = 517413547;

Parameter
Name Description
value String

The networkType to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setNetworkTypeBytes(ByteString value)

public NetworkProfileProfileType.Builder setNetworkTypeBytes(ByteString value)

Check the NetworkType enum for the list of possible values.

optional string network_type = 517413547;

Parameter
Name Description
value ByteString

The bytes for networkType to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setRdmaSubtype(String value)

public NetworkProfileProfileType.Builder setRdmaSubtype(String value)

Check the RdmaSubtype enum for the list of possible values.

optional string rdma_subtype = 82019713;

Parameter
Name Description
value String

The rdmaSubtype to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setRdmaSubtypeBytes(ByteString value)

public NetworkProfileProfileType.Builder setRdmaSubtypeBytes(ByteString value)

Check the RdmaSubtype enum for the list of possible values.

optional string rdma_subtype = 82019713;

Parameter
Name Description
value ByteString

The bytes for rdmaSubtype to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setUllSubtype(String value)

public NetworkProfileProfileType.Builder setUllSubtype(String value)

Check the UllSubtype enum for the list of possible values.

optional string ull_subtype = 94311408;

Parameter
Name Description
value String

The ullSubtype to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setUllSubtypeBytes(ByteString value)

public NetworkProfileProfileType.Builder setUllSubtypeBytes(ByteString value)

Check the UllSubtype enum for the list of possible values.

optional string ull_subtype = 94311408;

Parameter
Name Description
value ByteString

The bytes for ullSubtype to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setVpcSubtype(String value)

public NetworkProfileProfileType.Builder setVpcSubtype(String value)

Check the VpcSubtype enum for the list of possible values.

optional string vpc_subtype = 356623396;

Parameter
Name Description
value String

The vpcSubtype to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.

setVpcSubtypeBytes(ByteString value)

public NetworkProfileProfileType.Builder setVpcSubtypeBytes(ByteString value)

Check the VpcSubtype enum for the list of possible values.

optional string vpc_subtype = 356623396;

Parameter
Name Description
value ByteString

The bytes for vpcSubtype to set.

Returns
Type Description
NetworkProfileProfileType.Builder

This builder for chaining.