All Downloads are FREE. Search and download functionalities are using the official Maven repository.

control.HeartbeatRequest Maven / Gradle / Ivy

Go to download

Java support for Cloud Foundry's Loggregator using the Dropsonde protocol.

There is a newer version: 0.5
Show newest version
// Code generated by Wire protocol buffer compiler, do not edit.
// Source file: /Users/mheath/projects/snotel/target/checkout/client/src/main/proto/control/heartbeatrequest.proto
package control;

import com.squareup.wire.Message;

/**
 * / A HeartbeatRequest command elicits a heartbeat from a component or app. When a HeartbeatRequest is received, a Heartbeat event MUST be returned with controlMessageIdentifier set to the UUID received in the request.
 */
public final class HeartbeatRequest extends Message {

  public HeartbeatRequest() {
  }

  private HeartbeatRequest(Builder builder) {
    setBuilder(builder);
  }

  @Override
  public boolean equals(Object other) {
    return other instanceof HeartbeatRequest;
  }

  @Override
  public int hashCode() {
    return 0;
  }

  public static final class Builder extends Message.Builder {

    public Builder() {
    }

    public Builder(HeartbeatRequest message) {
      super(message);
    }

    @Override
    public HeartbeatRequest build() {
      return new HeartbeatRequest(this);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy