Class ListOdbDnsZonesResponse.Builder (0.52.0)

public static final class ListOdbDnsZonesResponse.Builder extends GeneratedMessage.Builder<ListOdbDnsZonesResponse.Builder> implements ListOdbDnsZonesResponseOrBuilder

The response for OdbDnsZone.List.

Protobuf type google.cloud.oracledatabase.v1.ListOdbDnsZonesResponse

Static Methods

getDescriptor()

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

Methods

addAllOdbDnsZones(Iterable<? extends OdbDnsZone> values)

public ListOdbDnsZonesResponse.Builder addAllOdbDnsZones(Iterable<? extends OdbDnsZone> values)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.oracledatabase.v1.OdbDnsZone>
Returns
Type Description
ListOdbDnsZonesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListOdbDnsZonesResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

addOdbDnsZones(OdbDnsZone value)

public ListOdbDnsZonesResponse.Builder addOdbDnsZones(OdbDnsZone value)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
value OdbDnsZone
Returns
Type Description
ListOdbDnsZonesResponse.Builder

addOdbDnsZones(OdbDnsZone.Builder builderForValue)

public ListOdbDnsZonesResponse.Builder addOdbDnsZones(OdbDnsZone.Builder builderForValue)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
builderForValue OdbDnsZone.Builder
Returns
Type Description
ListOdbDnsZonesResponse.Builder

addOdbDnsZones(int index, OdbDnsZone value)

public ListOdbDnsZonesResponse.Builder addOdbDnsZones(int index, OdbDnsZone value)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameters
Name Description
index int
value OdbDnsZone
Returns
Type Description
ListOdbDnsZonesResponse.Builder

addOdbDnsZones(int index, OdbDnsZone.Builder builderForValue)

public ListOdbDnsZonesResponse.Builder addOdbDnsZones(int index, OdbDnsZone.Builder builderForValue)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameters
Name Description
index int
builderForValue OdbDnsZone.Builder
Returns
Type Description
ListOdbDnsZonesResponse.Builder

addOdbDnsZonesBuilder()

public OdbDnsZone.Builder addOdbDnsZonesBuilder()

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Returns
Type Description
OdbDnsZone.Builder

addOdbDnsZonesBuilder(int index)

public OdbDnsZone.Builder addOdbDnsZonesBuilder(int index)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
index int
Returns
Type Description
OdbDnsZone.Builder

addUnreachable(String value)

public ListOdbDnsZonesResponse.Builder addUnreachable(String value)

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListOdbDnsZonesResponse.Builder addUnreachableBytes(ByteString value)

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

build()

public ListOdbDnsZonesResponse build()
Returns
Type Description
ListOdbDnsZonesResponse

buildPartial()

public ListOdbDnsZonesResponse buildPartial()
Returns
Type Description
ListOdbDnsZonesResponse

clear()

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

clearNextPageToken()

public ListOdbDnsZonesResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

clearOdbDnsZones()

public ListOdbDnsZonesResponse.Builder clearOdbDnsZones()

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Returns
Type Description
ListOdbDnsZonesResponse.Builder

clearUnreachable()

public ListOdbDnsZonesResponse.Builder clearUnreachable()

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListOdbDnsZonesResponse getDefaultInstanceForType()
Returns
Type Description
ListOdbDnsZonesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getOdbDnsZones(int index)

public OdbDnsZone getOdbDnsZones(int index)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
index int
Returns
Type Description
OdbDnsZone

getOdbDnsZonesBuilder(int index)

public OdbDnsZone.Builder getOdbDnsZonesBuilder(int index)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
index int
Returns
Type Description
OdbDnsZone.Builder

getOdbDnsZonesBuilderList()

public List<OdbDnsZone.Builder> getOdbDnsZonesBuilderList()

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Returns
Type Description
List<Builder>

getOdbDnsZonesCount()

public int getOdbDnsZonesCount()

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Returns
Type Description
int

getOdbDnsZonesList()

public List<OdbDnsZone> getOdbDnsZonesList()

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Returns
Type Description
List<OdbDnsZone>

getOdbDnsZonesOrBuilder(int index)

public OdbDnsZoneOrBuilder getOdbDnsZonesOrBuilder(int index)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
index int
Returns
Type Description
OdbDnsZoneOrBuilder

getOdbDnsZonesOrBuilderList()

public List<? extends OdbDnsZoneOrBuilder> getOdbDnsZonesOrBuilderList()

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.OdbDnsZoneOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOdbDnsZonesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeOdbDnsZones(int index)

public ListOdbDnsZonesResponse.Builder removeOdbDnsZones(int index)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameter
Name Description
index int
Returns
Type Description
ListOdbDnsZonesResponse.Builder

setNextPageToken(String value)

public ListOdbDnsZonesResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOdbDnsZonesResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.

setOdbDnsZones(int index, OdbDnsZone value)

public ListOdbDnsZonesResponse.Builder setOdbDnsZones(int index, OdbDnsZone value)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameters
Name Description
index int
value OdbDnsZone
Returns
Type Description
ListOdbDnsZonesResponse.Builder

setOdbDnsZones(int index, OdbDnsZone.Builder builderForValue)

public ListOdbDnsZonesResponse.Builder setOdbDnsZones(int index, OdbDnsZone.Builder builderForValue)

The list of OdbDnsZones.

repeated .google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zones = 1;

Parameters
Name Description
index int
builderForValue OdbDnsZone.Builder
Returns
Type Description
ListOdbDnsZonesResponse.Builder

setUnreachable(int index, String value)

public ListOdbDnsZonesResponse.Builder setUnreachable(int index, String value)

Unreachable locations when listing resources across all locations using wildcard location '-'.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListOdbDnsZonesResponse.Builder

This builder for chaining.