public interface SubscriberOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The time at which the subscriber was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time at which the subscriber was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getEndpointAuthorization()
public abstract EndpointAuthorization getEndpointAuthorization()Required. Authorization mechanism for a subscriber endpoint. This is required to ensure the endpoint can be verified.
.google.devicesandservices.health.v4.EndpointAuthorization endpoint_authorization = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EndpointAuthorization |
The endpointAuthorization. |
getEndpointAuthorizationOrBuilder()
public abstract EndpointAuthorizationOrBuilder getEndpointAuthorizationOrBuilder()Required. Authorization mechanism for a subscriber endpoint. This is required to ensure the endpoint can be verified.
.google.devicesandservices.health.v4.EndpointAuthorization endpoint_authorization = 7 [(.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 CreateSubscriber and UpdateSubscriber calls. See RPC documentation for verification details.
string endpoint_uri = 2 [(.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 CreateSubscriber and UpdateSubscriber calls. See RPC documentation for verification details.
string endpoint_uri = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for endpointUri. |
getName()
public abstract String getName()Identifier. The resource name of the Subscriber. Format: projects/{project}/subscribers/{subscriber} The {project} ID is a Google Cloud Project ID or Project Number. The {subscriber} ID is user-settable (4-36 characters, matching /a-z/) if provided during creation, or system-generated otherwise (e.g., a UUID). Example (User-settable subscriber ID): projects/my-project/subscribers/my-sub-123 Example (System-generated subscriber ID): projects/my-project/subscribers/a1b2c3d4-e5f6-7890-1234-567890abcdef
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. The resource name of the Subscriber. Format: projects/{project}/subscribers/{subscriber} The {project} ID is a Google Cloud Project ID or Project Number. The {subscriber} ID is user-settable (4-36 characters, matching /a-z/) if provided during creation, or system-generated otherwise (e.g., a UUID). Example (User-settable subscriber ID): projects/my-project/subscribers/my-sub-123 Example (System-generated subscriber ID): projects/my-project/subscribers/a1b2c3d4-e5f6-7890-1234-567890abcdef
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public abstract Subscriber.State getState()Output only. The state of the subscriber.
.google.devicesandservices.health.v4.Subscriber.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Subscriber.State |
The state. |
getStateValue()
public abstract int getStateValue()Output only. The state of the subscriber.
.google.devicesandservices.health.v4.Subscriber.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getSubscriberConfigs(int index)
public abstract SubscriberConfig getSubscriberConfigs(int index)Optional. Configuration for the subscriber.
repeated .google.devicesandservices.health.v4.SubscriberConfig subscriber_configs = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.devicesandservices.health.v4.SubscriberConfigOrBuilder> |
|
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. The time at which the subscriber was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time at which the subscriber was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The time at which the subscriber was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasEndpointAuthorization()
public abstract boolean hasEndpointAuthorization()Required. Authorization mechanism for a subscriber endpoint. This is required to ensure the endpoint can be verified.
.google.devicesandservices.health.v4.EndpointAuthorization endpoint_authorization = 7 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endpointAuthorization field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The time at which the subscriber was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |