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
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
DOMAIN_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
Field Value
TARGET_NETWORK_FIELD_NUMBER
public static final int TARGET_NETWORK_FIELD_NUMBER
Field Value
TARGET_PROJECT_FIELD_NUMBER
public static final int TARGET_PROJECT_FIELD_NUMBER
Field Value
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DnsPeering getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DnsPeering.Builder newBuilder()
Returns
newBuilder(DnsPeering prototype)
public static DnsPeering.Builder newBuilder(DnsPeering prototype)
Parameter
Returns
public static DnsPeering parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DnsPeering parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DnsPeering parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DnsPeering parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DnsPeering parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DnsPeering parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DnsPeering parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DnsPeering parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DnsPeering parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DnsPeering parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DnsPeering parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DnsPeering parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DnsPeering> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DnsPeering getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<DnsPeering> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DnsPeering.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DnsPeering.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DnsPeering.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions