Class Instance.HostConfig.Builder (0.3.0)

public static final class Instance.HostConfig.Builder extends GeneratedMessageV3.Builder<Instance.HostConfig.Builder> implements Instance.HostConfigOrBuilder

HostConfig has different instance endpoints.

Protobuf type google.cloud.securesourcemanager.v1.Instance.HostConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.HostConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

build()

public Instance.HostConfig build()
Returns
TypeDescription
Instance.HostConfig

buildPartial()

public Instance.HostConfig buildPartial()
Returns
TypeDescription
Instance.HostConfig

clear()

public Instance.HostConfig.Builder clear()
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

clearApi()

public Instance.HostConfig.Builder clearApi()

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Instance.HostConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

clearGitHttp()

public Instance.HostConfig.Builder clearGitHttp()

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

clearGitSsh()

public Instance.HostConfig.Builder clearGitSsh()

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

clearHtml()

public Instance.HostConfig.Builder clearHtml()

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.HostConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

clone()

public Instance.HostConfig.Builder clone()
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

getApi()

public String getApi()

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The api.

getApiBytes()

public ByteString getApiBytes()

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for api.

getDefaultInstanceForType()

public Instance.HostConfig getDefaultInstanceForType()
Returns
TypeDescription
Instance.HostConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGitHttp()

public String getGitHttp()

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The gitHttp.

getGitHttpBytes()

public ByteString getGitHttpBytes()

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for gitHttp.

getGitSsh()

public String getGitSsh()

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The gitSsh.

getGitSshBytes()

public ByteString getGitSshBytes()

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for gitSsh.

getHtml()

public String getHtml()

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The html.

getHtmlBytes()

public ByteString getHtmlBytes()

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for html.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Instance.HostConfig other)

public Instance.HostConfig.Builder mergeFrom(Instance.HostConfig other)
Parameter
NameDescription
otherInstance.HostConfig
Returns
TypeDescription
Instance.HostConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.HostConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Instance.HostConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.HostConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

setApi(String value)

public Instance.HostConfig.Builder setApi(String value)

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The api to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setApiBytes(ByteString value)

public Instance.HostConfig.Builder setApiBytes(ByteString value)

Output only. API hostname. This is the hostname to use for Host: Data Plane endpoints.

string api = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for api to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.HostConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

setGitHttp(String value)

public Instance.HostConfig.Builder setGitHttp(String value)

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The gitHttp to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setGitHttpBytes(ByteString value)

public Instance.HostConfig.Builder setGitHttpBytes(ByteString value)

Output only. Git HTTP hostname.

string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for gitHttp to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setGitSsh(String value)

public Instance.HostConfig.Builder setGitSsh(String value)

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The gitSsh to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setGitSshBytes(ByteString value)

public Instance.HostConfig.Builder setGitSshBytes(ByteString value)

Output only. Git SSH hostname.

string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for gitSsh to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setHtml(String value)

public Instance.HostConfig.Builder setHtml(String value)

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The html to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setHtmlBytes(ByteString value)

public Instance.HostConfig.Builder setHtmlBytes(ByteString value)

Output only. HTML hostname.

string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for html to set.

Returns
TypeDescription
Instance.HostConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Instance.HostConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.HostConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.HostConfig.Builder
Overrides