Package com.google.cloud.eventarc.v1
Interface GoogleApiSourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GoogleApiSource,GoogleApiSource.Builder
@Generated
public interface GoogleApiSourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.getEtag()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Optional.Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Optional.Optional.Optional.Optional.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanOptional.booleanOptional.booleanOutput only.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
-
getName
String getName()Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getUid
String getUid()Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }- Returns:
- The bytes for uid.
-
getEtag
String getEtag()Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The etag.
-
getEtagBytes
com.google.protobuf.ByteString getEtagBytes()Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.
string etag = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for etag.
-
hasCreateTime
boolean hasCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation time.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Optional. Resource labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. Resource labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. Resource labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. Resource labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. Resource labels.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsCount
int getAnnotationsCount()Optional. Resource annotations.
map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL]; -
containsAnnotations
Optional. Resource annotations.
map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Optional. Resource annotations.
map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrDefault
Optional. Resource annotations.
map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrThrow
Optional. Resource annotations.
map<string, string> annotations = 7 [(.google.api.field_behavior) = OPTIONAL]; -
getDisplayName
String getDisplayName()Optional. Resource display name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. Resource display name.
string display_name = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getDestination
String getDestination()Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)string destination = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The destination.
-
getDestinationBytes
com.google.protobuf.ByteString getDestinationBytes()Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)string destination = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for destination.
-
getCryptoKeyName
String getCryptoKeyName()Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The cryptoKeyName.
-
getCryptoKeyNameBytes
com.google.protobuf.ByteString getCryptoKeyNameBytes()Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
string crypto_key_name = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for cryptoKeyName.
-
hasLoggingConfig
boolean hasLoggingConfig()Optional. Config to control Platform logging for the GoogleApiSource.
.google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
LoggingConfig getLoggingConfig()Optional. Config to control Platform logging for the GoogleApiSource.
.google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The loggingConfig.
-
getLoggingConfigOrBuilder
LoggingConfigOrBuilder getLoggingConfigOrBuilder()Optional. Config to control Platform logging for the GoogleApiSource.
.google.cloud.eventarc.v1.LoggingConfig logging_config = 11 [(.google.api.field_behavior) = OPTIONAL]; -
hasOrganizationSubscription
boolean hasOrganizationSubscription()Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org.
.google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscription organization_subscription = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the organizationSubscription field is set.
-
getOrganizationSubscription
GoogleApiSource.OrganizationSubscription getOrganizationSubscription()Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org.
.google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscription organization_subscription = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The organizationSubscription.
-
getOrganizationSubscriptionOrBuilder
GoogleApiSource.OrganizationSubscriptionOrBuilder getOrganizationSubscriptionOrBuilder()Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org.
.google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscription organization_subscription = 12 [(.google.api.field_behavior) = OPTIONAL]; -
hasProjectSubscriptions
boolean hasProjectSubscriptions()Optional. Config to enable subscribing to all events from a list of projects. All the projects must be in the same org as the GoogleApiSource.
.google.cloud.eventarc.v1.GoogleApiSource.ProjectSubscriptions project_subscriptions = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the projectSubscriptions field is set.
-
getProjectSubscriptions
GoogleApiSource.ProjectSubscriptions getProjectSubscriptions()Optional. Config to enable subscribing to all events from a list of projects. All the projects must be in the same org as the GoogleApiSource.
.google.cloud.eventarc.v1.GoogleApiSource.ProjectSubscriptions project_subscriptions = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The projectSubscriptions.
-
getProjectSubscriptionsOrBuilder
GoogleApiSource.ProjectSubscriptionsOrBuilder getProjectSubscriptionsOrBuilder()Optional. Config to enable subscribing to all events from a list of projects. All the projects must be in the same org as the GoogleApiSource.
.google.cloud.eventarc.v1.GoogleApiSource.ProjectSubscriptions project_subscriptions = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getWideScopeSubscriptionCase
GoogleApiSource.WideScopeSubscriptionCase getWideScopeSubscriptionCase()
-