Package com.google.cloud.dataplex.v1
Class Task.InfrastructureSpec.VpcNetwork.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
- com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork.Builder
-
- All Implemented Interfaces:
Task.InfrastructureSpec.VpcNetworkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Task.InfrastructureSpec.VpcNetwork
public static final class Task.InfrastructureSpec.VpcNetwork.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder> implements Task.InfrastructureSpec.VpcNetworkOrBuilder
Cloud VPC Network used to run the infrastructure.
Protobuf typegoogle.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork
-
-
Method Summary
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
clear
public Task.InfrastructureSpec.VpcNetwork.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.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.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
getDefaultInstanceForType
public Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Task.InfrastructureSpec.VpcNetwork build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Task.InfrastructureSpec.VpcNetwork buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Task.InfrastructureSpec.VpcNetwork.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
setField
public Task.InfrastructureSpec.VpcNetwork.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
clearField
public Task.InfrastructureSpec.VpcNetwork.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
clearOneof
public Task.InfrastructureSpec.VpcNetwork.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
setRepeatedField
public Task.InfrastructureSpec.VpcNetwork.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
addRepeatedField
public Task.InfrastructureSpec.VpcNetwork.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
mergeFrom
public Task.InfrastructureSpec.VpcNetwork.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
mergeFrom
public Task.InfrastructureSpec.VpcNetwork.Builder mergeFrom(Task.InfrastructureSpec.VpcNetwork other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
mergeFrom
public Task.InfrastructureSpec.VpcNetwork.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<Task.InfrastructureSpec.VpcNetwork.Builder>- Throws:
IOException
-
getNetworkNameCase
public Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase()
- Specified by:
getNetworkNameCasein interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder
-
clearNetworkName
public Task.InfrastructureSpec.VpcNetwork.Builder clearNetworkName()
-
hasNetwork
public boolean hasNetwork()
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
string network = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasNetworkin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- Whether the network field is set.
-
getNetwork
public String getNetwork()
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
string network = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- The network.
-
getNetworkBytes
public com.google.protobuf.ByteString getNetworkBytes()
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
string network = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkBytesin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- The bytes for network.
-
setNetwork
public Task.InfrastructureSpec.VpcNetwork.Builder setNetwork(String value)
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
string network = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The network to set.- Returns:
- This builder for chaining.
-
clearNetwork
public Task.InfrastructureSpec.VpcNetwork.Builder clearNetwork()
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
string network = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNetworkBytes
public Task.InfrastructureSpec.VpcNetwork.Builder setNetworkBytes(com.google.protobuf.ByteString value)
Optional. The Cloud VPC network in which the job is run. By default, the Cloud VPC network named Default within the project is used.
string network = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for network to set.- Returns:
- This builder for chaining.
-
hasSubNetwork
public boolean hasSubNetwork()
Optional. The Cloud VPC sub-network in which the job is run.
string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasSubNetworkin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- Whether the subNetwork field is set.
-
getSubNetwork
public String getSubNetwork()
Optional. The Cloud VPC sub-network in which the job is run.
string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubNetworkin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- The subNetwork.
-
getSubNetworkBytes
public com.google.protobuf.ByteString getSubNetworkBytes()
Optional. The Cloud VPC sub-network in which the job is run.
string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubNetworkBytesin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- The bytes for subNetwork.
-
setSubNetwork
public Task.InfrastructureSpec.VpcNetwork.Builder setSubNetwork(String value)
Optional. The Cloud VPC sub-network in which the job is run.
string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The subNetwork to set.- Returns:
- This builder for chaining.
-
clearSubNetwork
public Task.InfrastructureSpec.VpcNetwork.Builder clearSubNetwork()
Optional. The Cloud VPC sub-network in which the job is run.
string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setSubNetworkBytes
public Task.InfrastructureSpec.VpcNetwork.Builder setSubNetworkBytes(com.google.protobuf.ByteString value)
Optional. The Cloud VPC sub-network in which the job is run.
string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for subNetwork to set.- Returns:
- This builder for chaining.
-
getNetworkTagsList
public com.google.protobuf.ProtocolStringList getNetworkTagsList()
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkTagsListin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- A list containing the networkTags.
-
getNetworkTagsCount
public int getNetworkTagsCount()
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkTagsCountin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Returns:
- The count of networkTags.
-
getNetworkTags
public String getNetworkTags(int index)
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkTagsin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The networkTags at the given index.
-
getNetworkTagsBytes
public com.google.protobuf.ByteString getNetworkTagsBytes(int index)
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNetworkTagsBytesin interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the networkTags at the given index.
-
setNetworkTags
public Task.InfrastructureSpec.VpcNetwork.Builder setNetworkTags(int index, String value)
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The networkTags to set.- Returns:
- This builder for chaining.
-
addNetworkTags
public Task.InfrastructureSpec.VpcNetwork.Builder addNetworkTags(String value)
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The networkTags to add.- Returns:
- This builder for chaining.
-
addAllNetworkTags
public Task.InfrastructureSpec.VpcNetwork.Builder addAllNetworkTags(Iterable<String> values)
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The networkTags to add.- Returns:
- This builder for chaining.
-
clearNetworkTags
public Task.InfrastructureSpec.VpcNetwork.Builder clearNetworkTags()
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addNetworkTagsBytes
public Task.InfrastructureSpec.VpcNetwork.Builder addNetworkTagsBytes(com.google.protobuf.ByteString value)
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the networkTags to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Task.InfrastructureSpec.VpcNetwork.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
mergeUnknownFields
public final Task.InfrastructureSpec.VpcNetwork.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
-
-