Interface ListTargetsResponseOrBuilder (1.20.0)

public interface ListTargetsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getTargets(int index)

public abstract Target getTargets(int index)

The Target objects.

repeated .google.cloud.deploy.v1.Target targets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Target

getTargetsCount()

public abstract int getTargetsCount()

The Target objects.

repeated .google.cloud.deploy.v1.Target targets = 1;

Returns
TypeDescription
int

getTargetsList()

public abstract List<Target> getTargetsList()

The Target objects.

repeated .google.cloud.deploy.v1.Target targets = 1;

Returns
TypeDescription
List<Target>

getTargetsOrBuilder(int index)

public abstract TargetOrBuilder getTargetsOrBuilder(int index)

The Target objects.

repeated .google.cloud.deploy.v1.Target targets = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TargetOrBuilder

getTargetsOrBuilderList()

public abstract List<? extends TargetOrBuilder> getTargetsOrBuilderList()

The Target objects.

repeated .google.cloud.deploy.v1.Target targets = 1;

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.TargetOrBuilder>

getUnreachable(int index)

public abstract String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public abstract ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public abstract int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
List<String>

A list containing the unreachable.