public final class GerritSourceContext extends com.google.protobuf.GeneratedMessageV3 implements GerritSourceContextOrBuilder
A SourceContext referring to a Gerrit project.Protobuf type
grafeas.v1beta1.source.GerritSourceContext| Modifier and Type | Class and Description |
|---|---|
static class |
GerritSourceContext.Builder
A SourceContext referring to a Gerrit project.
|
static class |
GerritSourceContext.RevisionCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ALIAS_CONTEXT_FIELD_NUMBER |
static int |
GERRIT_PROJECT_FIELD_NUMBER |
static int |
HOST_URI_FIELD_NUMBER |
static int |
REVISION_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AliasContext |
getAliasContext()
An alias, which may be a branch or tag.
|
AliasContextOrBuilder |
getAliasContextOrBuilder()
An alias, which may be a branch or tag.
|
static GerritSourceContext |
getDefaultInstance() |
GerritSourceContext |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<GerritSourceContext> |
getParserForType() |
GerritSourceContext.RevisionCase |
getRevisionCase() |
String |
getRevisionId()
A revision (commit) ID.
|
com.google.protobuf.ByteString |
getRevisionIdBytes()
A revision (commit) ID.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAliasContext()
An alias, which may be a branch or tag.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GerritSourceContext.Builder |
newBuilder() |
static GerritSourceContext.Builder |
newBuilder(GerritSourceContext prototype) |
GerritSourceContext.Builder |
newBuilderForType() |
protected GerritSourceContext.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static GerritSourceContext |
parseDelimitedFrom(InputStream input) |
static GerritSourceContext |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GerritSourceContext |
parseFrom(byte[] data) |
static GerritSourceContext |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GerritSourceContext |
parseFrom(ByteBuffer data) |
static GerritSourceContext |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GerritSourceContext |
parseFrom(com.google.protobuf.ByteString data) |
static GerritSourceContext |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GerritSourceContext |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GerritSourceContext |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GerritSourceContext |
parseFrom(InputStream input) |
static GerritSourceContext |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GerritSourceContext> |
parser() |
GerritSourceContext.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HOST_URI_FIELD_NUMBER
public static final int GERRIT_PROJECT_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
public static final int ALIAS_CONTEXT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public GerritSourceContext.RevisionCase getRevisionCase()
getRevisionCase in interface GerritSourceContextOrBuilderpublic 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 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 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 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 AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.grafeas.v1beta1.source.AliasContext alias_context = 4;getAliasContextOrBuilder in interface GerritSourceContextOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GerritSourceContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GerritSourceContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GerritSourceContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GerritSourceContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GerritSourceContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GerritSourceContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GerritSourceContext parseFrom(InputStream input) throws IOException
IOExceptionpublic static GerritSourceContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GerritSourceContext parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GerritSourceContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GerritSourceContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GerritSourceContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GerritSourceContext.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GerritSourceContext.Builder newBuilder()
public static GerritSourceContext.Builder newBuilder(GerritSourceContext prototype)
public GerritSourceContext.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GerritSourceContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GerritSourceContext getDefaultInstance()
public static com.google.protobuf.Parser<GerritSourceContext> parser()
public com.google.protobuf.Parser<GerritSourceContext> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GerritSourceContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.