Send feedback
Class ServiceAttachmentConsumerProjectLimit.Builder (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
public static final class ServiceAttachmentConsumerProjectLimit . Builder extends GeneratedMessageV3 . Builder<ServiceAttachmentConsumerProjectLimit . Builder > implements ServiceAttachmentConsumerProjectLimitOrBuilder
Protobuf type google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConsumerProjectLimit . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ServiceAttachmentConsumerProjectLimit build ()
Returns
buildPartial()
public ServiceAttachmentConsumerProjectLimit buildPartial ()
Returns
clear()
public ServiceAttachmentConsumerProjectLimit . Builder clear ()
Returns
Overrides
clearConnectionLimit()
public ServiceAttachmentConsumerProjectLimit . Builder clearConnectionLimit ()
The value of the limit to set.
optional uint32 connection_limit = 131403546;
Returns
clearField(Descriptors.FieldDescriptor field)
public ServiceAttachmentConsumerProjectLimit . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAttachmentConsumerProjectLimit . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearProjectIdOrNum()
public ServiceAttachmentConsumerProjectLimit . Builder clearProjectIdOrNum ()
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
Returns
clone()
public ServiceAttachmentConsumerProjectLimit . Builder clone ()
Returns
Overrides
getConnectionLimit()
public int getConnectionLimit ()
The value of the limit to set.
optional uint32 connection_limit = 131403546;
Returns
Type Description int The connectionLimit.
getDefaultInstanceForType()
public ServiceAttachmentConsumerProjectLimit getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getProjectIdOrNum()
public String getProjectIdOrNum ()
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
Returns
Type Description String The projectIdOrNum.
getProjectIdOrNumBytes()
public ByteString getProjectIdOrNumBytes ()
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
Returns
Type Description ByteString The bytes for projectIdOrNum.
hasConnectionLimit()
public boolean hasConnectionLimit ()
The value of the limit to set.
optional uint32 connection_limit = 131403546;
Returns
Type Description boolean Whether the connectionLimit field is set.
hasProjectIdOrNum()
public boolean hasProjectIdOrNum ()
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
Returns
Type Description boolean Whether the projectIdOrNum field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ServiceAttachmentConsumerProjectLimit other)
public ServiceAttachmentConsumerProjectLimit . Builder mergeFrom ( ServiceAttachmentConsumerProjectLimit other )
Parameter
Returns
public ServiceAttachmentConsumerProjectLimit . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ServiceAttachmentConsumerProjectLimit . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConsumerProjectLimit . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setConnectionLimit(int value)
public ServiceAttachmentConsumerProjectLimit . Builder setConnectionLimit ( int value )
The value of the limit to set.
optional uint32 connection_limit = 131403546;
Parameter
Name Description value int
The connectionLimit to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConsumerProjectLimit . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setProjectIdOrNum(String value)
public ServiceAttachmentConsumerProjectLimit . Builder setProjectIdOrNum ( String value )
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
Parameter
Name Description value String
The projectIdOrNum to set.
Returns
setProjectIdOrNumBytes(ByteString value)
public ServiceAttachmentConsumerProjectLimit . Builder setProjectIdOrNumBytes ( ByteString value )
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
Parameter
Name Description value ByteString
The bytes for projectIdOrNum to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAttachmentConsumerProjectLimit . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConsumerProjectLimit . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]