public static final class ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder extends GeneratedMessage.Builder<ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder> implements ReasoningEngineSpec.SourceCodeSpec.GitSourceOrBuilderSpecifies source code to be fetched from a public Git repository.
Protobuf type
google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.GitSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReasoningEngineSpec.SourceCodeSpec.GitSource.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ReasoningEngineSpec.SourceCodeSpec.GitSource build()| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource |
|
buildPartial()
public ReasoningEngineSpec.SourceCodeSpec.GitSource buildPartial()| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource |
|
clear()
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
|
clearDir()
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder clearDir()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
clearRevision()
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder clearRevision()Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
clearUrl()
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder clearUrl()Required. The HTTPS URL of the public Git repository to clone.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ReasoningEngineSpec.SourceCodeSpec.GitSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDir()
public String getDir()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dir. |
getDirBytes()
public ByteString getDirBytes()Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dir. |
getRevision()
public String getRevision()Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The revision. |
getRevisionBytes()
public ByteString getRevisionBytes()Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for revision. |
getUrl()
public String getUrl()Required. The HTTPS URL of the public Git repository to clone.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()Required. The HTTPS URL of the public Git repository to clone.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ReasoningEngineSpec.SourceCodeSpec.GitSource other)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder mergeFrom(ReasoningEngineSpec.SourceCodeSpec.GitSource other)| Parameter | |
|---|---|
| Name | Description |
other |
ReasoningEngineSpec.SourceCodeSpec.GitSource |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
|
setDir(String value)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder setDir(String value)Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dir to set. |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
setDirBytes(ByteString value)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder setDirBytes(ByteString value)Optional. Directory, relative to the source root, in which to run the build.
string dir = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dir to set. |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
setRevision(String value)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder setRevision(String value)Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe revision to set. |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
setRevisionBytes(ByteString value)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder setRevisionBytes(ByteString value)Required. The revision to fetch from the Git repository: a branch, a tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
string revision = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for revision to set. |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
setUrl(String value)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder setUrl(String value)Required. The HTTPS URL of the public Git repository to clone.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder setUrlBytes(ByteString value)Required. The HTTPS URL of the public Git repository to clone.
string url = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
ReasoningEngineSpec.SourceCodeSpec.GitSource.Builder |
This builder for chaining. |