Interface RegisterSubscriberRequestOrBuilder (3.85.0)

public interface RegisterSubscriberRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccount()

public abstract String getAccount()

Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.

string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The account.

getAccountBytes()

public abstract ByteString getAccountBytes()

Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.

string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for account.

getIntegrator()

public abstract String getIntegrator()

Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.

optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The integrator.

getIntegratorBytes()

public abstract ByteString getIntegratorBytes()

Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.

optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for integrator.

getServiceAccount()

public abstract String getServiceAccount()

Required. Service account that provides subscriber access to the registered topic.

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

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

Required. Service account that provides subscriber access to the registered topic.

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

Returns
Type Description
ByteString

The bytes for serviceAccount.

hasIntegrator()

public abstract boolean hasIntegrator()

Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.

optional string integrator = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the integrator field is set.