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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConsumerProjectLimit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public ServiceAttachmentConsumerProjectLimit.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ServiceAttachmentConsumerProjectLimit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
clone()
public ServiceAttachmentConsumerProjectLimit.Builder clone()
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConsumerProjectLimit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
int The connectionLimit to set. |
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ServiceAttachmentConsumerProjectLimit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The 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 |
String The 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 |
ByteString The bytes for projectIdOrNum to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ServiceAttachmentConsumerProjectLimit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ServiceAttachmentConsumerProjectLimit.Builder |