Class Instance.PrivateConfig.CustomHostConfig.Builder (0.61.0)

public static final class Instance.PrivateConfig.CustomHostConfig.Builder extends GeneratedMessage.Builder<Instance.PrivateConfig.CustomHostConfig.Builder> implements Instance.PrivateConfig.CustomHostConfigOrBuilder

Custom host config for the instance.

Protobuf type google.cloud.securesourcemanager.v1.Instance.PrivateConfig.CustomHostConfig

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The 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 String

The 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 ByteString

The bytes for html to set.

Returns
Type Description
Instance.PrivateConfig.CustomHostConfig.Builder

This builder for chaining.