Class DnsPeering (1.54.0)

public final class DnsPeering extends GeneratedMessageV3 implements DnsPeeringOrBuilder

DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.

Protobuf type google.cloud.datafusion.v1beta1.DnsPeering

Implements

DnsPeeringOrBuilder

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

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

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DnsPeering getDefaultInstance()
Returns
Type Description
DnsPeering

getDescriptor()

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

newBuilder()

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

newBuilder(DnsPeering prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DnsPeering getDefaultInstanceForType()
Returns
Type Description
DnsPeering

getDescription()

public String getDescription()

Optional. Optional description of the dns zone.

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

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Optional description of the dns zone.

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

Returns
Type Description
ByteString

The bytes for description.

getDomain()

public String getDomain()

Required. Name of the dns.

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

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. Name of the dns.

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

Returns
Type Description
ByteString

The bytes for domain.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetNetwork()

public String getTargetNetwork()

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The targetNetwork.

getTargetNetworkBytes()

public ByteString getTargetNetworkBytes()

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for targetNetwork.

getTargetProject()

public String getTargetProject()

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

public ByteString getTargetProjectBytes()

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for targetProject.

getZone()

public String getZone()

Required. Name of the zone.

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

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Required. Name of the zone.

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

Returns
Type Description
ByteString

The bytes for zone.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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