public static final class DeveloperConnectExportConfig.Builder extends GeneratedMessage.Builder<DeveloperConnectExportConfig.Builder> implements DeveloperConnectExportConfigOrBuilderThrough Developer Connect, defines a location where content such as Infrastructure as Code (IaC) is stored.
Protobuf type google.cloud.designcenter.v1.DeveloperConnectExportConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeveloperConnectExportConfig.BuilderImplements
DeveloperConnectExportConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeveloperConnectExportConfig build()| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig |
|
buildPartial()
public DeveloperConnectExportConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig |
|
clear()
public DeveloperConnectExportConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
|
clearBranch()
public DeveloperConnectExportConfig.Builder clearBranch()Optional. The branch in repo to which the content such as Infrastructure as Code (IaC) should be written to. If empty, Application Design Center will create a branch and push the changes.
string branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
clearCommitSha()
public DeveloperConnectExportConfig.Builder clearCommitSha()Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC).
string commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
clearDeveloperConnectRepoUri()
public DeveloperConnectExportConfig.Builder clearDeveloperConnectRepoUri() Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
clearDir()
public DeveloperConnectExportConfig.Builder clearDir()Required. Directory, relative to the source repo, where content such as Infrastructure as Code (IaC) will be stored. This must be a relative path.To specify the root directory, use '/'. If the path or any subdirectories do not exist, they will be created.
string dir = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
getBranch()
public String getBranch()Optional. The branch in repo to which the content such as Infrastructure as Code (IaC) should be written to. If empty, Application Design Center will create a branch and push the changes.
string branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The branch. |
getBranchBytes()
public ByteString getBranchBytes()Optional. The branch in repo to which the content such as Infrastructure as Code (IaC) should be written to. If empty, Application Design Center will create a branch and push the changes.
string branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for branch. |
getCommitSha()
public String getCommitSha()Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC).
string commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The commitSha. |
getCommitShaBytes()
public ByteString getCommitShaBytes()Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC).
string commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for commitSha. |
getDefaultInstanceForType()
public DeveloperConnectExportConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDeveloperConnectRepoUri()
public String getDeveloperConnectRepoUri() Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The developerConnectRepoUri. |
getDeveloperConnectRepoUriBytes()
public ByteString getDeveloperConnectRepoUriBytes() Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for developerConnectRepoUri. |
getDir()
public String getDir()Required. Directory, relative to the source repo, where content such as Infrastructure as Code (IaC) will be stored. This must be a relative path.To specify the root directory, use '/'. If the path or any subdirectories do not exist, they will be created.
string dir = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The dir. |
getDirBytes()
public ByteString getDirBytes()Required. Directory, relative to the source repo, where content such as Infrastructure as Code (IaC) will be stored. This must be a relative path.To specify the root directory, use '/'. If the path or any subdirectories do not exist, they will be created.
string dir = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dir. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeveloperConnectExportConfig other)
public DeveloperConnectExportConfig.Builder mergeFrom(DeveloperConnectExportConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DeveloperConnectExportConfig |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeveloperConnectExportConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeveloperConnectExportConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
|
setBranch(String value)
public DeveloperConnectExportConfig.Builder setBranch(String value)Optional. The branch in repo to which the content such as Infrastructure as Code (IaC) should be written to. If empty, Application Design Center will create a branch and push the changes.
string branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe branch to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setBranchBytes(ByteString value)
public DeveloperConnectExportConfig.Builder setBranchBytes(ByteString value)Optional. The branch in repo to which the content such as Infrastructure as Code (IaC) should be written to. If empty, Application Design Center will create a branch and push the changes.
string branch = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for branch to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setCommitSha(String value)
public DeveloperConnectExportConfig.Builder setCommitSha(String value)Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC).
string commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe commitSha to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setCommitShaBytes(ByteString value)
public DeveloperConnectExportConfig.Builder setCommitShaBytes(ByteString value)Output only. The SHA of the Git commit that contains the exported content such as Infrastructure as Code (IaC).
string commit_sha = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for commitSha to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setDeveloperConnectRepoUri(String value)
public DeveloperConnectExportConfig.Builder setDeveloperConnectRepoUri(String value) Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe developerConnectRepoUri to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setDeveloperConnectRepoUriBytes(ByteString value)
public DeveloperConnectExportConfig.Builder setDeveloperConnectRepoUriBytes(ByteString value) Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
string developer_connect_repo_uri = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for developerConnectRepoUri to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setDir(String value)
public DeveloperConnectExportConfig.Builder setDir(String value)Required. Directory, relative to the source repo, where content such as Infrastructure as Code (IaC) will be stored. This must be a relative path.To specify the root directory, use '/'. If the path or any subdirectories do not exist, they will be created.
string dir = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dir to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |
setDirBytes(ByteString value)
public DeveloperConnectExportConfig.Builder setDirBytes(ByteString value)Required. Directory, relative to the source repo, where content such as Infrastructure as Code (IaC) will be stored. This must be a relative path.To specify the root directory, use '/'. If the path or any subdirectories do not exist, they will be created.
string dir = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dir to set. |
| Returns | |
|---|---|
| Type | Description |
DeveloperConnectExportConfig.Builder |
This builder for chaining. |