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 |
---|
Type | Description |
int | |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder()
newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)
public static Task.InfrastructureSpec.VpcNetwork.Builder newBuilder(Task.InfrastructureSpec.VpcNetwork prototype)
public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input)
public static Task.InfrastructureSpec.VpcNetwork parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.VpcNetwork parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Task.InfrastructureSpec.VpcNetwork> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Task.InfrastructureSpec.VpcNetwork getDefaultInstanceForType()
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()
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];
getParserForType()
public Parser<Task.InfrastructureSpec.VpcNetwork> getParserForType()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Task.InfrastructureSpec.VpcNetwork.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Task.InfrastructureSpec.VpcNetwork.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides