public static final class CloudRepoSourceContext.Builder extends GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder> implements CloudRepoSourceContextOrBuilder
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.Protobuf type
grafeas.v1.CloudRepoSourceContext
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<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CloudRepoSourceContext build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CloudRepoSourceContext buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CloudRepoSourceContext.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder mergeFrom(CloudRepoSourceContext other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public CloudRepoSourceContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CloudRepoSourceContext.Builder>
IOException
public CloudRepoSourceContext.RevisionCase getRevisionCase()
getRevisionCase
in interface CloudRepoSourceContextOrBuilder
public CloudRepoSourceContext.Builder clearRevision()
public boolean hasRepoId()
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
hasRepoId
in interface CloudRepoSourceContextOrBuilder
public RepoId getRepoId()
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
getRepoId
in interface CloudRepoSourceContextOrBuilder
public CloudRepoSourceContext.Builder setRepoId(RepoId value)
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
public CloudRepoSourceContext.Builder setRepoId(RepoId.Builder builderForValue)
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
public CloudRepoSourceContext.Builder mergeRepoId(RepoId value)
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
public CloudRepoSourceContext.Builder clearRepoId()
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
public RepoId.Builder getRepoIdBuilder()
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
public RepoIdOrBuilder getRepoIdOrBuilder()
The ID of the repo.
.grafeas.v1.RepoId repo_id = 1;
getRepoIdOrBuilder
in interface CloudRepoSourceContextOrBuilder
public String getRevisionId()
A revision ID.
string revision_id = 2;
getRevisionId
in interface CloudRepoSourceContextOrBuilder
public ByteString getRevisionIdBytes()
A revision ID.
string revision_id = 2;
getRevisionIdBytes
in interface CloudRepoSourceContextOrBuilder
public CloudRepoSourceContext.Builder setRevisionId(String value)
A revision ID.
string revision_id = 2;
public CloudRepoSourceContext.Builder clearRevisionId()
A revision ID.
string revision_id = 2;
public CloudRepoSourceContext.Builder setRevisionIdBytes(ByteString value)
A revision ID.
string revision_id = 2;
public boolean hasAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
hasAliasContext
in interface CloudRepoSourceContextOrBuilder
public AliasContext getAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
getAliasContext
in interface CloudRepoSourceContextOrBuilder
public CloudRepoSourceContext.Builder setAliasContext(AliasContext value)
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
public CloudRepoSourceContext.Builder setAliasContext(AliasContext.Builder builderForValue)
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
public CloudRepoSourceContext.Builder mergeAliasContext(AliasContext value)
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
public CloudRepoSourceContext.Builder clearAliasContext()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
public AliasContext.Builder getAliasContextBuilder()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
public AliasContextOrBuilder getAliasContextOrBuilder()
An alias, which may be a branch or tag.
.grafeas.v1.AliasContext alias_context = 3;
getAliasContextOrBuilder
in interface CloudRepoSourceContextOrBuilder
public final CloudRepoSourceContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
public final CloudRepoSourceContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CloudRepoSourceContext.Builder>
Copyright © 2019 Google LLC. All rights reserved.