public static final class PushNotificationConfig.Builder extends GeneratedMessage.Builder<PushNotificationConfig.Builder> implements PushNotificationConfigOrBuilderConfiguration for setting up push notifications for task updates.
Protobuf type google.cloud.geminidataanalytics.v1beta.PushNotificationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PushNotificationConfig.BuilderImplements
PushNotificationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PushNotificationConfig build()| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig |
|
buildPartial()
public PushNotificationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig |
|
clear()
public PushNotificationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
clearAuthentication()
public PushNotificationConfig.Builder clearAuthentication()Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
clearId()
public PushNotificationConfig.Builder clearId()Optional. A unique identifier (e.g. UUID) for this push notification.
string id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
clearToken()
public PushNotificationConfig.Builder clearToken()Optional. Token unique for this task/session.
string token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
clearUrl()
public PushNotificationConfig.Builder clearUrl()Optional. Url to send the notification to.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
getAuthentication()
public AuthenticationInfo getAuthentication()Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthenticationInfo |
The authentication. |
getAuthenticationBuilder()
public AuthenticationInfo.Builder getAuthenticationBuilder()Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthenticationInfo.Builder |
|
getAuthenticationOrBuilder()
public AuthenticationInfoOrBuilder getAuthenticationOrBuilder()Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthenticationInfoOrBuilder |
|
getDefaultInstanceForType()
public PushNotificationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()Optional. A unique identifier (e.g. UUID) for this push notification.
string id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()Optional. A unique identifier (e.g. UUID) for this push notification.
string id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getToken()
public String getToken()Optional. Token unique for this task/session.
string token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The token. |
getTokenBytes()
public ByteString getTokenBytes()Optional. Token unique for this task/session.
string token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for token. |
getUrl()
public String getUrl()Optional. Url to send the notification to.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The url. |
getUrlBytes()
public ByteString getUrlBytes()Optional. Url to send the notification to.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for url. |
hasAuthentication()
public boolean hasAuthentication()Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the authentication field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAuthentication(AuthenticationInfo value)
public PushNotificationConfig.Builder mergeAuthentication(AuthenticationInfo value)Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AuthenticationInfo |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
mergeFrom(PushNotificationConfig other)
public PushNotificationConfig.Builder mergeFrom(PushNotificationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
PushNotificationConfig |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PushNotificationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PushNotificationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
setAuthentication(AuthenticationInfo value)
public PushNotificationConfig.Builder setAuthentication(AuthenticationInfo value)Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AuthenticationInfo |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
setAuthentication(AuthenticationInfo.Builder builderForValue)
public PushNotificationConfig.Builder setAuthentication(AuthenticationInfo.Builder builderForValue)Optional. Information about the authentication to send with the notification.
.google.cloud.geminidataanalytics.v1beta.AuthenticationInfo authentication = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AuthenticationInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
|
setId(String value)
public PushNotificationConfig.Builder setId(String value)Optional. A unique identifier (e.g. UUID) for this push notification.
string id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public PushNotificationConfig.Builder setIdBytes(ByteString value)Optional. A unique identifier (e.g. UUID) for this push notification.
string id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
setToken(String value)
public PushNotificationConfig.Builder setToken(String value)Optional. Token unique for this task/session.
string token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe token to set. |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
setTokenBytes(ByteString value)
public PushNotificationConfig.Builder setTokenBytes(ByteString value)Optional. Token unique for this task/session.
string token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for token to set. |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
setUrl(String value)
public PushNotificationConfig.Builder setUrl(String value)Optional. Url to send the notification to.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe url to set. |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |
setUrlBytes(ByteString value)
public PushNotificationConfig.Builder setUrlBytes(ByteString value)Optional. Url to send the notification to.
string url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
PushNotificationConfig.Builder |
This builder for chaining. |