Class Task.InfrastructureSpec.VpcNetwork (1.0.1)

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
TypeDescription
int

NETWORK_TAGS_FIELD_NUMBER

public static final int NETWORK_TAGS_FIELD_NUMBER
Field Value
TypeDescription
int

SUB_NETWORK_FIELD_NUMBER

public static final int SUB_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec.VpcNetwork getDefaultInstance()
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder()
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork.Builder

newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)

public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)
Parameter
NameDescription
prototypeTask.InfrastructureSpec.VpcNetwork
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork.Builder

parseDelimitedFrom(InputStream input)

public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for network.

getNetworkNameCase()

public Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the networkTags.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for subNetwork.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
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
TypeDescription
boolean

Whether the subNetwork field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType()
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Task.InfrastructureSpec.VpcNetwork.Builder toBuilder()
Returns
TypeDescription
Task.InfrastructureSpec.VpcNetwork.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException