Class Task.InfrastructureSpec.VpcNetwork

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork
All Implemented Interfaces:
Task.InfrastructureSpec.VpcNetworkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Task.InfrastructureSpec

public static final class Task.InfrastructureSpec.VpcNetwork extends com.google.protobuf.GeneratedMessage implements Task.InfrastructureSpec.VpcNetworkOrBuilder
 Cloud VPC Network used to run the infrastructure.
 
Protobuf type google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork
See Also:
  • Field Details

    • NETWORK_FIELD_NUMBER

      public static final int NETWORK_FIELD_NUMBER
      See Also:
    • SUB_NETWORK_FIELD_NUMBER

      public static final int SUB_NETWORK_FIELD_NUMBER
      See Also:
    • NETWORK_TAGS_FIELD_NUMBER

      public static final int NETWORK_TAGS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getNetworkNameCase

      Specified by:
      getNetworkNameCase in interface Task.InfrastructureSpec.VpcNetworkOrBuilder
    • 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:
      hasNetwork in interface Task.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:
      getNetwork in interface Task.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:
      getNetworkBytes in interface Task.InfrastructureSpec.VpcNetworkOrBuilder
      Returns:
      The bytes for network.
    • 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:
      hasSubNetwork in interface Task.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:
      getSubNetwork in interface Task.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:
      getSubNetworkBytes in interface Task.InfrastructureSpec.VpcNetworkOrBuilder
      Returns:
      The bytes for subNetwork.
    • 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:
      getNetworkTagsList in interface Task.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:
      getNetworkTagsCount in interface Task.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:
      getNetworkTags in interface Task.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:
      getNetworkTagsBytes in interface Task.InfrastructureSpec.VpcNetworkOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the networkTags at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Task.InfrastructureSpec.VpcNetwork parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Task.InfrastructureSpec.VpcNetwork getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Task.InfrastructureSpec.VpcNetwork> parser()
    • getParserForType

      public com.google.protobuf.Parser<Task.InfrastructureSpec.VpcNetwork> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder