Class ListDnsPeeringsResponse.Builder (1.44.0)

public static final class ListDnsPeeringsResponse.Builder extends GeneratedMessageV3.Builder<ListDnsPeeringsResponse.Builder> implements ListDnsPeeringsResponseOrBuilder

List dns peering response.

Protobuf type google.cloud.datafusion.v1beta1.ListDnsPeeringsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDnsPeerings(Iterable<? extends DnsPeering> values)

public ListDnsPeeringsResponse.Builder addAllDnsPeerings(Iterable<? extends DnsPeering> values)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datafusion.v1beta1.DnsPeering>
Returns
Type Description
ListDnsPeeringsResponse.Builder

addDnsPeerings(DnsPeering value)

public ListDnsPeeringsResponse.Builder addDnsPeerings(DnsPeering value)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
value DnsPeering
Returns
Type Description
ListDnsPeeringsResponse.Builder

addDnsPeerings(DnsPeering.Builder builderForValue)

public ListDnsPeeringsResponse.Builder addDnsPeerings(DnsPeering.Builder builderForValue)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
builderForValue DnsPeering.Builder
Returns
Type Description
ListDnsPeeringsResponse.Builder

addDnsPeerings(int index, DnsPeering value)

public ListDnsPeeringsResponse.Builder addDnsPeerings(int index, DnsPeering value)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameters
Name Description
index int
value DnsPeering
Returns
Type Description
ListDnsPeeringsResponse.Builder

addDnsPeerings(int index, DnsPeering.Builder builderForValue)

public ListDnsPeeringsResponse.Builder addDnsPeerings(int index, DnsPeering.Builder builderForValue)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameters
Name Description
index int
builderForValue DnsPeering.Builder
Returns
Type Description
ListDnsPeeringsResponse.Builder

addDnsPeeringsBuilder()

public DnsPeering.Builder addDnsPeeringsBuilder()

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Returns
Type Description
DnsPeering.Builder

addDnsPeeringsBuilder(int index)

public DnsPeering.Builder addDnsPeeringsBuilder(int index)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsPeering.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDnsPeeringsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

build()

public ListDnsPeeringsResponse build()
Returns
Type Description
ListDnsPeeringsResponse

buildPartial()

public ListDnsPeeringsResponse buildPartial()
Returns
Type Description
ListDnsPeeringsResponse

clear()

public ListDnsPeeringsResponse.Builder clear()
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

clearDnsPeerings()

public ListDnsPeeringsResponse.Builder clearDnsPeerings()

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Returns
Type Description
ListDnsPeeringsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDnsPeeringsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

clearNextPageToken()

public ListDnsPeeringsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListDnsPeeringsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDnsPeeringsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

clone()

public ListDnsPeeringsResponse.Builder clone()
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDnsPeeringsResponse getDefaultInstanceForType()
Returns
Type Description
ListDnsPeeringsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDnsPeerings(int index)

public DnsPeering getDnsPeerings(int index)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsPeering

getDnsPeeringsBuilder(int index)

public DnsPeering.Builder getDnsPeeringsBuilder(int index)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsPeering.Builder

getDnsPeeringsBuilderList()

public List<DnsPeering.Builder> getDnsPeeringsBuilderList()

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Returns
Type Description
List<Builder>

getDnsPeeringsCount()

public int getDnsPeeringsCount()

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Returns
Type Description
int

getDnsPeeringsList()

public List<DnsPeering> getDnsPeeringsList()

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Returns
Type Description
List<DnsPeering>

getDnsPeeringsOrBuilder(int index)

public DnsPeeringOrBuilder getDnsPeeringsOrBuilder(int index)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
index int
Returns
Type Description
DnsPeeringOrBuilder

getDnsPeeringsOrBuilderList()

public List<? extends DnsPeeringOrBuilder> getDnsPeeringsOrBuilderList()

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Returns
Type Description
List<? extends com.google.cloud.datafusion.v1beta1.DnsPeeringOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDnsPeeringsResponse other)

public ListDnsPeeringsResponse.Builder mergeFrom(ListDnsPeeringsResponse other)
Parameter
Name Description
other ListDnsPeeringsResponse
Returns
Type Description
ListDnsPeeringsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDnsPeeringsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDnsPeeringsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsPeeringsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

removeDnsPeerings(int index)

public ListDnsPeeringsResponse.Builder removeDnsPeerings(int index)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDnsPeeringsResponse.Builder

setDnsPeerings(int index, DnsPeering value)

public ListDnsPeeringsResponse.Builder setDnsPeerings(int index, DnsPeering value)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameters
Name Description
index int
value DnsPeering
Returns
Type Description
ListDnsPeeringsResponse.Builder

setDnsPeerings(int index, DnsPeering.Builder builderForValue)

public ListDnsPeeringsResponse.Builder setDnsPeerings(int index, DnsPeering.Builder builderForValue)

List of dns peering configs.

repeated .google.cloud.datafusion.v1beta1.DnsPeering dns_peerings = 1;

Parameters
Name Description
index int
builderForValue DnsPeering.Builder
Returns
Type Description
ListDnsPeeringsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDnsPeeringsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

setNextPageToken(String value)

public ListDnsPeeringsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDnsPeeringsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListDnsPeeringsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDnsPeeringsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDnsPeeringsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsPeeringsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDnsPeeringsResponse.Builder
Overrides