Interface SourceCodeOrBuilder (0.103.0)

public interface SourceCodeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCloudStorageSource()

public abstract SourceCode.CloudStorageSource getCloudStorageSource()

The source is a Cloud Storage bucket.

.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;

Returns
Type Description
SourceCode.CloudStorageSource

The cloudStorageSource.

getCloudStorageSourceOrBuilder()

public abstract SourceCode.CloudStorageSourceOrBuilder getCloudStorageSourceOrBuilder()

The source is a Cloud Storage bucket.

.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;

Returns
Type Description
SourceCode.CloudStorageSourceOrBuilder

getInlinedSource()

public abstract SourceCode.InlinedSource getInlinedSource()

Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

.google.cloud.run.v2.SourceCode.InlinedSource inlined_source = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SourceCode.InlinedSource

The inlinedSource.

getInlinedSourceOrBuilder()

public abstract SourceCode.InlinedSourceOrBuilder getInlinedSourceOrBuilder()

Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

.google.cloud.run.v2.SourceCode.InlinedSource inlined_source = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
SourceCode.InlinedSourceOrBuilder

getSourceTypeCase()

public abstract SourceCode.SourceTypeCase getSourceTypeCase()
Returns
Type Description
SourceCode.SourceTypeCase

hasCloudStorageSource()

public abstract boolean hasCloudStorageSource()

The source is a Cloud Storage bucket.

.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;

Returns
Type Description
boolean

Whether the cloudStorageSource field is set.

hasInlinedSource()

public abstract boolean hasInlinedSource()

Optional. Input only. Source code inlined in the request. Cloud Run will store the inlined_source to Cloud Storage and replace the field with cloud_storage_source. This field is only supported in Cloud Run Service.

.google.cloud.run.v2.SourceCode.InlinedSource inlined_source = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the inlinedSource field is set.