public static final class GitProxyConfig.Builder extends GeneratedMessage.Builder<GitProxyConfig.Builder> implements GitProxyConfigOrBuilderThe git proxy configuration.
Protobuf type google.cloud.developerconnect.v1.GitProxyConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GitProxyConfig.BuilderImplements
GitProxyConfigOrBuilderStatic 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 |
|
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. |
clearHttpProxyBaseUri()
public GitProxyConfig.Builder clearHttpProxyBaseUri() Output only. The base URI for the HTTP proxy endpoint. Has
the format
https://{generatedID}-c-h-{shortRegion}.developerconnect.dev
Populated only when enabled is set to true.
This endpoint is used by other Google services that integrate with
Developer Connect.
string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 |
|
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. |
getHttpProxyBaseUri()
public String getHttpProxyBaseUri() Output only. The base URI for the HTTP proxy endpoint. Has
the format
https://{generatedID}-c-h-{shortRegion}.developerconnect.dev
Populated only when enabled is set to true.
This endpoint is used by other Google services that integrate with
Developer Connect.
string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The httpProxyBaseUri. |
getHttpProxyBaseUriBytes()
public ByteString getHttpProxyBaseUriBytes() Output only. The base URI for the HTTP proxy endpoint. Has
the format
https://{generatedID}-c-h-{shortRegion}.developerconnect.dev
Populated only when enabled is set to true.
This endpoint is used by other Google services that integrate with
Developer Connect.
string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for httpProxyBaseUri. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GitProxyConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GitProxyConfig.Builder |
|
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 |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
GitProxyConfig.Builder |
This builder for chaining. |
setHttpProxyBaseUri(String value)
public GitProxyConfig.Builder setHttpProxyBaseUri(String value) Output only. The base URI for the HTTP proxy endpoint. Has
the format
https://{generatedID}-c-h-{shortRegion}.developerconnect.dev
Populated only when enabled is set to true.
This endpoint is used by other Google services that integrate with
Developer Connect.
string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe httpProxyBaseUri to set. |
| Returns | |
|---|---|
| Type | Description |
GitProxyConfig.Builder |
This builder for chaining. |
setHttpProxyBaseUriBytes(ByteString value)
public GitProxyConfig.Builder setHttpProxyBaseUriBytes(ByteString value) Output only. The base URI for the HTTP proxy endpoint. Has
the format
https://{generatedID}-c-h-{shortRegion}.developerconnect.dev
Populated only when enabled is set to true.
This endpoint is used by other Google services that integrate with
Developer Connect.
string http_proxy_base_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for httpProxyBaseUri to set. |
| Returns | |
|---|---|
| Type | Description |
GitProxyConfig.Builder |
This builder for chaining. |