Class DnsPeeringConfig (3.68.0)

public final class DnsPeeringConfig extends GeneratedMessageV3 implements DnsPeeringConfigOrBuilder

DNS peering configuration. These configurations are used to create DNS peering zones in the Vertex tenant project VPC, enabling resolution of records within the specified domain hosted in the target network's Cloud DNS.

Protobuf type google.cloud.aiplatform.v1.DnsPeeringConfig

Static Fields

DOMAIN_FIELD_NUMBER

public static final int DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

TARGET_NETWORK_FIELD_NUMBER

public static final int TARGET_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

TARGET_PROJECT_FIELD_NUMBER

public static final int TARGET_PROJECT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DnsPeeringConfig getDefaultInstance()
Returns
Type Description
DnsPeeringConfig

getDescriptor()

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

newBuilder()

public static DnsPeeringConfig.Builder newBuilder()
Returns
Type Description
DnsPeeringConfig.Builder

newBuilder(DnsPeeringConfig prototype)

public static DnsPeeringConfig.Builder newBuilder(DnsPeeringConfig prototype)
Parameter
Name Description
prototype DnsPeeringConfig
Returns
Type Description
DnsPeeringConfig.Builder

parseDelimitedFrom(InputStream input)

public static DnsPeeringConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsPeeringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DnsPeeringConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsPeeringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsPeeringConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsPeeringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsPeeringConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsPeeringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DnsPeeringConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsPeeringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DnsPeeringConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsPeeringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeeringConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DnsPeeringConfig> parser()
Returns
Type Description
Parser<DnsPeeringConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DnsPeeringConfig getDefaultInstanceForType()
Returns
Type Description
DnsPeeringConfig

getDomain()

public String getDomain()

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

string domain = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

string domain = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for domain.

getParserForType()

public Parser<DnsPeeringConfig> getParserForType()
Returns
Type Description
Parser<DnsPeeringConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetNetwork()

public String getTargetNetwork()

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetNetwork.

getTargetNetworkBytes()

public ByteString getTargetNetworkBytes()

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetNetwork.

getTargetProject()

public String getTargetProject()

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

string target_project = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

public ByteString getTargetProjectBytes()

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

string target_project = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetProject.

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 DnsPeeringConfig.Builder newBuilderForType()
Returns
Type Description
DnsPeeringConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsPeeringConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DnsPeeringConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DnsPeeringConfig.Builder toBuilder()
Returns
Type Description
DnsPeeringConfig.Builder

writeTo(CodedOutputStream output)

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