public static final class ServiceAttachmentConsumerProjectLimit.Builder extends GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder> implements ServiceAttachmentConsumerProjectLimitOrBuilder Protobuf type google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServiceAttachmentConsumerProjectLimit.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServiceAttachmentConsumerProjectLimit build()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit |
|
buildPartial()
public ServiceAttachmentConsumerProjectLimit buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit |
|
clear()
public ServiceAttachmentConsumerProjectLimit.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
|
clearConnectionLimit()
public ServiceAttachmentConsumerProjectLimit.Builder clearConnectionLimit()The value of the limit to set. For endpoint_url, the limit should be no more than 1.
optional uint32 connection_limit = 131403546;
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
clearNetworkUrl()
public ServiceAttachmentConsumerProjectLimit.Builder clearNetworkUrl()The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
getConnectionLimit()
public int getConnectionLimit()The value of the limit to set. For endpoint_url, the limit should be no more than 1.
optional uint32 connection_limit = 131403546;
| Returns | |
|---|---|
| Type | Description |
int |
The connectionLimit. |
getDefaultInstanceForType()
public ServiceAttachmentConsumerProjectLimit getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNetworkUrl()
public String getNetworkUrl()The network URL for the network to set the limit for.
optional string network_url = 207194078;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| 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. For endpoint_url, the limit should be no more than 1.
optional uint32 connection_limit = 131403546;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the projectIdOrNum field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServiceAttachmentConsumerProjectLimit other)
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(ServiceAttachmentConsumerProjectLimit other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceAttachmentConsumerProjectLimit |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
|
setConnectionLimit(int value)
public ServiceAttachmentConsumerProjectLimit.Builder setConnectionLimit(int value)The value of the limit to set. For endpoint_url, the limit should be no more than 1.
optional uint32 connection_limit = 131403546;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe connectionLimit to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe networkUrl to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for networkUrl to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectIdOrNum to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectIdOrNum to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |