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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.HostConfig.BuilderImplements
Instance.HostConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.HostConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
build()
public Instance.HostConfig build()
Returns | |
---|---|
Type | Description |
Instance.HostConfig |
buildPartial()
public Instance.HostConfig buildPartial()
Returns | |
---|---|
Type | Description |
Instance.HostConfig |
clear()
public Instance.HostConfig.Builder clear()
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
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 | |
---|---|
Type | Description |
Instance.HostConfig.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Instance.HostConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
clearGitHttp()
public Instance.HostConfig.Builder clearGitHttp()
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Instance.HostConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.HostConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
clone()
public Instance.HostConfig.Builder clone()
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for api. |
getDefaultInstanceForType()
public Instance.HostConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Instance.HostConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGitHttp()
public String getGitHttp()
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The gitHttp. |
getGitHttpBytes()
public ByteString getGitHttpBytes()
Output only. Git HTTP hostname.
string git_http = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String | The gitSsh. |
getGitSshBytes()
public ByteString getGitSshBytes()
Output only. Git SSH hostname.
string git_ssh = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for gitSsh. |
getHtml()
public String getHtml()
Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The html. |
getHtmlBytes()
public ByteString getHtmlBytes()
Output only. HTML hostname.
string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for html. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Instance.HostConfig other)
public Instance.HostConfig.Builder mergeFrom(Instance.HostConfig other)
Parameter | |
---|---|
Name | Description |
other | Instance.HostConfig |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.HostConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.HostConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.HostConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
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 | |
---|---|
Name | Description |
value | String The api to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for api to set. |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.HostConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
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 | |
---|---|
Name | Description |
value | String The gitHttp to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for gitHttp to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The gitSsh to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for gitSsh to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The html to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for html to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.HostConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Instance.HostConfig.Builder |