Class ListDnsPeeringsResponse.Builder (1.24.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datafusion.v1beta1.DnsPeering>
Returns
TypeDescription
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
NameDescription
valueDnsPeering
Returns
TypeDescription
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
NameDescription
builderForValueDnsPeering.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDnsPeering
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDnsPeering.Builder
Returns
TypeDescription
ListDnsPeeringsResponse.Builder

addDnsPeeringsBuilder()

public DnsPeering.Builder addDnsPeeringsBuilder()

List of dns peering configs.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DnsPeering.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDnsPeeringsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides

build()

public ListDnsPeeringsResponse build()
Returns
TypeDescription
ListDnsPeeringsResponse

buildPartial()

public ListDnsPeeringsResponse buildPartial()
Returns
TypeDescription
ListDnsPeeringsResponse

clear()

public ListDnsPeeringsResponse.Builder clear()
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides

clearDnsPeerings()

public ListDnsPeeringsResponse.Builder clearDnsPeerings()

List of dns peering configs.

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

Returns
TypeDescription
ListDnsPeeringsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDnsPeeringsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDnsPeeringsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDnsPeeringsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides

clone()

public ListDnsPeeringsResponse.Builder clone()
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListDnsPeeringsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDnsPeeringsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DnsPeering.Builder

getDnsPeeringsBuilderList()

public List<DnsPeering.Builder> getDnsPeeringsBuilderList()

List of dns peering configs.

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

Returns
TypeDescription
List<Builder>

getDnsPeeringsCount()

public int getDnsPeeringsCount()

List of dns peering configs.

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

Returns
TypeDescription
int

getDnsPeeringsList()

public List<DnsPeering> getDnsPeeringsList()

List of dns peering configs.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DnsPeeringOrBuilder

getDnsPeeringsOrBuilderList()

public List<? extends DnsPeeringOrBuilder> getDnsPeeringsOrBuilderList()

List of dns peering configs.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDnsPeeringsResponse other)

public ListDnsPeeringsResponse.Builder mergeFrom(ListDnsPeeringsResponse other)
Parameter
NameDescription
otherListDnsPeeringsResponse
Returns
TypeDescription
ListDnsPeeringsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDnsPeeringsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDnsPeeringsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsPeeringsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDnsPeering
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDnsPeering.Builder
Returns
TypeDescription
ListDnsPeeringsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDnsPeeringsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDnsPeeringsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDnsPeeringsResponse.Builder
Overrides