Interface GenericHTTPEndpointConfigOrBuilder (0.44.0)

public interface GenericHTTPEndpointConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthenticationCase()

public abstract GenericHTTPEndpointConfig.AuthenticationCase getAuthenticationCase()
Returns
Type Description
GenericHTTPEndpointConfig.AuthenticationCase

getBasicAuthentication()

public abstract GenericHTTPEndpointConfig.BasicAuthentication getBasicAuthentication()

Optional. Basic authentication with username and password.

.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BasicAuthentication basic_authentication = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenericHTTPEndpointConfig.BasicAuthentication

The basicAuthentication.

getBasicAuthenticationOrBuilder()

public abstract GenericHTTPEndpointConfig.BasicAuthenticationOrBuilder getBasicAuthenticationOrBuilder()

Optional. Basic authentication with username and password.

.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BasicAuthentication basic_authentication = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenericHTTPEndpointConfig.BasicAuthenticationOrBuilder

getBearerTokenAuthentication()

public abstract GenericHTTPEndpointConfig.BearerTokenAuthentication getBearerTokenAuthentication()

Optional. Bearer token authentication with a token.

.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication bearer_token_authentication = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenericHTTPEndpointConfig.BearerTokenAuthentication

The bearerTokenAuthentication.

getBearerTokenAuthenticationOrBuilder()

public abstract GenericHTTPEndpointConfig.BearerTokenAuthenticationOrBuilder getBearerTokenAuthenticationOrBuilder()

Optional. Bearer token authentication with a token.

.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication bearer_token_authentication = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GenericHTTPEndpointConfig.BearerTokenAuthenticationOrBuilder

getHostUri()

public abstract String getHostUri()

Required. Immutable. The service provider's https endpoint.

string host_uri = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The hostUri.

getHostUriBytes()

public abstract ByteString getHostUriBytes()

Required. Immutable. The service provider's https endpoint.

string host_uri = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for hostUri.

getServiceDirectoryConfig()

public abstract ServiceDirectoryConfig getServiceDirectoryConfig()

Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.

.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ServiceDirectoryConfig

The serviceDirectoryConfig.

getServiceDirectoryConfigOrBuilder()

public abstract ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder()

Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.

.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ServiceDirectoryConfigOrBuilder

getSslCaCertificate()

public abstract String getSslCaCertificate()

Optional. The SSL certificate to use for requests to the HTTP service provider.

string ssl_ca_certificate = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sslCaCertificate.

getSslCaCertificateBytes()

public abstract ByteString getSslCaCertificateBytes()

Optional. The SSL certificate to use for requests to the HTTP service provider.

string ssl_ca_certificate = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sslCaCertificate.

hasBasicAuthentication()

public abstract boolean hasBasicAuthentication()

Optional. Basic authentication with username and password.

.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BasicAuthentication basic_authentication = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the basicAuthentication field is set.

hasBearerTokenAuthentication()

public abstract boolean hasBearerTokenAuthentication()

Optional. Bearer token authentication with a token.

.google.cloud.developerconnect.v1.GenericHTTPEndpointConfig.BearerTokenAuthentication bearer_token_authentication = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bearerTokenAuthentication field is set.

hasServiceDirectoryConfig()

public abstract boolean hasServiceDirectoryConfig()

Optional. Configuration for using Service Directory to privately connect to a HTTP service provider. This should only be set if the Http service provider is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the HTTP service provider will be made over the public internet.

.google.cloud.developerconnect.v1.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serviceDirectoryConfig field is set.