public static final class ThinkstCanarySettings.Builder extends GeneratedMessage.Builder<ThinkstCanarySettings.Builder> implements ThinkstCanarySettingsOrBuilderThinkst Canary settings.
Protobuf type google.cloud.chronicle.v1.ThinkstCanarySettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ThinkstCanarySettings.BuilderImplements
ThinkstCanarySettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ThinkstCanarySettings build()| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings |
|
buildPartial()
public ThinkstCanarySettings buildPartial()| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings |
|
clear()
public ThinkstCanarySettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
clearAuthentication()
public ThinkstCanarySettings.Builder clearAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
clearHostname()
public ThinkstCanarySettings.Builder clearHostname()API Hostname.
string hostname = 2;
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
This builder for chaining. |
getAuthentication()
public HttpHeaderAuth getAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HttpHeaderAuth |
The authentication. |
getAuthenticationBuilder()
public HttpHeaderAuth.Builder getAuthenticationBuilder()Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HttpHeaderAuth.Builder |
|
getAuthenticationOrBuilder()
public HttpHeaderAuthOrBuilder getAuthenticationOrBuilder()Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
HttpHeaderAuthOrBuilder |
|
getDefaultInstanceForType()
public ThinkstCanarySettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHostname()
public String getHostname()API Hostname.
string hostname = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()API Hostname.
string hostname = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for hostname. |
hasAuthentication()
public boolean hasAuthentication()Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the authentication field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAuthentication(HttpHeaderAuth value)
public ThinkstCanarySettings.Builder mergeAuthentication(HttpHeaderAuth value)Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpHeaderAuth |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
mergeFrom(ThinkstCanarySettings other)
public ThinkstCanarySettings.Builder mergeFrom(ThinkstCanarySettings other)| Parameter | |
|---|---|
| Name | Description |
other |
ThinkstCanarySettings |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThinkstCanarySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ThinkstCanarySettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
setAuthentication(HttpHeaderAuth value)
public ThinkstCanarySettings.Builder setAuthentication(HttpHeaderAuth value)Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
HttpHeaderAuth |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
setAuthentication(HttpHeaderAuth.Builder builderForValue)
public ThinkstCanarySettings.Builder setAuthentication(HttpHeaderAuth.Builder builderForValue)Input only. Authentication.
.google.cloud.chronicle.v1.HttpHeaderAuth authentication = 1 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpHeaderAuth.Builder |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
|
setHostname(String value)
public ThinkstCanarySettings.Builder setHostname(String value)API Hostname.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostname to set. |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public ThinkstCanarySettings.Builder setHostnameBytes(ByteString value)API Hostname.
string hostname = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
ThinkstCanarySettings.Builder |
This builder for chaining. |