public static final class ServiceAttachmentConsumerProjectLimit.Builder extends GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder> implements ServiceAttachmentConsumerProjectLimitOrBuilder
Protobuf type google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
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