Class ListGoldengateDeploymentsResponse.Builder (0.42.0)

public static final class ListGoldengateDeploymentsResponse.Builder extends GeneratedMessage.Builder<ListGoldengateDeploymentsResponse.Builder> implements ListGoldengateDeploymentsResponseOrBuilder

The response for GoldengateDeployment.List.

Protobuf type google.cloud.oracledatabase.v1.ListGoldengateDeploymentsResponse

Static Methods

getDescriptor()

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

Methods

addAllGoldengateDeployments(Iterable<? extends GoldengateDeployment> values)

public ListGoldengateDeploymentsResponse.Builder addAllGoldengateDeployments(Iterable<? extends GoldengateDeployment> values)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addGoldengateDeployments(GoldengateDeployment value)

public ListGoldengateDeploymentsResponse.Builder addGoldengateDeployments(GoldengateDeployment value)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
value GoldengateDeployment
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

addGoldengateDeployments(GoldengateDeployment.Builder builderForValue)

public ListGoldengateDeploymentsResponse.Builder addGoldengateDeployments(GoldengateDeployment.Builder builderForValue)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
builderForValue GoldengateDeployment.Builder
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

addGoldengateDeployments(int index, GoldengateDeployment value)

public ListGoldengateDeploymentsResponse.Builder addGoldengateDeployments(int index, GoldengateDeployment value)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameters
Name Description
index int
value GoldengateDeployment
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

addGoldengateDeployments(int index, GoldengateDeployment.Builder builderForValue)

public ListGoldengateDeploymentsResponse.Builder addGoldengateDeployments(int index, GoldengateDeployment.Builder builderForValue)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameters
Name Description
index int
builderForValue GoldengateDeployment.Builder
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

addGoldengateDeploymentsBuilder()

public GoldengateDeployment.Builder addGoldengateDeploymentsBuilder()

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Returns
Type Description
GoldengateDeployment.Builder

addGoldengateDeploymentsBuilder(int index)

public GoldengateDeployment.Builder addGoldengateDeploymentsBuilder(int index)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateDeployment.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListGoldengateDeploymentsResponse build()
Returns
Type Description
ListGoldengateDeploymentsResponse

buildPartial()

public ListGoldengateDeploymentsResponse buildPartial()
Returns
Type Description
ListGoldengateDeploymentsResponse

clear()

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

clearGoldengateDeployments()

public ListGoldengateDeploymentsResponse.Builder clearGoldengateDeployments()

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

clearNextPageToken()

public ListGoldengateDeploymentsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

This builder for chaining.

clearUnreachable()

public ListGoldengateDeploymentsResponse.Builder clearUnreachable()

Optional. Locations that could not be reached.

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

Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListGoldengateDeploymentsResponse getDefaultInstanceForType()
Returns
Type Description
ListGoldengateDeploymentsResponse

getDescriptorForType()

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

getGoldengateDeployments(int index)

public GoldengateDeployment getGoldengateDeployments(int index)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateDeployment

getGoldengateDeploymentsBuilder(int index)

public GoldengateDeployment.Builder getGoldengateDeploymentsBuilder(int index)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateDeployment.Builder

getGoldengateDeploymentsBuilderList()

public List<GoldengateDeployment.Builder> getGoldengateDeploymentsBuilderList()

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Returns
Type Description
List<Builder>

getGoldengateDeploymentsCount()

public int getGoldengateDeploymentsCount()

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Returns
Type Description
int

getGoldengateDeploymentsList()

public List<GoldengateDeployment> getGoldengateDeploymentsList()

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Returns
Type Description
List<GoldengateDeployment>

getGoldengateDeploymentsOrBuilder(int index)

public GoldengateDeploymentOrBuilder getGoldengateDeploymentsOrBuilder(int index)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
GoldengateDeploymentOrBuilder

getGoldengateDeploymentsOrBuilderList()

public List<? extends GoldengateDeploymentOrBuilder> getGoldengateDeploymentsOrBuilderList()

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeGoldengateDeployments(int index)

public ListGoldengateDeploymentsResponse.Builder removeGoldengateDeployments(int index)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

setGoldengateDeployments(int index, GoldengateDeployment value)

public ListGoldengateDeploymentsResponse.Builder setGoldengateDeployments(int index, GoldengateDeployment value)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameters
Name Description
index int
value GoldengateDeployment
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

setGoldengateDeployments(int index, GoldengateDeployment.Builder builderForValue)

public ListGoldengateDeploymentsResponse.Builder setGoldengateDeployments(int index, GoldengateDeployment.Builder builderForValue)

The list of GoldengateDeployments.

repeated .google.cloud.oracledatabase.v1.GoldengateDeployment goldengate_deployments = 1;

Parameters
Name Description
index int
builderForValue GoldengateDeployment.Builder
Returns
Type Description
ListGoldengateDeploymentsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setUnreachable(int index, String value)

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

This builder for chaining.