Interface CreateGoogleApiSourceRequestOrBuilder (1.55.0)

public interface CreateGoogleApiSourceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGoogleApiSource()

public abstract GoogleApiSource getGoogleApiSource()

Required. The google api source to create.

.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleApiSource

The googleApiSource.

getGoogleApiSourceId()

public abstract String getGoogleApiSourceId()

Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$).

string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The googleApiSourceId.

getGoogleApiSourceIdBytes()

public abstract ByteString getGoogleApiSourceIdBytes()

Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$).

string google_api_source_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for googleApiSourceId.

getGoogleApiSourceOrBuilder()

public abstract GoogleApiSourceOrBuilder getGoogleApiSourceOrBuilder()

Required. The google api source to create.

.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GoogleApiSourceOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract 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
Type Description
boolean

The validateOnly.

hasGoogleApiSource()

public abstract boolean hasGoogleApiSource()

Required. The google api source to create.

.google.cloud.eventarc.v1.GoogleApiSource google_api_source = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the googleApiSource field is set.