public final class SourceCode extends GeneratedMessage implements SourceCodeOrBuilder
Source type for the container.
Protobuf type google.cloud.run.v2.SourceCode
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CLOUD_STORAGE_SOURCE_FIELD_NUMBER
public static final int CLOUD_STORAGE_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
INLINED_SOURCE_FIELD_NUMBER
public static final int INLINED_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SourceCode getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SourceCode.Builder newBuilder()
newBuilder(SourceCode prototype)
public static SourceCode.Builder newBuilder(SourceCode prototype)
public static SourceCode parseDelimitedFrom(InputStream input)
public static SourceCode parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SourceCode parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SourceCode parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SourceCode parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceCode parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SourceCode parseFrom(CodedInputStream input)
public static SourceCode parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SourceCode parseFrom(InputStream input)
public static SourceCode parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SourceCode parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SourceCode parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SourceCode> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCloudStorageSource()
public SourceCode.CloudStorageSource getCloudStorageSource()
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()
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];
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];
getParserForType()
public Parser<SourceCode> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SourceCode.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SourceCode.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SourceCode.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides