public static final class DnsPeering.Builder extends GeneratedMessageV3.Builder<DnsPeering.Builder> implements DnsPeeringOrBuilderDNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
Protobuf type google.events.cloud.datafusion.v1.DnsPeering
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DnsPeering.BuilderImplements
DnsPeeringOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DnsPeering.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clearDomain()
public DnsPeering.Builder clearDomain()Required. The dns name suffix of the zone.
string domain = 2;
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DnsPeering.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
clearName()
public DnsPeering.Builder clearName()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 |
DnsPeering.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DnsPeering.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
clearTargetNetwork()
public DnsPeering.Builder clearTargetNetwork()Optional. Optional target network to which dns peering should happen.
string target_network = 5;
| 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;
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
clone()
public DnsPeering.Builder clone()| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DnsPeering.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
setDescription(String value)
public DnsPeering.Builder setDescription(String value)Optional. Optional description of the dns zone.
string description = 3;
| 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;
| 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. The dns name suffix of the zone.
string domain = 2;
| 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. The dns name suffix of the zone.
string domain = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for domain to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DnsPeering.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
setName(String value)
public DnsPeering.Builder setName(String value)Required. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DnsPeering.Builder setNameBytes(ByteString value)Required. The resource name of the dns peering zone. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeerings/{dns_peering}
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DnsPeering.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|
setTargetNetwork(String value)
public DnsPeering.Builder setTargetNetwork(String value)Optional. Optional target network to which dns peering should happen.
string target_network = 5;
| 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;
| 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;
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for targetProject to set. |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DnsPeering.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DnsPeering.Builder |
|