Class DnsPeering (1.4.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
TypeDescription
int

DOMAIN_FIELD_NUMBER

public static final int DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_NETWORK_FIELD_NUMBER

public static final int TARGET_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_PROJECT_FIELD_NUMBER

public static final int TARGET_PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DnsPeering getDefaultInstance()
Returns
TypeDescription
DnsPeering

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DnsPeering.Builder newBuilder()
Returns
TypeDescription
DnsPeering.Builder

newBuilder(DnsPeering prototype)

public static DnsPeering.Builder newBuilder(DnsPeering prototype)
Parameter
NameDescription
prototypeDnsPeering
Returns
TypeDescription
DnsPeering.Builder

parseDelimitedFrom(InputStream input)

public static DnsPeering parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsPeering parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DnsPeering parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DnsPeering parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DnsPeering parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DnsPeering parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DnsPeering parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsPeering parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DnsPeering parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DnsPeering parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DnsPeering parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DnsPeering parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DnsPeering
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DnsPeering> parser()
Returns
TypeDescription
Parser<DnsPeering>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DnsPeering getDefaultInstanceForType()
Returns
TypeDescription
DnsPeering

getDescription()

public String getDescription()

Optional. Optional description of the dns zone.

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

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Optional description of the dns zone.

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

Returns
TypeDescription
ByteString

The bytes for description.

getDomain()

public String getDomain()

Required. Name of the dns.

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

Returns
TypeDescription
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. Name of the dns.

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

Returns
TypeDescription
ByteString

The bytes for domain.

getParserForType()

public Parser<DnsPeering> getParserForType()
Returns
TypeDescription
Parser<DnsPeering>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for targetProject.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getZone()

public String getZone()

Required. Name of the zone.

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

Returns
TypeDescription
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Required. Name of the zone.

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

Returns
TypeDescription
ByteString

The bytes for zone.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DnsPeering.Builder newBuilderForType()
Returns
TypeDescription
DnsPeering.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DnsPeering.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DnsPeering.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DnsPeering.Builder toBuilder()
Returns
TypeDescription
DnsPeering.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException