/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatus(io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatus(io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatus(io.grpc.health.v1.HealthProto.HealthCheckResponse.ServingStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /**
public Builder mergeFrom(io.grpc.health.v1.HealthProto.HealthCheckResponse other) { if (other == io.grpc.health.v1.HealthProto.HealthCheckResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /**
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override
public Builder mergeFrom(io.grpc.health.v1.HealthProto.HealthCheckResponse other) { if (other == io.grpc.health.v1.HealthProto.HealthCheckResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } @java.lang.Override
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /**
/** * <code>.grpc.health.v1.HealthCheckResponse.ServingStatus status = 1;</code> */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /**
public Builder mergeFrom(io.grpc.health.v1.HealthProto.HealthCheckResponse other) { if (other == io.grpc.health.v1.HealthProto.HealthCheckResponse.getDefaultInstance()) return this; if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }