Class ThinkstCanarySettings.Builder (0.37.0)

public static final class ThinkstCanarySettings.Builder extends GeneratedMessage.Builder<ThinkstCanarySettings.Builder> implements ThinkstCanarySettingsOrBuilder

Thinkst Canary settings.

Protobuf type google.cloud.chronicle.v1.ThinkstCanarySettings

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

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ThinkstCanarySettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ThinkstCanarySettings.Builder
Overrides

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 String

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

The bytes for hostname to set.

Returns
Type Description
ThinkstCanarySettings.Builder

This builder for chaining.