Class SourceCode.InlinedSource (0.103.0)

public static final class SourceCode.InlinedSource extends GeneratedMessage implements SourceCode.InlinedSourceOrBuilder

Inlined source.

Protobuf type google.cloud.run.v2.SourceCode.InlinedSource

Static Fields

SOURCES_FIELD_NUMBER

public static final int SOURCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SourceCode.InlinedSource getDefaultInstance()
Returns
Type Description
SourceCode.InlinedSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SourceCode.InlinedSource.Builder newBuilder()
Returns
Type Description
SourceCode.InlinedSource.Builder

newBuilder(SourceCode.InlinedSource prototype)

public static SourceCode.InlinedSource.Builder newBuilder(SourceCode.InlinedSource prototype)
Parameter
Name Description
prototype SourceCode.InlinedSource
Returns
Type Description
SourceCode.InlinedSource.Builder

parseDelimitedFrom(InputStream input)

public static SourceCode.InlinedSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceCode.InlinedSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SourceCode.InlinedSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SourceCode.InlinedSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SourceCode.InlinedSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SourceCode.InlinedSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SourceCode.InlinedSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceCode.InlinedSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SourceCode.InlinedSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SourceCode.InlinedSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SourceCode.InlinedSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SourceCode.InlinedSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceCode.InlinedSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SourceCode.InlinedSource> parser()
Returns
Type Description
Parser<InlinedSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SourceCode.InlinedSource getDefaultInstanceForType()
Returns
Type Description
SourceCode.InlinedSource

getParserForType()

public Parser<SourceCode.InlinedSource> getParserForType()
Returns
Type Description
Parser<InlinedSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSources(int index)

public SourceCode.SourceFile getSources(int index)

Required. Input only. The source code.

repeated .google.cloud.run.v2.SourceCode.SourceFile sources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SourceCode.SourceFile

getSourcesCount()

public int getSourcesCount()

Required. Input only. The source code.

repeated .google.cloud.run.v2.SourceCode.SourceFile sources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
int

getSourcesList()

public List<SourceCode.SourceFile> getSourcesList()

Required. Input only. The source code.

repeated .google.cloud.run.v2.SourceCode.SourceFile sources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
List<SourceFile>

getSourcesOrBuilder(int index)

public SourceCode.SourceFileOrBuilder getSourcesOrBuilder(int index)

Required. Input only. The source code.

repeated .google.cloud.run.v2.SourceCode.SourceFile sources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SourceCode.SourceFileOrBuilder

getSourcesOrBuilderList()

public List<? extends SourceCode.SourceFileOrBuilder> getSourcesOrBuilderList()

Required. Input only. The source code.

repeated .google.cloud.run.v2.SourceCode.SourceFile sources = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.run.v2.SourceCode.SourceFileOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SourceCode.InlinedSource.Builder newBuilderForType()
Returns
Type Description
SourceCode.InlinedSource.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SourceCode.InlinedSource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SourceCode.InlinedSource.Builder
Overrides

toBuilder()

public SourceCode.InlinedSource.Builder toBuilder()
Returns
Type Description
SourceCode.InlinedSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException