Package com.google.cloud.compute.v1
Class ServiceAttachmentConsumerProjectLimit.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
com.google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit.Builder
- All Implemented Interfaces:
ServiceAttachmentConsumerProjectLimitOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceAttachmentConsumerProjectLimit
public static final class ServiceAttachmentConsumerProjectLimit.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
implements ServiceAttachmentConsumerProjectLimitOrBuilder
Protobuf type
google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The value of the limit to set.The URL for the PSC endpoint to acceptThe network URL for the network to set the limit for.The project id or number for the project to set the limit for.intThe value of the limit to set.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe URL for the PSC endpoint to acceptcom.google.protobuf.ByteStringThe URL for the PSC endpoint to acceptThe network URL for the network to set the limit for.com.google.protobuf.ByteStringThe network URL for the network to set the limit for.The project id or number for the project to set the limit for.com.google.protobuf.ByteStringThe project id or number for the project to set the limit for.booleanThe value of the limit to set.booleanThe URL for the PSC endpoint to acceptbooleanThe network URL for the network to set the limit for.booleanThe project id or number for the project to set the limit for.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConnectionLimit(int value) The value of the limit to set.setEndpointUrl(String value) The URL for the PSC endpoint to acceptsetEndpointUrlBytes(com.google.protobuf.ByteString value) The URL for the PSC endpoint to acceptsetNetworkUrl(String value) The network URL for the network to set the limit for.setNetworkUrlBytes(com.google.protobuf.ByteString value) The network URL for the network to set the limit for.setProjectIdOrNum(String value) The project id or number for the project to set the limit for.setProjectIdOrNumBytes(com.google.protobuf.ByteString value) The project id or number for the project to set the limit for.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
mergeFrom
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(ServiceAttachmentConsumerProjectLimit other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
mergeFrom
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>- Throws:
IOException
-
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;- Specified by:
hasConnectionLimitin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- Whether the connectionLimit field is set.
-
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;- Specified by:
getConnectionLimitin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The connectionLimit.
-
setConnectionLimit
The value of the limit to set. For endpoint_url, the limit should be no more than 1.
optional uint32 connection_limit = 131403546;- Parameters:
value- The connectionLimit to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasEndpointUrl
public boolean hasEndpointUrl()The URL for the PSC endpoint to accept
optional string endpoint_url = 223428549;- Specified by:
hasEndpointUrlin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- Whether the endpointUrl field is set.
-
getEndpointUrl
The URL for the PSC endpoint to accept
optional string endpoint_url = 223428549;- Specified by:
getEndpointUrlin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The endpointUrl.
-
getEndpointUrlBytes
public com.google.protobuf.ByteString getEndpointUrlBytes()The URL for the PSC endpoint to accept
optional string endpoint_url = 223428549;- Specified by:
getEndpointUrlBytesin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The bytes for endpointUrl.
-
setEndpointUrl
The URL for the PSC endpoint to accept
optional string endpoint_url = 223428549;- Parameters:
value- The endpointUrl to set.- Returns:
- This builder for chaining.
-
clearEndpointUrl
The URL for the PSC endpoint to accept
optional string endpoint_url = 223428549;- Returns:
- This builder for chaining.
-
setEndpointUrlBytes
public ServiceAttachmentConsumerProjectLimit.Builder setEndpointUrlBytes(com.google.protobuf.ByteString value) The URL for the PSC endpoint to accept
optional string endpoint_url = 223428549;- Parameters:
value- The bytes for endpointUrl to set.- Returns:
- This builder for chaining.
-
hasNetworkUrl
public boolean hasNetworkUrl()The network URL for the network to set the limit for.
optional string network_url = 207194078;- Specified by:
hasNetworkUrlin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- Whether the networkUrl field is set.
-
getNetworkUrl
The network URL for the network to set the limit for.
optional string network_url = 207194078;- Specified by:
getNetworkUrlin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The networkUrl.
-
getNetworkUrlBytes
public com.google.protobuf.ByteString getNetworkUrlBytes()The network URL for the network to set the limit for.
optional string network_url = 207194078;- Specified by:
getNetworkUrlBytesin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The bytes for networkUrl.
-
setNetworkUrl
The network URL for the network to set the limit for.
optional string network_url = 207194078;- Parameters:
value- The networkUrl to set.- Returns:
- This builder for chaining.
-
clearNetworkUrl
The network URL for the network to set the limit for.
optional string network_url = 207194078;- Returns:
- This builder for chaining.
-
setNetworkUrlBytes
public ServiceAttachmentConsumerProjectLimit.Builder setNetworkUrlBytes(com.google.protobuf.ByteString value) The network URL for the network to set the limit for.
optional string network_url = 207194078;- Parameters:
value- The bytes for networkUrl to set.- Returns:
- This builder for chaining.
-
hasProjectIdOrNum
public boolean hasProjectIdOrNum()The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;- Specified by:
hasProjectIdOrNumin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- Whether the projectIdOrNum field is set.
-
getProjectIdOrNum
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;- Specified by:
getProjectIdOrNumin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The projectIdOrNum.
-
getProjectIdOrNumBytes
public com.google.protobuf.ByteString getProjectIdOrNumBytes()The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;- Specified by:
getProjectIdOrNumBytesin interfaceServiceAttachmentConsumerProjectLimitOrBuilder- Returns:
- The bytes for projectIdOrNum.
-
setProjectIdOrNum
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;- Parameters:
value- The projectIdOrNum to set.- Returns:
- This builder for chaining.
-
clearProjectIdOrNum
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;- Returns:
- This builder for chaining.
-
setProjectIdOrNumBytes
public ServiceAttachmentConsumerProjectLimit.Builder setProjectIdOrNumBytes(com.google.protobuf.ByteString value) The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;- Parameters:
value- The bytes for projectIdOrNum to set.- Returns:
- This builder for chaining.
-