Class SourceInfo.Builder (2.30.0)

public static final class SourceInfo.Builder extends GeneratedMessageV3.Builder<SourceInfo.Builder> implements SourceInfoOrBuilder

Source information used to create a Service Config

Protobuf type google.api.SourceInfo

Implements

SourceInfoOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllSourceFiles(Iterable<? extends Any> values)

public SourceInfo.Builder addAllSourceFiles(Iterable<? extends Any> values)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.protobuf.Any>
Returns
TypeDescription
SourceInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SourceInfo.Builder
Overrides

addSourceFiles(Any value)

public SourceInfo.Builder addSourceFiles(Any value)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
valueAny
Returns
TypeDescription
SourceInfo.Builder

addSourceFiles(Any.Builder builderForValue)

public SourceInfo.Builder addSourceFiles(Any.Builder builderForValue)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SourceInfo.Builder

addSourceFiles(int index, Any value)

public SourceInfo.Builder addSourceFiles(int index, Any value)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameters
NameDescription
indexint
valueAny
Returns
TypeDescription
SourceInfo.Builder

addSourceFiles(int index, Any.Builder builderForValue)

public SourceInfo.Builder addSourceFiles(int index, Any.Builder builderForValue)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
SourceInfo.Builder

addSourceFilesBuilder()

public Any.Builder addSourceFilesBuilder()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
Builder

addSourceFilesBuilder(int index)

public Any.Builder addSourceFilesBuilder(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

build()

public SourceInfo build()
Returns
TypeDescription
SourceInfo

buildPartial()

public SourceInfo buildPartial()
Returns
TypeDescription
SourceInfo

clear()

public SourceInfo.Builder clear()
Returns
TypeDescription
SourceInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SourceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SourceInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SourceInfo.Builder
Overrides

clearSourceFiles()

public SourceInfo.Builder clearSourceFiles()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
SourceInfo.Builder

clone()

public SourceInfo.Builder clone()
Returns
TypeDescription
SourceInfo.Builder
Overrides

getDefaultInstanceForType()

public SourceInfo getDefaultInstanceForType()
Returns
TypeDescription
SourceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSourceFiles(int index)

public Any getSourceFiles(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Any

getSourceFilesBuilder(int index)

public Any.Builder getSourceFilesBuilder(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Builder

getSourceFilesBuilderList()

public List<Any.Builder> getSourceFilesBuilderList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
List<Builder>

getSourceFilesCount()

public int getSourceFilesCount()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
int

getSourceFilesList()

public List<Any> getSourceFilesList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
List<Any>

getSourceFilesOrBuilder(int index)

public AnyOrBuilder getSourceFilesOrBuilder(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnyOrBuilder

getSourceFilesOrBuilderList()

public List<? extends AnyOrBuilder> getSourceFilesOrBuilderList()

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Returns
TypeDescription
List<? extends com.google.protobuf.AnyOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceInfo other)

public SourceInfo.Builder mergeFrom(SourceInfo other)
Parameter
NameDescription
otherSourceInfo
Returns
TypeDescription
SourceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SourceInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SourceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceInfo.Builder
Overrides

removeSourceFiles(int index)

public SourceInfo.Builder removeSourceFiles(int index)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
SourceInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SourceInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SourceInfo.Builder
Overrides

setSourceFiles(int index, Any value)

public SourceInfo.Builder setSourceFiles(int index, Any value)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameters
NameDescription
indexint
valueAny
Returns
TypeDescription
SourceInfo.Builder

setSourceFiles(int index, Any.Builder builderForValue)

public SourceInfo.Builder setSourceFiles(int index, Any.Builder builderForValue)

All files used during config generation.

repeated .google.protobuf.Any source_files = 1;

Parameters
NameDescription
indexint
builderForValueBuilder
Returns
TypeDescription
SourceInfo.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SourceInfo.Builder
Overrides