Class GitProxyConfig.Builder (0.42.0)

public static final class GitProxyConfig.Builder extends GeneratedMessage.Builder<GitProxyConfig.Builder> implements GitProxyConfigOrBuilder

The git proxy configuration.

Protobuf type google.cloud.developerconnect.v1.GitProxyConfig

Static Methods

getDescriptor()

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

Methods

build()

public GitProxyConfig build()
Returns
Type Description
GitProxyConfig

buildPartial()

public GitProxyConfig buildPartial()
Returns
Type Description
GitProxyConfig

clear()

public GitProxyConfig.Builder clear()
Returns
Type Description
GitProxyConfig.Builder
Overrides

clearEnabled()

public GitProxyConfig.Builder clearEnabled()

Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GitProxyConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public GitProxyConfig getDefaultInstanceForType()
Returns
Type Description
GitProxyConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GitProxyConfig other)

public GitProxyConfig.Builder mergeFrom(GitProxyConfig other)
Parameter
Name Description
other GitProxyConfig
Returns
Type Description
GitProxyConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GitProxyConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GitProxyConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GitProxyConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GitProxyConfig.Builder
Overrides

setEnabled(boolean value)

public GitProxyConfig.Builder setEnabled(boolean value)

Optional. Setting this to true allows the git proxy to be used for performing git operations on the repositories linked in the connection.

bool enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
GitProxyConfig.Builder

This builder for chaining.