Class GitSourceContext.Builder (2.37.0)

public static final class GitSourceContext.Builder extends GeneratedMessageV3.Builder<GitSourceContext.Builder> implements GitSourceContextOrBuilder

A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).

Protobuf type grafeas.v1.GitSourceContext

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GitSourceContext build()
Returns
TypeDescription
GitSourceContext

buildPartial()

public GitSourceContext buildPartial()
Returns
TypeDescription
GitSourceContext

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)