public static final class SourceCode.InlinedSource.Builder extends GeneratedMessage.Builder<SourceCode.InlinedSource.Builder> implements SourceCode.InlinedSourceOrBuilder
Inlined source.
Protobuf type google.cloud.run.v2.SourceCode.InlinedSource
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
addAllSources(Iterable<? extends SourceCode.SourceFile> values)
public SourceCode.InlinedSource.Builder addAllSources(Iterable<? extends SourceCode.SourceFile> values)
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 |
values |
Iterable<? extends com.google.cloud.run.v2.SourceCode.SourceFile>
|
addSources(SourceCode.SourceFile value)
public SourceCode.InlinedSource.Builder addSources(SourceCode.SourceFile value)
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];
addSources(SourceCode.SourceFile.Builder builderForValue)
public SourceCode.InlinedSource.Builder addSources(SourceCode.SourceFile.Builder builderForValue)
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];
addSources(int index, SourceCode.SourceFile value)
public SourceCode.InlinedSource.Builder addSources(int index, SourceCode.SourceFile value)
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];
addSources(int index, SourceCode.SourceFile.Builder builderForValue)
public SourceCode.InlinedSource.Builder addSources(int index, SourceCode.SourceFile.Builder builderForValue)
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];
addSourcesBuilder()
public SourceCode.SourceFile.Builder addSourcesBuilder()
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];
addSourcesBuilder(int index)
public SourceCode.SourceFile.Builder addSourcesBuilder(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
|
build()
public SourceCode.InlinedSource build()
buildPartial()
public SourceCode.InlinedSource buildPartial()
clear()
public SourceCode.InlinedSource.Builder clear()
Overrides
clearSources()
public SourceCode.InlinedSource.Builder clearSources()
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];
getDefaultInstanceForType()
public SourceCode.InlinedSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
getSourcesBuilder(int index)
public SourceCode.SourceFile.Builder getSourcesBuilder(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
|
getSourcesBuilderList()
public List<SourceCode.SourceFile.Builder> getSourcesBuilderList()
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];
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];
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
|
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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceCode.InlinedSource other)
public SourceCode.InlinedSource.Builder mergeFrom(SourceCode.InlinedSource other)
public SourceCode.InlinedSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceCode.InlinedSource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeSources(int index)
public SourceCode.InlinedSource.Builder removeSources(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
|
setSources(int index, SourceCode.SourceFile value)
public SourceCode.InlinedSource.Builder setSources(int index, SourceCode.SourceFile value)
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];
setSources(int index, SourceCode.SourceFile.Builder builderForValue)
public SourceCode.InlinedSource.Builder setSources(int index, SourceCode.SourceFile.Builder builderForValue)
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];