Interface CreateSubscriberRequestOrBuilder (0.2.0)

public interface CreateSubscriberRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent resource where this subscriber will be created. Format: projects/{project} Example: projects/my-project-123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this subscriber will be created. Format: projects/{project} Example: projects/my-project-123

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getSubscriber()

public abstract CreateSubscriberPayload getSubscriber()

Required. The subscriber to create.

.google.devicesandservices.health.v4.CreateSubscriberPayload subscriber = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSubscriberPayload

The subscriber.

getSubscriberId()

public abstract String getSubscriberId()

Optional. The ID to use for the subscriber, which will become the final component of the subscriber's resource name.

This value should be 4-36 characters, and valid characters are /a-z/.

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

Returns
Type Description
String

The subscriberId.

getSubscriberIdBytes()

public abstract ByteString getSubscriberIdBytes()

Optional. The ID to use for the subscriber, which will become the final component of the subscriber's resource name.

This value should be 4-36 characters, and valid characters are /a-z/.

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

Returns
Type Description
ByteString

The bytes for subscriberId.

getSubscriberOrBuilder()

public abstract CreateSubscriberPayloadOrBuilder getSubscriberOrBuilder()

Required. The subscriber to create.

.google.devicesandservices.health.v4.CreateSubscriberPayload subscriber = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSubscriberPayloadOrBuilder

hasSubscriber()

public abstract boolean hasSubscriber()

Required. The subscriber to create.

.google.devicesandservices.health.v4.CreateSubscriberPayload subscriber = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subscriber field is set.