Class InterconnectApplicationAwareInterconnectBandwidthPercentage.Builder (1.82.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder extends GeneratedMessageV3 . Builder<InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder > implements InterconnectApplicationAwareInterconnectBandwidthPercentageOrBuilder
Specify bandwidth percentages [1-100] for various traffic classes in BandwidthPercentagePolicy. The sum of all percentages must equal 100. All traffic classes must have a percentage value specified.
Protobuf type
google.cloud.compute.v1.InterconnectApplicationAwareInterconnectBandwidthPercentage
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public InterconnectApplicationAwareInterconnectBandwidthPercentage build ()
buildPartial()
public InterconnectApplicationAwareInterconnectBandwidthPercentage buildPartial ()
clear()
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPercentage()
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder clearPercentage ()
Bandwidth percentage for a specific traffic class.
optional uint32 percentage = 151909018;
clearTrafficClass()
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder clearTrafficClass ()
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
optional string traffic_class = 198180022;
clone()
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder clone ()
Overrides
getDefaultInstanceForType()
public InterconnectApplicationAwareInterconnectBandwidthPercentage getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getPercentage()
public int getPercentage ()
Bandwidth percentage for a specific traffic class.
optional uint32 percentage = 151909018;
Returns
Type
Description
int
The percentage.
getTrafficClass()
public String getTrafficClass ()
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
optional string traffic_class = 198180022;
Returns
Type
Description
String
The trafficClass.
getTrafficClassBytes()
public ByteString getTrafficClassBytes ()
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
optional string traffic_class = 198180022;
Returns
Type
Description
ByteString
The bytes for trafficClass.
hasPercentage()
public boolean hasPercentage ()
Bandwidth percentage for a specific traffic class.
optional uint32 percentage = 151909018;
Returns
Type
Description
boolean
Whether the percentage field is set.
hasTrafficClass()
public boolean hasTrafficClass ()
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
optional string traffic_class = 198180022;
Returns
Type
Description
boolean
Whether the trafficClass field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(InterconnectApplicationAwareInterconnectBandwidthPercentage other)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder mergeFrom ( InterconnectApplicationAwareInterconnectBandwidthPercentage other )
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setPercentage(int value)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder setPercentage ( int value )
Bandwidth percentage for a specific traffic class.
optional uint32 percentage = 151909018;
Parameter
Name
Description
value
int
The percentage to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTrafficClass(String value)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder setTrafficClass ( String value )
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
optional string traffic_class = 198180022;
Parameter
Name
Description
value
String
The trafficClass to set.
setTrafficClassBytes(ByteString value)
public InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder setTrafficClassBytes ( ByteString value )
TrafficClass whose bandwidth percentage is being specified.
Check the TrafficClass enum for the list of possible values.
optional string traffic_class = 198180022;
Parameter
Name
Description
value
ByteString
The bytes for trafficClass to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final InterconnectApplicationAwareInterconnectBandwidthPercentage . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[]]