Class WebhookNotificationCloudLog.Builder (0.2.0)

public static final class WebhookNotificationCloudLog.Builder extends GeneratedMessage.Builder<WebhookNotificationCloudLog.Builder> implements WebhookNotificationCloudLogOrBuilder

Log message for a webhook notification sent by the Google Health API to a subscriber's endpoint. Includes the HTTP response received from the endpoint.

Protobuf type google.devicesandservices.health.v4.WebhookNotificationCloudLog

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public WebhookNotificationCloudLog build()
Returns
Type Description
WebhookNotificationCloudLog

buildPartial()

public WebhookNotificationCloudLog buildPartial()
Returns
Type Description
WebhookNotificationCloudLog

clear()

public WebhookNotificationCloudLog.Builder clear()
Returns
Type Description
WebhookNotificationCloudLog.Builder
Overrides

clearHttpResponse()

public WebhookNotificationCloudLog.Builder clearHttpResponse()

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WebhookNotificationCloudLog.Builder

getDefaultInstanceForType()

public WebhookNotificationCloudLog getDefaultInstanceForType()
Returns
Type Description
WebhookNotificationCloudLog

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHttpResponse()

public HttpResponse getHttpResponse()

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.rpc.HttpResponse

The httpResponse.

getHttpResponseBuilder()

public HttpResponse.Builder getHttpResponseBuilder()

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.rpc.HttpResponse.Builder

getHttpResponseOrBuilder()

public HttpResponseOrBuilder getHttpResponseOrBuilder()

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.rpc.HttpResponseOrBuilder

hasHttpResponse()

public boolean hasHttpResponse()

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the httpResponse field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WebhookNotificationCloudLog other)

public WebhookNotificationCloudLog.Builder mergeFrom(WebhookNotificationCloudLog other)
Parameter
Name Description
other WebhookNotificationCloudLog
Returns
Type Description
WebhookNotificationCloudLog.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WebhookNotificationCloudLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WebhookNotificationCloudLog.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WebhookNotificationCloudLog.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WebhookNotificationCloudLog.Builder
Overrides

mergeHttpResponse(HttpResponse value)

public WebhookNotificationCloudLog.Builder mergeHttpResponse(HttpResponse value)

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.rpc.HttpResponse
Returns
Type Description
WebhookNotificationCloudLog.Builder

setHttpResponse(HttpResponse value)

public WebhookNotificationCloudLog.Builder setHttpResponse(HttpResponse value)

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value com.google.rpc.HttpResponse
Returns
Type Description
WebhookNotificationCloudLog.Builder

setHttpResponse(HttpResponse.Builder builderForValue)

public WebhookNotificationCloudLog.Builder setHttpResponse(HttpResponse.Builder builderForValue)

Required. Represents the HTTP response. This message includes the status code, reason phrase, headers, and body.

.google.rpc.HttpResponse http_response = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue com.google.rpc.HttpResponse.Builder
Returns
Type Description
WebhookNotificationCloudLog.Builder