Interface CreateSubscriberPayloadOrBuilder (0.2.0)

public interface CreateSubscriberPayloadOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndpointAuthorization()

public abstract EndpointAuthorization getEndpointAuthorization()

Required. Authorization mechanism for the subscriber endpoint. The secret within this message is crucial for endpoint verification and for securing webhook notifications.

.google.devicesandservices.health.v4.EndpointAuthorization endpoint_authorization = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndpointAuthorization

The endpointAuthorization.

getEndpointAuthorizationOrBuilder()

public abstract EndpointAuthorizationOrBuilder getEndpointAuthorizationOrBuilder()

Required. Authorization mechanism for the subscriber endpoint. The secret within this message is crucial for endpoint verification and for securing webhook notifications.

.google.devicesandservices.health.v4.EndpointAuthorization endpoint_authorization = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndpointAuthorizationOrBuilder

getEndpointUri()

public abstract String getEndpointUri()

Required. The full HTTPS URI where update notifications will be sent. The URI must be a valid URL and use HTTPS as the scheme. This endpoint will be verified during the CreateSubscriber call. See CreateSubscriber RPC documentation for verification details.

string endpoint_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The endpointUri.

getEndpointUriBytes()

public abstract ByteString getEndpointUriBytes()

Required. The full HTTPS URI where update notifications will be sent. The URI must be a valid URL and use HTTPS as the scheme. This endpoint will be verified during the CreateSubscriber call. See CreateSubscriber RPC documentation for verification details.

string endpoint_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for endpointUri.

getSubscriberConfigs(int index)

public abstract SubscriberConfig getSubscriberConfigs(int index)

Optional. Configuration for the subscriber.

repeated .google.devicesandservices.health.v4.SubscriberConfig subscriber_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SubscriberConfig

getSubscriberConfigsCount()

public abstract int getSubscriberConfigsCount()

Optional. Configuration for the subscriber.

repeated .google.devicesandservices.health.v4.SubscriberConfig subscriber_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getSubscriberConfigsList()

public abstract List<SubscriberConfig> getSubscriberConfigsList()

Optional. Configuration for the subscriber.

repeated .google.devicesandservices.health.v4.SubscriberConfig subscriber_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<SubscriberConfig>

getSubscriberConfigsOrBuilder(int index)

public abstract SubscriberConfigOrBuilder getSubscriberConfigsOrBuilder(int index)

Optional. Configuration for the subscriber.

repeated .google.devicesandservices.health.v4.SubscriberConfig subscriber_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
SubscriberConfigOrBuilder

getSubscriberConfigsOrBuilderList()

public abstract List<? extends SubscriberConfigOrBuilder> getSubscriberConfigsOrBuilderList()

Optional. Configuration for the subscriber.

repeated .google.devicesandservices.health.v4.SubscriberConfig subscriber_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.devicesandservices.health.v4.SubscriberConfigOrBuilder>

hasEndpointAuthorization()

public abstract boolean hasEndpointAuthorization()

Required. Authorization mechanism for the subscriber endpoint. The secret within this message is crucial for endpoint verification and for securing webhook notifications.

.google.devicesandservices.health.v4.EndpointAuthorization endpoint_authorization = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endpointAuthorization field is set.