Class Task.InfrastructureSpec.VpcNetwork (1.45.0)

public static final class Task.InfrastructureSpec.VpcNetwork extends GeneratedMessageV3 implements Task.InfrastructureSpec.VpcNetworkOrBuilder

Cloud VPC Network used to run the infrastructure.

Protobuf type google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Task.InfrastructureSpec.VpcNetwork

Static Fields

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_TAGS_FIELD_NUMBER

public static final int NETWORK_TAGS_FIELD_NUMBER
Field Value
Type Description
int

SUB_NETWORK_FIELD_NUMBER

public static final int SUB_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec.VpcNetwork getDefaultInstance()
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder()
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.Builder

newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)

public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)
Parameter
Name Description
prototype Task.InfrastructureSpec.VpcNetwork
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.Builder

parseDelimitedFrom(InputStream input)

public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Task.InfrastructureSpec.VpcNetwork> parser()
Returns
Type Description
Parser<VpcNetwork>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType()
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork

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];

Returns
Type Description
String

The network.

getNetworkBytes()

public 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];

Returns
Type Description
ByteString

The bytes for network.

getNetworkNameCase()

public Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase()
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.NetworkNameCase

getNetworkTags(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The networkTags at the given index.

getNetworkTagsBytes(int index)

public ByteString getNetworkTagsBytes(int index)

Optional. List of network tags to apply to the job.

repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the networkTags at the given index.

getNetworkTagsCount()

public int getNetworkTagsCount()

Optional. List of network tags to apply to the job.

repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of networkTags.

getNetworkTagsList()

public ProtocolStringList getNetworkTagsList()

Optional. List of network tags to apply to the job.

repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the networkTags.

getParserForType()

public Parser<Task.InfrastructureSpec.VpcNetwork> getParserForType()
Returns
Type Description
Parser<VpcNetwork>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
String

The subNetwork.

getSubNetworkBytes()

public ByteString getSubNetworkBytes()

Optional. The Cloud VPC sub-network in which the job is run.

string sub_network = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subNetwork.

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];

Returns
Type Description
boolean

Whether the network field is set.

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];

Returns
Type Description
boolean

Whether the subNetwork field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType()
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Task.InfrastructureSpec.VpcNetwork.Builder toBuilder()
Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException