- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.7
public static final class GitSource.Builder extends GeneratedMessageV3.Builder<GitSource.Builder> implements GitSourceOrBuilder
Defines how to access a Git Source.
Protobuf type google.cloud.privatecatalog.v1beta1.GitSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GitSource.BuilderImplements
GitSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GitSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GitSource.Builder |
build()
public GitSource build()
Type | Description |
GitSource |
buildPartial()
public GitSource buildPartial()
Type | Description |
GitSource |
clear()
public GitSource.Builder clear()
Type | Description |
GitSource.Builder |
clearBranch()
public GitSource.Builder clearBranch()
The revision branch to use.
string branch = 4;
Type | Description |
GitSource.Builder | This builder for chaining. |
clearCommit()
public GitSource.Builder clearCommit()
The revision commit to use.
string commit = 3;
Type | Description |
GitSource.Builder | This builder for chaining. |
clearDir()
public GitSource.Builder clearDir()
Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's dir
is specified and is an
absolute path, this value is ignored for that step's execution.
string dir = 2;
Type | Description |
GitSource.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GitSource.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GitSource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GitSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GitSource.Builder |
clearRef()
public GitSource.Builder clearRef()
Type | Description |
GitSource.Builder |
clearRepo()
public GitSource.Builder clearRepo()
Location of the Git repo to build.
string repo = 1;
Type | Description |
GitSource.Builder | This builder for chaining. |
clearTag()
public GitSource.Builder clearTag()
The revision tag to use.
string tag = 5;
Type | Description |
GitSource.Builder | This builder for chaining. |
clone()
public GitSource.Builder clone()
Type | Description |
GitSource.Builder |
getBranch()
public String getBranch()
The revision branch to use.
string branch = 4;
Type | Description |
String | The branch. |
getBranchBytes()
public ByteString getBranchBytes()
The revision branch to use.
string branch = 4;
Type | Description |
ByteString | The bytes for branch. |
getCommit()
public String getCommit()
The revision commit to use.
string commit = 3;
Type | Description |
String | The commit. |
getCommitBytes()
public ByteString getCommitBytes()
The revision commit to use.
string commit = 3;
Type | Description |
ByteString | The bytes for commit. |
getDefaultInstanceForType()
public GitSource getDefaultInstanceForType()
Type | Description |
GitSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDir()
public String getDir()
Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's dir
is specified and is an
absolute path, this value is ignored for that step's execution.
string dir = 2;
Type | Description |
String | The dir. |
getDirBytes()
public ByteString getDirBytes()
Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's dir
is specified and is an
absolute path, this value is ignored for that step's execution.
string dir = 2;
Type | Description |
ByteString | The bytes for dir. |
getRefCase()
public GitSource.RefCase getRefCase()
Type | Description |
GitSource.RefCase |
getRepo()
public String getRepo()
Location of the Git repo to build.
string repo = 1;
Type | Description |
String | The repo. |
getRepoBytes()
public ByteString getRepoBytes()
Location of the Git repo to build.
string repo = 1;
Type | Description |
ByteString | The bytes for repo. |
getTag()
public String getTag()
The revision tag to use.
string tag = 5;
Type | Description |
String | The tag. |
getTagBytes()
public ByteString getTagBytes()
The revision tag to use.
string tag = 5;
Type | Description |
ByteString | The bytes for tag. |
hasBranch()
public boolean hasBranch()
The revision branch to use.
string branch = 4;
Type | Description |
boolean | Whether the branch field is set. |
hasCommit()
public boolean hasCommit()
The revision commit to use.
string commit = 3;
Type | Description |
boolean | Whether the commit field is set. |
hasTag()
public boolean hasTag()
The revision tag to use.
string tag = 5;
Type | Description |
boolean | Whether the tag field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(GitSource other)
public GitSource.Builder mergeFrom(GitSource other)
Name | Description |
other | GitSource |
Type | Description |
GitSource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GitSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GitSource.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GitSource.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GitSource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GitSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GitSource.Builder |
setBranch(String value)
public GitSource.Builder setBranch(String value)
The revision branch to use.
string branch = 4;
Name | Description |
value | String The branch to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setBranchBytes(ByteString value)
public GitSource.Builder setBranchBytes(ByteString value)
The revision branch to use.
string branch = 4;
Name | Description |
value | ByteString The bytes for branch to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setCommit(String value)
public GitSource.Builder setCommit(String value)
The revision commit to use.
string commit = 3;
Name | Description |
value | String The commit to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setCommitBytes(ByteString value)
public GitSource.Builder setCommitBytes(ByteString value)
The revision commit to use.
string commit = 3;
Name | Description |
value | ByteString The bytes for commit to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setDir(String value)
public GitSource.Builder setDir(String value)
Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's dir
is specified and is an
absolute path, this value is ignored for that step's execution.
string dir = 2;
Name | Description |
value | String The dir to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setDirBytes(ByteString value)
public GitSource.Builder setDirBytes(ByteString value)
Directory, relative to the source root, in which to run the build.
This must be a relative path. If a step's dir
is specified and is an
absolute path, this value is ignored for that step's execution.
string dir = 2;
Name | Description |
value | ByteString The bytes for dir to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GitSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GitSource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GitSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GitSource.Builder |
setRepo(String value)
public GitSource.Builder setRepo(String value)
Location of the Git repo to build.
string repo = 1;
Name | Description |
value | String The repo to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setRepoBytes(ByteString value)
public GitSource.Builder setRepoBytes(ByteString value)
Location of the Git repo to build.
string repo = 1;
Name | Description |
value | ByteString The bytes for repo to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setTag(String value)
public GitSource.Builder setTag(String value)
The revision tag to use.
string tag = 5;
Name | Description |
value | String The tag to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setTagBytes(ByteString value)
public GitSource.Builder setTagBytes(ByteString value)
The revision tag to use.
string tag = 5;
Name | Description |
value | ByteString The bytes for tag to set. |
Type | Description |
GitSource.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GitSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GitSource.Builder |