Class WebhookNotificationCloudLog.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<WebhookNotificationCloudLog.Builder>
com.google.devicesandservices.health.v4.WebhookNotificationCloudLog.Builder
All Implemented Interfaces:
WebhookNotificationCloudLogOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
WebhookNotificationCloudLog

public static final class WebhookNotificationCloudLog.Builder extends com.google.protobuf.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<WebhookNotificationCloudLog.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<WebhookNotificationCloudLog.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<WebhookNotificationCloudLog.Builder>
    • getDefaultInstanceForType

      public WebhookNotificationCloudLog getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WebhookNotificationCloudLog buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public WebhookNotificationCloudLog.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebhookNotificationCloudLog.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<WebhookNotificationCloudLog.Builder>
    • mergeFrom

      public WebhookNotificationCloudLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WebhookNotificationCloudLog.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      hasHttpResponse in interface WebhookNotificationCloudLogOrBuilder
      Returns:
      Whether the httpResponse field is set.
    • 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];
      Specified by:
      getHttpResponse in interface WebhookNotificationCloudLogOrBuilder
      Returns:
      The httpResponse.
    • setHttpResponse

      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];
    • setHttpResponse

      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];
    • mergeHttpResponse

      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];
    • 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];
    • 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];
    • 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];
      Specified by:
      getHttpResponseOrBuilder in interface WebhookNotificationCloudLogOrBuilder