Class ListGoldengateConnectionsResponse.Builder (0.42.0)

public static final class ListGoldengateConnectionsResponse.Builder extends GeneratedMessage.Builder<ListGoldengateConnectionsResponse.Builder> implements ListGoldengateConnectionsResponseOrBuilder

The response for GoldengateConnection.List.

Protobuf type google.cloud.oracledatabase.v1.ListGoldengateConnectionsResponse

Static Methods

getDescriptor()

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

Methods

addAllGoldengateConnections(Iterable<? extends GoldengateConnection> values)

public ListGoldengateConnectionsResponse.Builder addAllGoldengateConnections(Iterable<? extends GoldengateConnection> values)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

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

addAllUnreachable(Iterable<String> values)

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

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

addGoldengateConnections(GoldengateConnection value)

public ListGoldengateConnectionsResponse.Builder addGoldengateConnections(GoldengateConnection value)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
value GoldengateConnection
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

addGoldengateConnections(GoldengateConnection.Builder builderForValue)

public ListGoldengateConnectionsResponse.Builder addGoldengateConnections(GoldengateConnection.Builder builderForValue)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
builderForValue GoldengateConnection.Builder
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

addGoldengateConnections(int index, GoldengateConnection value)

public ListGoldengateConnectionsResponse.Builder addGoldengateConnections(int index, GoldengateConnection value)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameters
Name Description
index int
value GoldengateConnection
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

addGoldengateConnections(int index, GoldengateConnection.Builder builderForValue)

public ListGoldengateConnectionsResponse.Builder addGoldengateConnections(int index, GoldengateConnection.Builder builderForValue)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameters
Name Description
index int
builderForValue GoldengateConnection.Builder
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

addGoldengateConnectionsBuilder()

public GoldengateConnection.Builder addGoldengateConnectionsBuilder()

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Returns
Type Description
GoldengateConnection.Builder

addGoldengateConnectionsBuilder(int index)

public GoldengateConnection.Builder addGoldengateConnectionsBuilder(int index)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateConnection.Builder

addUnreachable(String value)

public ListGoldengateConnectionsResponse.Builder addUnreachable(String value)

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListGoldengateConnectionsResponse.Builder addUnreachableBytes(ByteString value)

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

build()

public ListGoldengateConnectionsResponse build()
Returns
Type Description
ListGoldengateConnectionsResponse

buildPartial()

public ListGoldengateConnectionsResponse buildPartial()
Returns
Type Description
ListGoldengateConnectionsResponse

clear()

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

clearGoldengateConnections()

public ListGoldengateConnectionsResponse.Builder clearGoldengateConnections()

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

clearNextPageToken()

public ListGoldengateConnectionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListGoldengateConnectionsResponse.Builder clearUnreachable()

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListGoldengateConnectionsResponse getDefaultInstanceForType()
Returns
Type Description
ListGoldengateConnectionsResponse

getDescriptorForType()

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

getGoldengateConnections(int index)

public GoldengateConnection getGoldengateConnections(int index)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateConnection

getGoldengateConnectionsBuilder(int index)

public GoldengateConnection.Builder getGoldengateConnectionsBuilder(int index)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateConnection.Builder

getGoldengateConnectionsBuilderList()

public List<GoldengateConnection.Builder> getGoldengateConnectionsBuilderList()

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Returns
Type Description
List<Builder>

getGoldengateConnectionsCount()

public int getGoldengateConnectionsCount()

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Returns
Type Description
int

getGoldengateConnectionsList()

public List<GoldengateConnection> getGoldengateConnectionsList()

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Returns
Type Description
List<GoldengateConnection>

getGoldengateConnectionsOrBuilder(int index)

public GoldengateConnectionOrBuilder getGoldengateConnectionsOrBuilder(int index)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateConnectionOrBuilder

getGoldengateConnectionsOrBuilderList()

public List<? extends GoldengateConnectionOrBuilder> getGoldengateConnectionsOrBuilderList()

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

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

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.

getUnreachable(int index)

public String getUnreachable(int index)

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

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(ListGoldengateConnectionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeGoldengateConnections(int index)

public ListGoldengateConnectionsResponse.Builder removeGoldengateConnections(int index)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

setGoldengateConnections(int index, GoldengateConnection value)

public ListGoldengateConnectionsResponse.Builder setGoldengateConnections(int index, GoldengateConnection value)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameters
Name Description
index int
value GoldengateConnection
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

setGoldengateConnections(int index, GoldengateConnection.Builder builderForValue)

public ListGoldengateConnectionsResponse.Builder setGoldengateConnections(int index, GoldengateConnection.Builder builderForValue)

The list of GoldengateConnections.

repeated .google.cloud.oracledatabase.v1.GoldengateConnection goldengate_connections = 1;

Parameters
Name Description
index int
builderForValue GoldengateConnection.Builder
Returns
Type Description
ListGoldengateConnectionsResponse.Builder

setNextPageToken(String value)

public ListGoldengateConnectionsResponse.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
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGoldengateConnectionsResponse.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
ListGoldengateConnectionsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

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

Optional. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListGoldengateConnectionsResponse.Builder

This builder for chaining.