publicfinalclass GerritSourceContextextendsGeneratedMessageV3implementsGerritSourceContextOrBuilder
A SourceContext referring to a Gerrit project.
Protobuf type google.devtools.source.v1.GerritSourceContext
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALIAS_CONTEXT_FIELD_NUMBER
publicstaticfinalintALIAS_CONTEXT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ALIAS_NAME_FIELD_NUMBER
publicstaticfinalintALIAS_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
GERRIT_PROJECT_FIELD_NUMBER
publicstaticfinalintGERRIT_PROJECT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
HOST_URI_FIELD_NUMBER
publicstaticfinalintHOST_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REVISION_ID_FIELD_NUMBER
publicstaticfinalintREVISION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticGerritSourceContextgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticGerritSourceContext.BuildernewBuilder()
newBuilder(GerritSourceContext prototype)
publicstaticGerritSourceContext.BuildernewBuilder(GerritSourceContextprototype)
parseDelimitedFrom(InputStream input)
publicstaticGerritSourceContextparseDelimitedFrom(InputStreaminput)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticGerritSourceContextparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticGerritSourceContextparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticGerritSourceContextparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticGerritSourceContextparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticGerritSourceContextparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
parseFrom(CodedInputStream input)
publicstaticGerritSourceContextparseFrom(CodedInputStreaminput)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticGerritSourceContextparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(InputStream input)
publicstaticGerritSourceContextparseFrom(InputStreaminput)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticGerritSourceContextparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticGerritSourceContextparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticGerritSourceContextparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<GerritSourceContext>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAliasContext()
publicAliasContextgetAliasContext()
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];
| Returns |
| Type |
Description |
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for aliasName.
|
getDefaultInstanceForType()
publicGerritSourceContextgetDefaultInstanceForType()
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;
| Returns |
| Type |
Description |
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;
| Returns |
| Type |
Description |
ByteString |
The bytes for gerritProject.
|
getHostUri()
The URI of a running Gerrit instance.
string host_uri = 1;
| Returns |
| Type |
Description |
String |
The hostUri.
|
getHostUriBytes()
publicByteStringgetHostUriBytes()
The URI of a running Gerrit instance.
string host_uri = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for hostUri.
|
getParserForType()
publicParser<GerritSourceContext>getParserForType()
Overrides
getRevisionCase()
publicGerritSourceContext.RevisionCasegetRevisionCase()
getRevisionId()
publicStringgetRevisionId()
A revision (commit) ID.
string revision_id = 3;
| Returns |
| Type |
Description |
String |
The revisionId.
|
getRevisionIdBytes()
publicByteStringgetRevisionIdBytes()
A revision (commit) ID.
string revision_id = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for revisionId.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hasAliasContext()
publicbooleanhasAliasContext()
An alias, which may be a branch or tag.
.google.devtools.source.v1.AliasContext alias_context = 5;
| Returns |
| Type |
Description |
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];
| Returns |
| Type |
Description |
boolean |
Whether the aliasName field is set.
|
hasRevisionId()
publicbooleanhasRevisionId()
A revision (commit) ID.
string revision_id = 3;
| Returns |
| Type |
Description |
boolean |
Whether the revisionId field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicGerritSourceContext.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedGerritSourceContext.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicGerritSourceContext.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides