Class DeveloperConnectExportConfig (0.3.0)

public final class DeveloperConnectExportConfig extends GeneratedMessage implements DeveloperConnectExportConfigOrBuilder

Through Developer Connect, defines a location where content such as Infrastructure as Code (IaC) is stored.

Protobuf type google.cloud.designcenter.v1.DeveloperConnectExportConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DeveloperConnectExportConfig

Static Fields

BRANCH_FIELD_NUMBER

public static final int BRANCH_FIELD_NUMBER
Field Value
Type Description
int

COMMIT_SHA_FIELD_NUMBER

public static final int COMMIT_SHA_FIELD_NUMBER
Field Value
Type Description
int

DEVELOPER_CONNECT_REPO_URI_FIELD_NUMBER

public static final int DEVELOPER_CONNECT_REPO_URI_FIELD_NUMBER
Field Value
Type Description
int

DIR_FIELD_NUMBER

public static final int DIR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DeveloperConnectExportConfig getDefaultInstance()
Returns
Type Description
DeveloperConnectExportConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DeveloperConnectExportConfig.Builder newBuilder()
Returns
Type Description
DeveloperConnectExportConfig.Builder

newBuilder(DeveloperConnectExportConfig prototype)

public static DeveloperConnectExportConfig.Builder newBuilder(DeveloperConnectExportConfig prototype)
Parameter
Name Description
prototype DeveloperConnectExportConfig
Returns
Type Description
DeveloperConnectExportConfig.Builder

parseDelimitedFrom(InputStream input)

public static DeveloperConnectExportConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeveloperConnectExportConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DeveloperConnectExportConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DeveloperConnectExportConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DeveloperConnectExportConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DeveloperConnectExportConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DeveloperConnectExportConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DeveloperConnectExportConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DeveloperConnectExportConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DeveloperConnectExportConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DeveloperConnectExportConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DeveloperConnectExportConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeveloperConnectExportConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DeveloperConnectExportConfig> parser()
Returns
Type Description
Parser<DeveloperConnectExportConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<DeveloperConnectExportConfig> getParserForType()
Returns
Type Description
Parser<DeveloperConnectExportConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DeveloperConnectExportConfig.Builder newBuilderForType()
Returns
Type Description
DeveloperConnectExportConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DeveloperConnectExportConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DeveloperConnectExportConfig.Builder
Overrides

toBuilder()

public DeveloperConnectExportConfig.Builder toBuilder()
Returns
Type Description
DeveloperConnectExportConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException