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
Static Fields
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Field Value
public static final int NETWORK_TAGS_FIELD_NUMBER
Field Value
SUB_NETWORK_FIELD_NUMBER
public static final int SUB_NETWORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Task.InfrastructureSpec.VpcNetwork getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder()
Returns
newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)
public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)
Parameter
Returns
public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Task.InfrastructureSpec.VpcNetwork> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType()
Returns
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
getNetworkNameCase()
public Task.InfrastructureSpec.VpcNetwork.NetworkNameCase getNetworkNameCase()
Returns
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.
|
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.
|
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.
|
public ProtocolStringList getNetworkTagsList()
Optional. List of network tags to apply to the job.
repeated string network_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<Task.InfrastructureSpec.VpcNetwork> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Task.InfrastructureSpec.VpcNetwork.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions