Class DnsPeering (0.15.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.events.cloud.datafusion.v1.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

NAME_FIELD_NUMBER

public static final int NAME_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 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;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Optional description of the dns zone.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDomain()

public String getDomain()

Required. The dns name suffix of the zone.

string domain = 2;

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. The dns name suffix of the zone.

string domain = 2;

Returns
Type Description
ByteString

The bytes for domain.

getName()

public String getName()

Required. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

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;

Returns
Type Description
String

The targetNetwork.

getTargetNetworkBytes()

public ByteString getTargetNetworkBytes()

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

string target_network = 5;

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;

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

public ByteString getTargetProjectBytes()

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

string target_project = 4;

Returns
Type Description
ByteString

The bytes for targetProject.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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