public static final class GerritSourceContext.Builder extends GeneratedMessageV3.Builder<GerritSourceContext.Builder> implements GerritSourceContextOrBuilder
A SourceContext referring to a Gerrit project.Protobuf type
grafeas.v1.GerritSourceContext
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public GerritSourceContext build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public GerritSourceContext buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public GerritSourceContext.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder mergeFrom(GerritSourceContext other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public GerritSourceContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<GerritSourceContext.Builder>
IOException
public GerritSourceContext.RevisionCase getRevisionCase()
getRevisionCase
in interface GerritSourceContextOrBuilder
public GerritSourceContext.Builder clearRevision()
public String getHostUri()
The URI of a running Gerrit instance.
string host_uri = 1;
getHostUri
in interface GerritSourceContextOrBuilder
public ByteString getHostUriBytes()
The URI of a running Gerrit instance.
string host_uri = 1;
getHostUriBytes
in interface GerritSourceContextOrBuilder
public 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(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 GerritSourceContextOrBuilder
public 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 GerritSourceContextOrBuilder
public 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(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 GerritSourceContextOrBuilder
public ByteString getRevisionIdBytes()
A revision (commit) ID.
string revision_id = 3;
getRevisionIdBytes
in interface GerritSourceContextOrBuilder
public 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(ByteString value)
A revision (commit) ID.
string revision_id = 3;
public boolean hasAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
hasAliasContext
in interface GerritSourceContextOrBuilder
public AliasContext getAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
getAliasContext
in interface GerritSourceContextOrBuilder
public GerritSourceContext.Builder setAliasContext(AliasContext value)
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
public GerritSourceContext.Builder setAliasContext(AliasContext.Builder builderForValue)
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
public GerritSourceContext.Builder mergeAliasContext(AliasContext value)
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
public GerritSourceContext.Builder clearAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
public AliasContext.Builder getAliasContextBuilder()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
public AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 4;
getAliasContextOrBuilder
in interface GerritSourceContextOrBuilder
public final GerritSourceContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
public final GerritSourceContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<GerritSourceContext.Builder>
Copyright © 2019 Google LLC. All rights reserved.