Class NetworkPerformanceConfig.Builder (1.9.1)

public static final class NetworkPerformanceConfig.Builder extends GeneratedMessageV3.Builder<NetworkPerformanceConfig.Builder> implements NetworkPerformanceConfigOrBuilder

Protobuf type google.cloud.compute.v1.NetworkPerformanceConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NetworkPerformanceConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

build()

public NetworkPerformanceConfig build()
Returns
TypeDescription
NetworkPerformanceConfig

buildPartial()

public NetworkPerformanceConfig buildPartial()
Returns
TypeDescription
NetworkPerformanceConfig

clear()

public NetworkPerformanceConfig.Builder clear()
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NetworkPerformanceConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NetworkPerformanceConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

clearTotalEgressBandwidthTier()

public NetworkPerformanceConfig.Builder clearTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
NetworkPerformanceConfig.Builder

This builder for chaining.

clone()

public NetworkPerformanceConfig.Builder clone()
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

getDefaultInstanceForType()

public NetworkPerformanceConfig getDefaultInstanceForType()
Returns
TypeDescription
NetworkPerformanceConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTotalEgressBandwidthTier()

public String getTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
String

The totalEgressBandwidthTier.

getTotalEgressBandwidthTierBytes()

public ByteString getTotalEgressBandwidthTierBytes()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
ByteString

The bytes for totalEgressBandwidthTier.

hasTotalEgressBandwidthTier()

public boolean hasTotalEgressBandwidthTier()

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Returns
TypeDescription
boolean

Whether the totalEgressBandwidthTier field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NetworkPerformanceConfig other)

public NetworkPerformanceConfig.Builder mergeFrom(NetworkPerformanceConfig other)
Parameter
NameDescription
otherNetworkPerformanceConfig
Returns
TypeDescription
NetworkPerformanceConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NetworkPerformanceConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NetworkPerformanceConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NetworkPerformanceConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public NetworkPerformanceConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NetworkPerformanceConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides

setTotalEgressBandwidthTier(String value)

public NetworkPerformanceConfig.Builder setTotalEgressBandwidthTier(String value)

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Parameter
NameDescription
valueString

The totalEgressBandwidthTier to set.

Returns
TypeDescription
NetworkPerformanceConfig.Builder

This builder for chaining.

setTotalEgressBandwidthTierBytes(ByteString value)

public NetworkPerformanceConfig.Builder setTotalEgressBandwidthTierBytes(ByteString value)

Check the TotalEgressBandwidthTier enum for the list of possible values.

optional string total_egress_bandwidth_tier = 130109439;

Parameter
NameDescription
valueByteString

The bytes for totalEgressBandwidthTier to set.

Returns
TypeDescription
NetworkPerformanceConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final NetworkPerformanceConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
NetworkPerformanceConfig.Builder
Overrides