public static final class ServiceAttachmentConsumerProjectLimit.Builder extends GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder> implements ServiceAttachmentConsumerProjectLimitOrBuilder Protobuf type google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ServiceAttachmentConsumerProjectLimit.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConsumerProjectLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
build()
public ServiceAttachmentConsumerProjectLimit build()| Type | Description |
ServiceAttachmentConsumerProjectLimit |
buildPartial()
public ServiceAttachmentConsumerProjectLimit buildPartial()| Type | Description |
ServiceAttachmentConsumerProjectLimit |
clear()
public ServiceAttachmentConsumerProjectLimit.Builder clear()| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
clearConnectionLimit()
public ServiceAttachmentConsumerProjectLimit.Builder clearConnectionLimit()The value of the limit to set.
optional uint32 connection_limit = 131403546;
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ServiceAttachmentConsumerProjectLimit.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
clearNetworkUrl()
public ServiceAttachmentConsumerProjectLimit.Builder clearNetworkUrl()The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAttachmentConsumerProjectLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
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;
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
clone()
public ServiceAttachmentConsumerProjectLimit.Builder clone()| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
getConnectionLimit()
public int getConnectionLimit()The value of the limit to set.
optional uint32 connection_limit = 131403546;
| Type | Description |
int |
The connectionLimit. |
getDefaultInstanceForType()
public ServiceAttachmentConsumerProjectLimit getDefaultInstanceForType()| Type | Description |
ServiceAttachmentConsumerProjectLimit |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getNetworkUrl()
public String getNetworkUrl()The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Type | Description |
String |
The networkUrl. |
getNetworkUrlBytes()
public ByteString getNetworkUrlBytes()The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Type | Description |
ByteString |
The bytes for networkUrl. |
getProjectIdOrNum()
public String getProjectIdOrNum()The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
| 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;
| Type | Description |
ByteString |
The bytes for projectIdOrNum. |
hasConnectionLimit()
public boolean hasConnectionLimit()The value of the limit to set.
optional uint32 connection_limit = 131403546;
| Type | Description |
boolean |
Whether the connectionLimit field is set. |
hasNetworkUrl()
public boolean hasNetworkUrl()The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Type | Description |
boolean |
Whether the networkUrl 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;
| Type | Description |
boolean |
Whether the projectIdOrNum field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(ServiceAttachmentConsumerProjectLimit other)
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(ServiceAttachmentConsumerProjectLimit other)| Name | Description |
other |
ServiceAttachmentConsumerProjectLimit |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConsumerProjectLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
setConnectionLimit(int value)
public ServiceAttachmentConsumerProjectLimit.Builder setConnectionLimit(int value)The value of the limit to set.
optional uint32 connection_limit = 131403546;
| Name | Description |
value |
intThe connectionLimit to set. |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConsumerProjectLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
setNetworkUrl(String value)
public ServiceAttachmentConsumerProjectLimit.Builder setNetworkUrl(String value)The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Name | Description |
value |
StringThe networkUrl to set. |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
setNetworkUrlBytes(ByteString value)
public ServiceAttachmentConsumerProjectLimit.Builder setNetworkUrlBytes(ByteString value)The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Name | Description |
value |
ByteStringThe bytes for networkUrl to set. |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
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;
| Name | Description |
value |
StringThe projectIdOrNum to set. |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
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;
| Name | Description |
value |
ByteStringThe bytes for projectIdOrNum to set. |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ServiceAttachmentConsumerProjectLimit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConsumerProjectLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |