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.GeneratedMessage.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.GeneratedMessage.Builder<Task.InfrastructureSpec.VpcNetwork.Builder>
implements Task.InfrastructureSpec.VpcNetworkOrBuilder
Cloud VPC Network used to run the infrastructure.Protobuf type
google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork-
Method Summary
Modifier and TypeMethodDescriptionaddAllNetworkTags(Iterable<String> values) Optional.addNetworkTags(String value) Optional.addNetworkTagsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.getNetworkTags(int index) Optional.com.google.protobuf.ByteStringgetNetworkTagsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.com.google.protobuf.ByteStringOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setNetwork(String value) Optional.setNetworkBytes(com.google.protobuf.ByteString value) Optional.setNetworkTags(int index, String value) Optional.setSubNetwork(String value) Optional.setSubNetworkBytes(com.google.protobuf.ByteString value) Optional.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<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.GeneratedMessage.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.GeneratedMessage.Builder<Task.InfrastructureSpec.VpcNetwork.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<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.GeneratedMessage.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
- Specified by:
getNetworkNameCasein interfaceTask.InfrastructureSpec.VpcNetworkOrBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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.
-