public static final class SourceCode.Builder extends GeneratedMessage.Builder<SourceCode.Builder> implements SourceCodeOrBuilder
Source type for the container.
Protobuf type google.cloud.run.v2.SourceCode
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public SourceCode build()
buildPartial()
public SourceCode buildPartial()
clear()
public SourceCode.Builder clear()
Overrides
clearCloudStorageSource()
public SourceCode.Builder clearCloudStorageSource()
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
clearInlinedSource()
public SourceCode.Builder clearInlinedSource()
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];
clearSourceType()
public SourceCode.Builder clearSourceType()
getCloudStorageSource()
public SourceCode.CloudStorageSource getCloudStorageSource()
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
getCloudStorageSourceBuilder()
public SourceCode.CloudStorageSource.Builder getCloudStorageSourceBuilder()
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
getCloudStorageSourceOrBuilder()
public SourceCode.CloudStorageSourceOrBuilder getCloudStorageSourceOrBuilder()
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
getDefaultInstanceForType()
public SourceCode getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInlinedSource()
public 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];
getInlinedSourceBuilder()
public SourceCode.InlinedSource.Builder getInlinedSourceBuilder()
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];
getInlinedSourceOrBuilder()
public 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];
getSourceTypeCase()
public SourceCode.SourceTypeCase getSourceTypeCase()
hasCloudStorageSource()
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCloudStorageSource(SourceCode.CloudStorageSource value)
public SourceCode.Builder mergeCloudStorageSource(SourceCode.CloudStorageSource value)
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
mergeFrom(SourceCode other)
public SourceCode.Builder mergeFrom(SourceCode other)
public SourceCode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceCode.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeInlinedSource(SourceCode.InlinedSource value)
public SourceCode.Builder mergeInlinedSource(SourceCode.InlinedSource value)
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];
setCloudStorageSource(SourceCode.CloudStorageSource value)
public SourceCode.Builder setCloudStorageSource(SourceCode.CloudStorageSource value)
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
setCloudStorageSource(SourceCode.CloudStorageSource.Builder builderForValue)
public SourceCode.Builder setCloudStorageSource(SourceCode.CloudStorageSource.Builder builderForValue)
The source is a Cloud Storage bucket.
.google.cloud.run.v2.SourceCode.CloudStorageSource cloud_storage_source = 1;
setInlinedSource(SourceCode.InlinedSource value)
public SourceCode.Builder setInlinedSource(SourceCode.InlinedSource value)
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];
setInlinedSource(SourceCode.InlinedSource.Builder builderForValue)
public SourceCode.Builder setInlinedSource(SourceCode.InlinedSource.Builder builderForValue)
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];