Interface CreateGoogleApiSourceRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateGoogleApiSourceRequest, CreateGoogleApiSourceRequest.Builder

@Generated public interface CreateGoogleApiSourceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The parent collection in which to add this google api source.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent collection in which to add this google api source.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • hasGoogleApiSource

      boolean hasGoogleApiSource()
       Required. The google api source to create.
       
      .google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the googleApiSource field is set.
    • getGoogleApiSource

      GoogleApiSource getGoogleApiSource()
       Required. The google api source to create.
       
      .google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The googleApiSource.
    • getGoogleApiSourceOrBuilder

      GoogleApiSourceOrBuilder getGoogleApiSourceOrBuilder()
       Required. The google api source to create.
       
      .google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];
    • getGoogleApiSourceId

      String getGoogleApiSourceId()
       Required. The user-provided ID to be assigned to the GoogleApiSource. It
       should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The googleApiSourceId.
    • getGoogleApiSourceIdBytes

      com.google.protobuf.ByteString getGoogleApiSourceIdBytes()
       Required. The user-provided ID to be assigned to the GoogleApiSource. It
       should match the format `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
       
      string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for googleApiSourceId.
    • getValidateOnly

      boolean getValidateOnly()
       Optional. If set, validate the request and preview the review, but do not
       post it.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The validateOnly.