public static final class Instance.PrivateConfig.CustomHostConfig.Builder extends GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder> implements Instance.PrivateConfig.CustomHostConfigOrBuilderCustom host config for the instance.
Protobuf type
google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.PrivateConfig.CustomHostConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Instance.PrivateConfig.CustomHostConfig build()| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig |
|
buildPartial()
public Instance.PrivateConfig.CustomHostConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig |
|
clear()
public Instance.PrivateConfig.CustomHostConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
|
clearApi()
public Instance.PrivateConfig.CustomHostConfig.Builder clearApi()Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
clearGitHttp()
public Instance.PrivateConfig.CustomHostConfig.Builder clearGitHttp()Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
clearGitSsh()
public Instance.PrivateConfig.CustomHostConfig.Builder clearGitSsh()Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
clearHtml()
public Instance.PrivateConfig.CustomHostConfig.Builder clearHtml()Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
getApi()
public String getApi()Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The api. |
getApiBytes()
public ByteString getApiBytes()Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for api. |
getDefaultInstanceForType()
public Instance.PrivateConfig.CustomHostConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGitHttp()
public String getGitHttp()Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The gitHttp. |
getGitHttpBytes()
public ByteString getGitHttpBytes()Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gitHttp. |
getGitSsh()
public String getGitSsh()Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The gitSsh. |
getGitSshBytes()
public ByteString getGitSshBytes()Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gitSsh. |
getHtml()
public String getHtml()Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The html. |
getHtmlBytes()
public ByteString getHtmlBytes()Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for html. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Instance.PrivateConfig.CustomHostConfig other)
public Instance.PrivateConfig.CustomHostConfig.Builder mergeFrom(Instance.PrivateConfig.CustomHostConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance.PrivateConfig.CustomHostConfig |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.PrivateConfig.CustomHostConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.PrivateConfig.CustomHostConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
|
setApi(String value)
public Instance.PrivateConfig.CustomHostConfig.Builder setApi(String value)Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe api to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setApiBytes(ByteString value)
public Instance.PrivateConfig.CustomHostConfig.Builder setApiBytes(ByteString value)Required. The custom API hostname for the instance, e.g., "api.source.internal.mycompany.com"
string api = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for api to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setGitHttp(String value)
public Instance.PrivateConfig.CustomHostConfig.Builder setGitHttp(String value)Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gitHttp to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setGitHttpBytes(ByteString value)
public Instance.PrivateConfig.CustomHostConfig.Builder setGitHttpBytes(ByteString value)Required. The custom git http hostname for the instance, e.g., "git.source.internal.mycompany.com"
string git_http = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gitHttp to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setGitSsh(String value)
public Instance.PrivateConfig.CustomHostConfig.Builder setGitSsh(String value)Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gitSsh to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setGitSshBytes(ByteString value)
public Instance.PrivateConfig.CustomHostConfig.Builder setGitSshBytes(ByteString value)Required. The custom git ssh hostname for the instance, e.g., "ssh.source.internal.mycompany.com"
string git_ssh = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gitSsh to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setHtml(String value)
public Instance.PrivateConfig.CustomHostConfig.Builder setHtml(String value)Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe html to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |
setHtmlBytes(ByteString value)
public Instance.PrivateConfig.CustomHostConfig.Builder setHtmlBytes(ByteString value)Required. The custom UI hostname for the instance, e.g., "git.source.internal.mycompany.com"
string html = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for html to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.PrivateConfig.CustomHostConfig.Builder |
This builder for chaining. |