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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public WebhookNotificationCloudLog build()
buildPartial()
public WebhookNotificationCloudLog buildPartial()
clear()
public WebhookNotificationCloudLog.Builder clear()
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];
getDefaultInstanceForType()
public WebhookNotificationCloudLog getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WebhookNotificationCloudLog other)
public WebhookNotificationCloudLog.Builder mergeFrom(WebhookNotificationCloudLog other)
public WebhookNotificationCloudLog.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WebhookNotificationCloudLog.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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
|