Interface GoogleApiSource.ProjectSubscriptionsOrBuilder (1.81.0)

public static interface GoogleApiSource.ProjectSubscriptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getList(int index)

public abstract String getList(int index)

Required. A list of projects to receive events from.

All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.

repeated string list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The list at the given index.

getListBytes(int index)

public abstract ByteString getListBytes(int index)

Required. A list of projects to receive events from.

All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.

repeated string list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the list at the given index.

getListCount()

public abstract int getListCount()

Required. A list of projects to receive events from.

All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.

repeated string list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of list.

getListList()

public abstract List<String> getListList()

Required. A list of projects to receive events from.

All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed.

repeated string list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the list.