Package com.google.cloud.eventarc.v1
Interface GoogleApiSource.ProjectSubscriptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GoogleApiSource.ProjectSubscriptions,GoogleApiSource.ProjectSubscriptions.Builder
- Enclosing class:
- GoogleApiSource
public static interface GoogleApiSource.ProjectSubscriptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetList(int index) Required.com.google.protobuf.ByteStringgetListBytes(int index) Required.intRequired.Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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:
- A list containing the list.
-
getListCount
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:
- The count of list.
-
getList
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];- Parameters:
index- The index of the element to return.- Returns:
- The list at the given index.
-
getListBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the list at the given index.
-