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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder> implements ServiceAttachmentConsumerProjectLimitOrBuilder
google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAttachmentConsumerProjectLimit.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServiceAttachmentConsumerProjectLimit
build()
ServiceAttachmentConsumerProjectLimit
buildPartial()
ServiceAttachmentConsumerProjectLimit.Builder
clear()
ServiceAttachmentConsumerProjectLimit.Builder
clearConnectionLimit()
The value of the limit to set.ServiceAttachmentConsumerProjectLimit.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ServiceAttachmentConsumerProjectLimit.Builder
clearNetworkUrl()
The network URL for the network to set the limit for.ServiceAttachmentConsumerProjectLimit.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ServiceAttachmentConsumerProjectLimit.Builder
clearProjectIdOrNum()
The project id or number for the project to set the limit for.ServiceAttachmentConsumerProjectLimit.Builder
clone()
int
getConnectionLimit()
The value of the limit to set.ServiceAttachmentConsumerProjectLimit
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNetworkUrl()
The network URL for the network to set the limit for.com.google.protobuf.ByteString
getNetworkUrlBytes()
The network URL for the network to set the limit for.String
getProjectIdOrNum()
The project id or number for the project to set the limit for.com.google.protobuf.ByteString
getProjectIdOrNumBytes()
The project id or number for the project to set the limit for.boolean
hasConnectionLimit()
The value of the limit to set.boolean
hasNetworkUrl()
The network URL for the network to set the limit for.boolean
hasProjectIdOrNum()
The project id or number for the project to set the limit for.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ServiceAttachmentConsumerProjectLimit.Builder
mergeFrom(ServiceAttachmentConsumerProjectLimit other)
ServiceAttachmentConsumerProjectLimit.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ServiceAttachmentConsumerProjectLimit.Builder
mergeFrom(com.google.protobuf.Message other)
ServiceAttachmentConsumerProjectLimit.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ServiceAttachmentConsumerProjectLimit.Builder
setConnectionLimit(int value)
The value of the limit to set.ServiceAttachmentConsumerProjectLimit.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ServiceAttachmentConsumerProjectLimit.Builder
setNetworkUrl(String value)
The network URL for the network to set the limit for.ServiceAttachmentConsumerProjectLimit.Builder
setNetworkUrlBytes(com.google.protobuf.ByteString value)
The network URL for the network to set the limit for.ServiceAttachmentConsumerProjectLimit.Builder
setProjectIdOrNum(String value)
The project id or number for the project to set the limit for.ServiceAttachmentConsumerProjectLimit.Builder
setProjectIdOrNumBytes(com.google.protobuf.ByteString value)
The project id or number for the project to set the limit for.ServiceAttachmentConsumerProjectLimit.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ServiceAttachmentConsumerProjectLimit.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
clear
public ServiceAttachmentConsumerProjectLimit.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
getDefaultInstanceForType
public ServiceAttachmentConsumerProjectLimit getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAttachmentConsumerProjectLimit build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAttachmentConsumerProjectLimit buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAttachmentConsumerProjectLimit.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
setField
public ServiceAttachmentConsumerProjectLimit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
clearField
public ServiceAttachmentConsumerProjectLimit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
clearOneof
public ServiceAttachmentConsumerProjectLimit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
setRepeatedField
public ServiceAttachmentConsumerProjectLimit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
addRepeatedField
public ServiceAttachmentConsumerProjectLimit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
mergeFrom
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
mergeFrom
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(ServiceAttachmentConsumerProjectLimit other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
mergeFrom
public ServiceAttachmentConsumerProjectLimit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
- Throws:
IOException
-
hasConnectionLimit
public boolean hasConnectionLimit()
The value of the limit to set.
optional uint32 connection_limit = 131403546;
- Specified by:
hasConnectionLimit
in interfaceServiceAttachmentConsumerProjectLimitOrBuilder
- Returns:
- Whether the connectionLimit field is set.
-
getConnectionLimit
public int getConnectionLimit()
The value of the limit to set.
optional uint32 connection_limit = 131403546;
- Specified by:
getConnectionLimit
in interfaceServiceAttachmentConsumerProjectLimitOrBuilder
- Returns:
- The connectionLimit.
-
setConnectionLimit
public ServiceAttachmentConsumerProjectLimit.Builder setConnectionLimit(int value)
The value of the limit to set.
optional uint32 connection_limit = 131403546;
- Parameters:
value
- The connectionLimit to set.- Returns:
- This builder for chaining.
-
clearConnectionLimit
public ServiceAttachmentConsumerProjectLimit.Builder clearConnectionLimit()
The value of the limit to set.
optional uint32 connection_limit = 131403546;
- 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:
hasNetworkUrl
in interfaceServiceAttachmentConsumerProjectLimitOrBuilder
- Returns:
- Whether the networkUrl field is set.
-
getNetworkUrl
public String getNetworkUrl()
The network URL for the network to set the limit for.
optional string network_url = 207194078;
- Specified by:
getNetworkUrl
in 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:
getNetworkUrlBytes
in interfaceServiceAttachmentConsumerProjectLimitOrBuilder
- Returns:
- The bytes for networkUrl.
-
setNetworkUrl
public ServiceAttachmentConsumerProjectLimit.Builder setNetworkUrl(String value)
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
public ServiceAttachmentConsumerProjectLimit.Builder 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:
hasProjectIdOrNum
in interfaceServiceAttachmentConsumerProjectLimitOrBuilder
- Returns:
- Whether the projectIdOrNum field is set.
-
getProjectIdOrNum
public String getProjectIdOrNum()
The project id or number for the project to set the limit for.
optional string project_id_or_num = 349783336;
- Specified by:
getProjectIdOrNum
in 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:
getProjectIdOrNumBytes
in interfaceServiceAttachmentConsumerProjectLimitOrBuilder
- Returns:
- The bytes for projectIdOrNum.
-
setProjectIdOrNum
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;
- Parameters:
value
- The projectIdOrNum to set.- Returns:
- 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:
- 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.
-
setUnknownFields
public final ServiceAttachmentConsumerProjectLimit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
mergeUnknownFields
public final ServiceAttachmentConsumerProjectLimit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAttachmentConsumerProjectLimit.Builder>
-
-