public static final class GerritSourceContext.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder> implements GerritSourceContextOrBuilder
A SourceContext referring to a Gerrit project.Protobuf type
grafeas.v1beta1.source.GerritSourceContext| Modifier and Type | Method and Description |
|---|---|
GerritSourceContext.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GerritSourceContext |
build() |
GerritSourceContext |
buildPartial() |
GerritSourceContext.Builder |
clear() |
GerritSourceContext.Builder |
clearAliasContext()
An alias, which may be a branch or tag.
|
GerritSourceContext.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GerritSourceContext.Builder |
clearGerritProject()
The full project name within the host.
|
GerritSourceContext.Builder |
clearHostUri()
The URI of a running Gerrit instance.
|
GerritSourceContext.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GerritSourceContext.Builder |
clearRevision() |
GerritSourceContext.Builder |
clearRevisionId()
A revision (commit) ID.
|
GerritSourceContext.Builder |
clone() |
AliasContext |
getAliasContext()
An alias, which may be a branch or tag.
|
AliasContext.Builder |
getAliasContextBuilder()
An alias, which may be a branch or tag.
|
AliasContextOrBuilder |
getAliasContextOrBuilder()
An alias, which may be a branch or tag.
|
GerritSourceContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getGerritProject()
The full project name within the host.
|
com.google.protobuf.ByteString |
getGerritProjectBytes()
The full project name within the host.
|
String |
getHostUri()
The URI of a running Gerrit instance.
|
com.google.protobuf.ByteString |
getHostUriBytes()
The URI of a running Gerrit instance.
|
GerritSourceContext.RevisionCase |
getRevisionCase() |
String |
getRevisionId()
A revision (commit) ID.
|
com.google.protobuf.ByteString |
getRevisionIdBytes()
A revision (commit) ID.
|
boolean |
hasAliasContext()
An alias, which may be a branch or tag.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GerritSourceContext.Builder |
mergeAliasContext(AliasContext value)
An alias, which may be a branch or tag.
|
GerritSourceContext.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GerritSourceContext.Builder |
mergeFrom(GerritSourceContext other) |
GerritSourceContext.Builder |
mergeFrom(com.google.protobuf.Message other) |
GerritSourceContext.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GerritSourceContext.Builder |
setAliasContext(AliasContext.Builder builderForValue)
An alias, which may be a branch or tag.
|
GerritSourceContext.Builder |
setAliasContext(AliasContext value)
An alias, which may be a branch or tag.
|
GerritSourceContext.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GerritSourceContext.Builder |
setGerritProject(String value)
The full project name within the host.
|
GerritSourceContext.Builder |
setGerritProjectBytes(com.google.protobuf.ByteString value)
The full project name within the host.
|
GerritSourceContext.Builder |
setHostUri(String value)
The URI of a running Gerrit instance.
|
GerritSourceContext.Builder |
setHostUriBytes(com.google.protobuf.ByteString value)
The URI of a running Gerrit instance.
|
GerritSourceContext.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GerritSourceContext.Builder |
setRevisionId(String value)
A revision (commit) ID.
|
GerritSourceContext.Builder |
setRevisionIdBytes(com.google.protobuf.ByteString value)
A revision (commit) ID.
|
GerritSourceContext.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GerritSourceContext build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GerritSourceContext buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GerritSourceContext.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder mergeFrom(GerritSourceContext other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public GerritSourceContext.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GerritSourceContext.Builder>IOExceptionpublic GerritSourceContext.RevisionCase getRevisionCase()
getRevisionCase in interface GerritSourceContextOrBuilderpublic GerritSourceContext.Builder clearRevision()
public String getHostUri()
The URI of a running Gerrit instance.
string host_uri = 1;getHostUri in interface GerritSourceContextOrBuilderpublic com.google.protobuf.ByteString getHostUriBytes()
The URI of a running Gerrit instance.
string host_uri = 1;getHostUriBytes in interface GerritSourceContextOrBuilderpublic GerritSourceContext.Builder setHostUri(String value)
The URI of a running Gerrit instance.
string host_uri = 1;public GerritSourceContext.Builder clearHostUri()
The URI of a running Gerrit instance.
string host_uri = 1;public GerritSourceContext.Builder setHostUriBytes(com.google.protobuf.ByteString value)
The URI of a running Gerrit instance.
string host_uri = 1;public String getGerritProject()
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
string gerrit_project = 2;getGerritProject in interface GerritSourceContextOrBuilderpublic com.google.protobuf.ByteString getGerritProjectBytes()
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
string gerrit_project = 2;getGerritProjectBytes in interface GerritSourceContextOrBuilderpublic GerritSourceContext.Builder setGerritProject(String value)
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
string gerrit_project = 2;public GerritSourceContext.Builder clearGerritProject()
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
string gerrit_project = 2;public GerritSourceContext.Builder setGerritProjectBytes(com.google.protobuf.ByteString value)
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
string gerrit_project = 2;public String getRevisionId()
A revision (commit) ID.
string revision_id = 3;getRevisionId in interface GerritSourceContextOrBuilderpublic com.google.protobuf.ByteString getRevisionIdBytes()
A revision (commit) ID.
string revision_id = 3;getRevisionIdBytes in interface GerritSourceContextOrBuilderpublic GerritSourceContext.Builder setRevisionId(String value)
A revision (commit) ID.
string revision_id = 3;public GerritSourceContext.Builder clearRevisionId()
A revision (commit) ID.
string revision_id = 3;public GerritSourceContext.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
A revision (commit) ID.
string revision_id = 3;public boolean hasAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;hasAliasContext in interface GerritSourceContextOrBuilderpublic AliasContext getAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;getAliasContext in interface GerritSourceContextOrBuilderpublic GerritSourceContext.Builder setAliasContext(AliasContext value)
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;public GerritSourceContext.Builder setAliasContext(AliasContext.Builder builderForValue)
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;public GerritSourceContext.Builder mergeAliasContext(AliasContext value)
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;public GerritSourceContext.Builder clearAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;public AliasContext.Builder getAliasContextBuilder()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;public AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;getAliasContextOrBuilder in interface GerritSourceContextOrBuilderpublic final GerritSourceContext.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>public final GerritSourceContext.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GerritSourceContext.Builder>Copyright © 2019 Google LLC. All rights reserved.