public static final class DnsPeering.Builder extends GeneratedMessage.Builder<DnsPeering.Builder> implements DnsPeeringOrBuilderDNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
Protobuf type google.cloud.datafusion.v1beta1.DnsPeering
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DnsPeering.BuilderImplements
DnsPeeringOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DnsPeering build()| Returns | |
|---|---|
| Type | Description |
DnsPeering |
|
buildPartial()
public DnsPeering buildPartial()| Returns | |
|---|---|
| Type | Description |
DnsPeering |
|
clear()
public DnsPeering.Builder clear()| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
clearDescription()
public DnsPeering.Builder clearDescription()Optional. Optional description of the dns zone.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clearDomain()
public DnsPeering.Builder clearDomain()Required. Name of the dns.
string domain = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clearTargetNetwork()
public DnsPeering.Builder clearTargetNetwork()Optional. Optional target network to which dns peering should happen.
string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clearTargetProject()
public DnsPeering.Builder clearTargetProject()Optional. Optional target project to which dns peering should happen.
string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clearZone()
public DnsPeering.Builder clearZone()Required. Name of the zone.
string zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DnsPeering other)
public DnsPeering.Builder mergeFrom(DnsPeering other)| Parameter | |
|---|---|
| Name | Description |
other |
DnsPeering |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DnsPeering.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DnsPeering.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
setDescription(String value)
public DnsPeering.Builder setDescription(String value)Optional. Optional description of the dns zone.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public DnsPeering.Builder setDescriptionBytes(ByteString value)Optional. Optional description of the dns zone.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setDomain(String value)
public DnsPeering.Builder setDomain(String value)Required. Name of the dns.
string domain = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe domain to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setDomainBytes(ByteString value)
public DnsPeering.Builder setDomainBytes(ByteString value)Required. Name of the dns.
string domain = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for domain to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setTargetNetwork(String value)
public DnsPeering.Builder setTargetNetwork(String value)Optional. Optional target network to which dns peering should happen.
string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setTargetNetworkBytes(ByteString value)
public DnsPeering.Builder setTargetNetworkBytes(ByteString value)Optional. Optional target network to which dns peering should happen.
string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetNetwork to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setTargetProject(String value)
public DnsPeering.Builder setTargetProject(String value)Optional. Optional target project to which dns peering should happen.
string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setTargetProjectBytes(ByteString value)
public DnsPeering.Builder setTargetProjectBytes(ByteString value)Optional. Optional target project to which dns peering should happen.
string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setZone(String value)
public DnsPeering.Builder setZone(String value)Required. Name of the zone.
string zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public DnsPeering.Builder setZoneBytes(ByteString value)Required. Name of the zone.
string zone = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |