Class GerritSourceContext.Builder (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.60.0 (latest)
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
publicstaticfinalclass GerritSourceContext.BuilderextendsGeneratedMessageV3.Builder<GerritSourceContext.Builder>implementsGerritSourceContextOrBuilderA SourceContext referring to a Gerrit project.
Protobuf type google.devtools.source.v1.GerritSourceContext
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GerritSourceContext.BuilderImplements
GerritSourceContextOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicGerritSourceContext.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicGerritSourceContextbuild()buildPartial()
publicGerritSourceContextbuildPartial()clear()
publicGerritSourceContext.Builderclear()clearAliasContext()
publicGerritSourceContext.BuilderclearAliasContext()An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
clearAliasName() (deprecated)
publicGerritSourceContext.BuilderclearAliasName()Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129
The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];
GerritSourceContext.Builder
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicGerritSourceContext.BuilderclearField(Descriptors.FieldDescriptorfield)clearGerritProject()
publicGerritSourceContext.BuilderclearGerritProject()The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
string gerrit_project = 2;
GerritSourceContext.Builder
This builder for chaining.
clearHostUri()
publicGerritSourceContext.BuilderclearHostUri()The URI of a running Gerrit instance.
string host_uri = 1;
GerritSourceContext.Builder
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicGerritSourceContext.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearRevision()
publicGerritSourceContext.BuilderclearRevision()clearRevisionId()
publicGerritSourceContext.BuilderclearRevisionId()A revision (commit) ID.
string revision_id = 3;
GerritSourceContext.Builder
This builder for chaining.
clone()
publicGerritSourceContext.Builderclone()getAliasContext()
publicAliasContextgetAliasContext()An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
AliasContext
The aliasContext.
getAliasContextBuilder()
publicAliasContext.BuildergetAliasContextBuilder()An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
getAliasContextOrBuilder()
publicAliasContextOrBuildergetAliasContextOrBuilder()An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
getAliasName() (deprecated)
publicStringgetAliasName()Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129
The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];
String
The aliasName.
getAliasNameBytes() (deprecated)
publicByteStringgetAliasNameBytes()Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129
The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];
ByteString
The bytes for aliasName.
getDefaultInstanceForType()
publicGerritSourceContextgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getGerritProject()
publicStringgetGerritProject()The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
string gerrit_project = 2;
String
The gerritProject.
getGerritProjectBytes()
publicByteStringgetGerritProjectBytes()The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
string gerrit_project = 2;
ByteString
The bytes for gerritProject.
getHostUri()
publicStringgetHostUri()The URI of a running Gerrit instance.
string host_uri = 1;
String
The hostUri.
getHostUriBytes()
publicByteStringgetHostUriBytes()The URI of a running Gerrit instance.
string host_uri = 1;
ByteString
The bytes for hostUri.
getRevisionCase()
publicGerritSourceContext.RevisionCasegetRevisionCase()getRevisionId()
publicStringgetRevisionId()A revision (commit) ID.
string revision_id = 3;
String
The revisionId.
getRevisionIdBytes()
publicByteStringgetRevisionIdBytes()A revision (commit) ID.
string revision_id = 3;
ByteString
The bytes for revisionId.
hasAliasContext()
publicbooleanhasAliasContext()An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
boolean
Whether the aliasContext field is set.
hasAliasName() (deprecated)
publicbooleanhasAliasName()Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129
The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];
boolean
Whether the aliasName field is set.
hasRevisionId()
publicbooleanhasRevisionId()A revision (commit) ID.
string revision_id = 3;
boolean
Whether the revisionId field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeAliasContext(AliasContext value)
publicGerritSourceContext.BuildermergeAliasContext(AliasContextvalue)An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
mergeFrom(GerritSourceContext other)
publicGerritSourceContext.BuildermergeFrom(GerritSourceContextother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicGerritSourceContext.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicGerritSourceContext.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalGerritSourceContext.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setAliasContext(AliasContext value)
publicGerritSourceContext.BuildersetAliasContext(AliasContextvalue)An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
setAliasContext(AliasContext.Builder builderForValue)
publicGerritSourceContext.BuildersetAliasContext(AliasContext.BuilderbuilderForValue)An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
setAliasName(String value) (deprecated)
publicGerritSourceContext.BuildersetAliasName(Stringvalue)Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129
The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];
GerritSourceContext.Builder
This builder for chaining.
setAliasNameBytes(ByteString value) (deprecated)
publicGerritSourceContext.BuildersetAliasNameBytes(ByteStringvalue)Deprecated. google.devtools.source.v1.GerritSourceContext.alias_name is deprecated. See google/devtools/source/v1/source_context.proto;l=129
The name of an alias (branch, tag, etc.).
string alias_name = 4 [deprecated = true];
GerritSourceContext.Builder
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicGerritSourceContext.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setGerritProject(String value)
publicGerritSourceContext.BuildersetGerritProject(Stringvalue)The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
string gerrit_project = 2;
GerritSourceContext.Builder
This builder for chaining.
setGerritProjectBytes(ByteString value)
publicGerritSourceContext.BuildersetGerritProjectBytes(ByteStringvalue)The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is hostURI/project.
string gerrit_project = 2;
GerritSourceContext.Builder
This builder for chaining.
setHostUri(String value)
publicGerritSourceContext.BuildersetHostUri(Stringvalue)The URI of a running Gerrit instance.
string host_uri = 1;
GerritSourceContext.Builder
This builder for chaining.
setHostUriBytes(ByteString value)
publicGerritSourceContext.BuildersetHostUriBytes(ByteStringvalue)The URI of a running Gerrit instance.
string host_uri = 1;
GerritSourceContext.Builder
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicGerritSourceContext.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setRevisionId(String value)
publicGerritSourceContext.BuildersetRevisionId(Stringvalue)A revision (commit) ID.
string revision_id = 3;
GerritSourceContext.Builder
This builder for chaining.
setRevisionIdBytes(ByteString value)
publicGerritSourceContext.BuildersetRevisionIdBytes(ByteStringvalue)A revision (commit) ID.
string revision_id = 3;
GerritSourceContext.Builder
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalGerritSourceContext.BuildersetUnknownFields(UnknownFieldSetunknownFields)